Changeset 3448940
- Timestamp:
- 01/28/2026 06:24:47 PM (8 weeks ago)
- Location:
- accessibility-checker
- Files:
-
- 30 edited
- 1 copied
- tags/1.37.0 (copied) (copied from accessibility-checker/trunk)
- tags/1.37.0/accessibility-checker.php (modified) (2 diffs)
- tags/1.37.0/admin/class-ajax.php (modified) (1 diff)
- tags/1.37.0/admin/class-frontend-highlight.php (modified) (2 diffs)
- tags/1.37.0/admin/class-insert-rule-data.php (modified) (4 diffs)
- tags/1.37.0/admin/class-update-database.php (modified) (2 diffs)
- tags/1.37.0/build/css/frontendHighlighterApp.css (modified) (1 diff)
- tags/1.37.0/build/frontendFixes.bundle.js (modified) (1 diff)
- tags/1.37.0/build/frontendHighlighterApp.bundle.js (modified) (1 diff)
- tags/1.37.0/build/frontendHighlighterApp.bundle.js.LICENSE.txt (modified) (1 diff)
- tags/1.37.0/build/pageScanner.bundle.js (modified) (1 diff)
- tags/1.37.0/build/pageScanner.bundle.js.LICENSE.txt (modified) (1 diff)
- tags/1.37.0/changelog.txt (modified) (1 diff)
- tags/1.37.0/includes/classes/class-rest-api.php (modified) (1 diff)
- tags/1.37.0/readme.txt (modified) (3 diffs)
- tags/1.37.0/vendor/composer/installed.php (modified) (2 diffs)
- trunk/accessibility-checker.php (modified) (2 diffs)
- trunk/admin/class-ajax.php (modified) (1 diff)
- trunk/admin/class-frontend-highlight.php (modified) (2 diffs)
- trunk/admin/class-insert-rule-data.php (modified) (4 diffs)
- trunk/admin/class-update-database.php (modified) (2 diffs)
- trunk/build/css/frontendHighlighterApp.css (modified) (1 diff)
- trunk/build/frontendFixes.bundle.js (modified) (1 diff)
- trunk/build/frontendHighlighterApp.bundle.js (modified) (1 diff)
- trunk/build/frontendHighlighterApp.bundle.js.LICENSE.txt (modified) (1 diff)
- trunk/build/pageScanner.bundle.js (modified) (1 diff)
- trunk/build/pageScanner.bundle.js.LICENSE.txt (modified) (1 diff)
- trunk/changelog.txt (modified) (1 diff)
- trunk/includes/classes/class-rest-api.php (modified) (1 diff)
- trunk/readme.txt (modified) (3 diffs)
- trunk/vendor/composer/installed.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
accessibility-checker/tags/1.37.0/accessibility-checker.php
r3425603 r3448940 11 11 * Plugin URI: https://a11ychecker.com 12 12 * Description: Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance. 13 * Version: 1.3 6.013 * Version: 1.37.0 14 14 * Requires PHP: 7.4 15 15 * Author: Equalize Digital … … 37 37 // Current plugin version. 38 38 if ( ! defined( 'EDAC_VERSION' ) ) { 39 define( 'EDAC_VERSION', '1.3 6.0' );39 define( 'EDAC_VERSION', '1.37.0' ); 40 40 } 41 41 42 42 // Current database version. 43 43 if ( ! defined( 'EDAC_DB_VERSION' ) ) { 44 define( 'EDAC_DB_VERSION', '1.0. 4' );44 define( 'EDAC_DB_VERSION', '1.0.5' ); 45 45 } 46 46 -
accessibility-checker/tags/1.37.0/admin/class-ajax.php
r3412475 r3448940 541 541 $html .= ( true === $ignore_permission || ! empty( $ignore_comment ) ) ? '<textarea rows="4" class="edac-details-rule-records-record-ignore-comment" id="edac-details-rule-records-record-ignore-comment-' . $id . '" ' . $ignore_comment_disabled . '>' . $ignore_comment . '</textarea>' : ''; 542 542 543 if ( $ignore_global ) {544 $html .= ( true === $ignore_permission ) ? '<a href="' . admin_url( 'admin.php?page=accessibility_checker_ignored&tab=global' ) . '" class="edac-details-rule-records-record-ignore-global"> Manage Globally Ignored</a>' : '';543 if ( $ignore_global && edac_is_pro() ) { 544 $html .= ( true === $ignore_permission ) ? '<a href="' . admin_url( 'admin.php?page=accessibility_checker_ignored&tab=global' ) . '" class="edac-details-rule-records-record-ignore-global">' . __( 'Manage Globally Ignored', 'accessibility-checker' ) . '</a>' : ''; 545 545 } else { 546 $html .= ( true === $ignore_permission ) ? '<button class="edac-details-rule-records-record-ignore-submit" data-id= ' . $id . ' data-action=' . $ignore_action . ' data-type=' . $ignore_type . '>' . EDAC_SVG_IGNORE_ICON . ' <span class="edac-details-rule-records-record-ignore-submit-label">' . $ignore_submit_label . '<span></button>' : '';546 $html .= ( true === $ignore_permission ) ? '<button class="edac-details-rule-records-record-ignore-submit" data-id="' . $id . '" data-action="' . $ignore_action . '" data-type="' . $ignore_type . '">' . EDAC_SVG_IGNORE_ICON . ' <span class="edac-details-rule-records-record-ignore-submit-label">' . $ignore_submit_label . '</span></button>' : ''; 547 547 } 548 548 -
accessibility-checker/tags/1.37.0/admin/class-frontend-highlight.php
r3356312 r3448940 62 62 $post_id = (int) $post_id; 63 63 $siteid = get_current_blog_id(); 64 $results = $wpdb->get_results( $wpdb->prepare( 'SELECT id, rule, ignre, object, ruletype FROM %i where postid = %d and siteid = %d', $table_name, $post_id, $siteid ), ARRAY_A ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Safe variable used for table name.64 $results = $wpdb->get_results( $wpdb->prepare( 'SELECT id, rule, ignre, object, ruletype, selector, ancestry, xpath FROM %i where postid = %d and siteid = %d', $table_name, $post_id, $siteid ), ARRAY_A ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Safe variable used for table name. 65 65 if ( ! $results ) { 66 66 return null; … … 137 137 $array['id'] = $result['id']; 138 138 $array['ignored'] = $result['ignre']; 139 $array['selector'] = $result['selector'] ?? ''; 140 $array['ancestry'] = $result['ancestry'] ?? ''; 141 $array['xpath'] = $result['xpath'] ?? ''; 139 142 140 143 $issues[] = $array; -
accessibility-checker/tags/1.37.0/admin/class-insert-rule-data.php
r3325683 r3448940 12 12 /** 13 13 * Class for inserting rule data into the database 14 * 15 * The unique identifier for issues changed in version 1.0.5 of the database schema. 16 * Previously, issues were identified by: postid + rule + object + type + siteid 17 * Now, issues are identified by: postid + rule + selector + type + siteid 18 * 19 * This change allows duplicate code objects (e.g., two empty paragraphs) to be 20 * stored as separate issues when they appear in different locations on the page. 21 * The selector field provides the unique location identifier for each issue. 14 22 * 15 23 * @since 1.10.0 … … 74 82 75 83 // Check if exists. 84 // Use selector as the unique identifier instead of object to allow duplicate code objects 85 // with different selectors (e.g., two empty paragraphs in different locations). 76 86 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Using direct query for adding data to database, caching not required for one time operation. 77 87 $results = $wpdb->get_results( 78 88 $wpdb->prepare( 79 'SELECT postid, ignre FROM %i where type = %s and postid = %d and rule = %s and object= %s and siteid = %d',89 'SELECT postid, ignre FROM %i where type = %s and postid = %d and rule = %s and selector = %s and siteid = %d', 80 90 $table_name, 81 91 $rule_data['type'], 82 92 $rule_data['postid'], 83 93 $rule_data['rule'], 84 $rule_data[' object'],94 $rule_data['selector'], 85 95 $rule_data['siteid'] 86 96 ), … … 98 108 99 109 // update existing record. 110 // Use selector for WHERE clause instead of object to match on unique identifier. 100 111 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Using direct query for adding data to database, caching not required for one time operation. 101 112 $wpdb->query( 102 113 $wpdb->prepare( 103 'UPDATE %i SET recordcheck = %d, landmark = %s, landmark_selector = %s, selector = %s, ancestry = %s, xpath = %s, ignre = %d WHERE siteid = %d and postid = %d and rule = %s and object= %s and type = %s',114 'UPDATE %i SET recordcheck = %d, landmark = %s, landmark_selector = %s, object = %s, ancestry = %s, xpath = %s, ignre = %d WHERE siteid = %d and postid = %d and rule = %s and selector = %s and type = %s', 104 115 $table_name, 105 116 1, 106 117 $rule_data['landmark'], 107 118 $rule_data['landmark_selector'], 108 $rule_data[' selector'],119 $rule_data['object'], 109 120 $rule_data['ancestry'], 110 121 $rule_data['xpath'], … … 113 124 $rule_data['postid'], 114 125 $rule_data['rule'], 115 $rule_data[' object'],126 $rule_data['selector'], 116 127 $rule_data['type'] 117 128 ) -
accessibility-checker/tags/1.37.0/admin/class-update-database.php
r3325920 r3448940 75 75 dbDelta( $sql ); 76 76 77 // Run migration for selector-based unique identifiers if upgrading from older versions. 78 if ( version_compare( $db_version, '1.0.5', '<' ) ) { 79 $this->migrate_to_selector_based_unique_id(); 80 } 77 81 } 78 82 … … 80 84 update_option( 'edac_db_version', sanitize_text_field( EDAC_DB_VERSION ) ); 81 85 } 86 87 /** 88 * Migrate existing records to use selector-based unique identifiers. 89 * 90 * This migration handles records that were created before the selector field 91 * was used as the unique identifier. Records with NULL selectors will have 92 * a fallback identifier generated based on their ID to ensure uniqueness. 93 * 94 * @since 1.0.5 95 * @return void 96 */ 97 private function migrate_to_selector_based_unique_id() { 98 global $wpdb; 99 $table_name = $wpdb->prefix . 'accessibility_checker'; 100 101 // Find records with NULL or empty selectors and update them with a fallback value. 102 // Using the record ID ensures each record has a unique selector for backward compatibility. 103 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- One-time migration query. 104 $wpdb->query( 105 $wpdb->prepare( 106 "UPDATE %i SET selector = CONCAT('legacy-id-', id) WHERE selector IS NULL OR selector = ''", 107 $table_name 108 ) 109 ); 110 } 82 111 } -
accessibility-checker/tags/1.37.0/build/css/frontendHighlighterApp.css
r3364125 r3448940 1 @-webkit-keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@-webkit-keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@-webkit-keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}@keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}.notyf{align-items:flex-end;box-sizing:border-box;color:#fff;display:flex;flex-direction:column;height:100%;justify-content:flex-end;left:0;padding:20px;pointer-events:none;position:fixed;top:0;width:100%;z-index:9999}.notyf__icon--error,.notyf__icon--success{background:#fff;border-radius:50%;display:block;height:21px;margin:0 auto;position:relative;width:21px}.notyf__icon--error:after,.notyf__icon--error:before{background:currentColor;border-radius:3px;content:"";display:block;height:12px;left:9px;position:absolute;top:5px;width:3px}.notyf__icon--error:after{transform:rotate(-45deg)}.notyf__icon--error:before{transform:rotate(45deg)}.notyf__icon--success:after,.notyf__icon--success:before{background:currentColor;border-radius:3px;content:"";display:block;position:absolute;width:3px}.notyf__icon--success:after{height:6px;left:6px;top:9px;transform:rotate(-45deg)}.notyf__icon--success:before{height:11px;left:10px;top:5px;transform:rotate(45deg)}.notyf__toast{-webkit-animation:notyf-fadeinup .3s ease-in forwards;animation:notyf-fadeinup .3s ease-in forwards;border-radius:2px;box-shadow:0 3px 7px 0 rgba(0,0,0,.25);box-sizing:border-box;display:block;flex-shrink:0;max-width:300px;overflow:hidden;padding:0 15px;pointer-events:auto;position:relative;transform:translateY(25%)}.notyf__toast--disappear{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;transform:translateY(0)}.notyf__toast--disappear .notyf__icon,.notyf__toast--disappear .notyf__message{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;opacity:1;transform:translateY(0)}.notyf__toast--disappear .notyf__dismiss{-webkit-animation:notyf-fadeoutright .3s forwards;animation:notyf-fadeoutright .3s forwards;opacity:1;transform:translateX(0)}.notyf__toast--disappear .notyf__message{-webkit-animation-delay:.05s;animation-delay:.05s}.notyf__toast--upper{margin-bottom:20px}.notyf__toast--lower{margin-top:20px}.notyf__toast--dismissible .notyf__wrapper{padding-right:30px}.notyf__ripple{-webkit-animation:ripple .4s ease-out forwards;animation:ripple .4s ease-out forwards;border-radius:50%;height:400px;position:absolute;right:0;top:0;transform:scale(0) translateY(-51%) translateX(13%);transform-origin:bottom right;width:400px;z-index:5}.notyf__wrapper{align-items:center;border-radius:3px;display:flex;padding-bottom:17px;padding-right:15px;padding-top:17px;position:relative;z-index:10}.notyf__icon{-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.3s;animation-delay:.3s;font-size:1.3em;margin-right:13px;opacity:0;text-align:center;width:22px}.notyf__dismiss{-webkit-animation:notyf-fadeinleft .3s forwards;animation:notyf-fadeinleft .3s forwards;-webkit-animation-delay:.35s;animation-delay:.35s;height:100%;margin-right:-15px;opacity:0;position:absolute;right:0;top:0;width:26px}.notyf__dismiss-btn{background-color:rgba(0,0,0,.25);border:none;cursor:pointer;height:100%;opacity:.35;outline:none;transition:opacity .2s ease,background-color .2s ease;width:100%}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{background:#fff;border-radius:3px;content:"";height:12px;left:calc(50% - 1px);position:absolute;top:calc(50% - 5px);width:2px}.notyf__dismiss-btn:after{transform:rotate(-45deg)}.notyf__dismiss-btn:before{transform:rotate(45deg)}.notyf__dismiss-btn:hover{background-color:rgba(0,0,0,.15);opacity:.7}.notyf__dismiss-btn:active{opacity:.8}.notyf__message{-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;line-height:1.5em;opacity:0;position:relative;vertical-align:middle}@media only screen and (max-width:480px){.notyf{padding:0}.notyf__ripple{-webkit-animation-duration:.5s;animation-duration:.5s;height:600px;width:600px}.notyf__toast{border-radius:0;box-shadow:0 -2px 7px 0 rgba(0,0,0,.13);max-width:none;width:100%}.notyf__dismiss{width:56px}}body.edac-app-disable-styles #wpadminbar{display:none!important}body.edac-app-wait *{cursor:wait!important}.edac-highlight,.edac-highlight *{all:unset;letter-spacing:normal!important}.edac-highlight{clear:both;display:inline-block}.edac-highlight-element-selected{outline:4px dashed transparent!important;outline-color:#f0f!important;outline-offset:5px!important}.edac-highlight-element-selected-min-width{display:inline-block!important;min-width:25px!important}.edac-highlight-element-selected-min-height{min-height:16px!important}.edac-highlight-btn{all:unset;border-radius:50%!important;display:block!important;font-size:0!important;height:40px!important;margin:5px!important;position:absolute!important;width:40px!important;z-index:2147483646!important}.edac-highlight-btn-error{background:transparent url(../img/highlight-icon-error.svg) 50% no-repeat!important;background-size:40px 40px!important}.edac-highlight-btn-warning{background:transparent url(../img/highlight-icon-warning.svg) 50% no-repeat!important}.edac-highlight-btn-ignored{background:transparent url(../img/highlight-icon-ignored.svg) 50% no-repeat!important}.edac-highlight-btn-selected,.edac-highlight-btn:focus,.edac-highlight-btn:hover{outline:5px solid rgba(0,208,255,.75)!important}.edac-highlight-panel{bottom:15px!important;max-width:400px!important;position:fixed!important;width:auto;z-index:2147483647!important}@media screen and (max-width:600px){.edac-highlight-panel{max-width:calc(100% - 30px)!important;width:100%}}@media screen and (max-width:375px){.edac-highlight-panel .edac-highlight-panel-controls-buttons{justify-content:space-around}.edac-highlight-panel .edac-highlight-panel-controls-buttons button{margin-right:0!important;padding:4px 7px!important}.edac-highlight-panel .edac-highlight-panel-controls-buttons{display:flex!important;justify-content:space-around}.edac-highlight-panel .edac-highlight-panel-controls-buttons button{margin-right:0!important;padding:4px 7px!important}}.edac-highlight-panel *{all:unset;letter-spacing:normal!important}.edac-highlight-panel a:not(.edac-highlight-panel-description-reference){all:revert!important;color:#fff!important}.edac-highlight-panel--right{right:15px!important}.edac-highlight-panel--left{left:15px!important}.edac-highlight-panel-visible{width:400px!important}.edac-highlight-panel-toggle{background:transparent url(../img/edac-emblem.png) 50% no-repeat!important;background-size:contain!important;border-radius:50%!important;box-shadow:0 0 5px rgba(0,0,0,.5)!important;display:block;height:50px!important;position:relative!important;width:50px!important}.edac-highlight-panel-toggle:focus,.edac-highlight-panel-toggle:hover{cursor:pointer!important;outline:5px solid rgba(0,208,255,.75)!important}@media screen and (max-width:600px){.edac-highlight-panel--right .edac-highlight-panel-toggle{float:right!important}}.edac-highlight-panel-description{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#fff!important;background-color:#072446!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.25)!important;color:#fff!important;display:block;display:none;font-family:sans-serif!important;font-size:14px!important;line-height:22px!important;margin-bottom:15px!important;max-height:calc(100vh - 230px)!important;overflow-y:scroll!important;padding:15px!important;text-align:left!important}.edac-highlight-panel-description-title{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-description-type{border-radius:4px!important;display:inline-block!important;font-size:12px!important;line-height:12px!important;margin-left:10px!important;padding:5px 7px!important;position:relative!important;text-transform:capitalize!important;top:-2px!important}.edac-highlight-panel-description-type-error{background-color:#b30f0f!important;color:#fff!important}.edac-highlight-panel-description-type-warning{background-color:#f3cd1e!important;color:#072446!important}.edac-highlight-panel-description-type-ignored{background-color:#3273aa!important;color:#fff!important}.edac-highlight-panel-description-index{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-description-status{background-color:#b30f0f!important;color:#fff!important;display:block!important;margin-bottom:10px!important;margin-top:10px!important;padding:10px 15px!important}.edac-fix-settings--button--save,.edac-fixes-modal--open .edac-fix-settings--button--save,.edac-highlight-panel-description--button,.edac-highlight-panel-description-code-button,.edac-highlight-panel-description-reference{all:unset;background-color:#f3cd1e!important;color:#072446!important;display:inline-block!important;margin-right:10px!important;margin-top:10px!important;padding:4px 10px!important}.edac-fix-settings--button--save:focus,.edac-fix-settings--button--save:hover,.edac-highlight-panel-description--button:focus,.edac-highlight-panel-description--button:hover,.edac-highlight-panel-description--button[aria-expanded=true],.edac-highlight-panel-description-code-button:focus,.edac-highlight-panel-description-code-button:hover,.edac-highlight-panel-description-code-button[aria-expanded=true],.edac-highlight-panel-description-reference:focus,.edac-highlight-panel-description-reference:hover,.edac-highlight-panel-description-reference[aria-expanded=true],[aria-expanded=true].edac-fix-settings--button--save{background-color:#fff!important;color:#072446!important;cursor:pointer!important;text-decoration:none!important}.edac-highlight-panel-description-reference{text-decoration:none!important}.edac-highlight-panel-description-code{background-color:#fff!important;color:#000!important;display:block;display:none;margin-top:10px!important;padding:10px 15px!important}.edac-highlight-panel-description-close{background-color:#f3cd1e!important;color:#072446!important;font-size:18px!important;height:25px!important;line-height:25px!important;position:absolute!important;right:1px!important;text-align:center!important;top:1px!important;width:25px!important}.edac-highlight-panel-description-close:focus,.edac-highlight-panel-description-close:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-description-summary{display:block}.edac-highlight-panel-description-how-to-fix{display:inline-block;margin-bottom:0!important}.edac-highlight-panel-description-how-to-fix-title{display:block;font-weight:700!important;margin-bottom:5px!important;margin-top:10px!important}.edac-highlight-panel-controls{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#3273aa!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.15)!important;color:#fff!important;display:block;display:none;font-family:sans-serif!important;font-size:14px!important;line-height:22px!important;padding:15px!important;position:relative!important}.edac-highlight-panel-controls-title{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-controls-close{background-color:#f3cd1e!important;color:#072446!important;font-size:18px!important;height:25px!important;line-height:25px!important;position:absolute!important;right:0!important;text-align:center!important;top:0!important;width:25px!important}.edac-highlight-panel-controls-close:focus,.edac-highlight-panel-controls-close:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-controls-summary{display:block!important}.edac-highlight-panel-controls-buttons.single_button{display:grid!important;grid-template-columns:repeat(2,1fr)!important}.edac-highlight-panel-controls-buttons button{all:unset;background-color:#072446!important;color:#fff!important;display:inline-block!important;margin-right:10px!important;margin-top:10px!important;padding:4px 10px!important;text-decoration:none!important}.edac-highlight-panel-controls-buttons button:focus,.edac-highlight-panel-controls-buttons button:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-controls-buttons button:disabled{display:none!important}.edac-highlight-panel-controls .edac-highlight-disable-styles{float:right!important;margin-right:0!important}.notyf{z-index:2147483647!important}.notyf__toast{max-width:100%!important}.notyf__message{color:#000}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{background:#000!important}.edac-accessibility-statement{margin:auto;max-width:800px;padding:15px;text-align:center}.edac-fixes-modal *{all:unset}.always-hide{display:none!important}.edac-highlight-panel .edac-fix-settings--fields input,.edac-highlight-panel .edac-fix-settings--fields select,.edac-highlight-panel .edac-fix-settings--fields textarea{all:revert}.edac-fix-modal-present #TB_ajaxContent{height:auto!important;max-height:70vh!important;overflow-y:auto;width:auto!important}.edac-fix-settings--fields{display:none!important}.edac-fix-settings--open .edac-fix-settings--fields{display:block!important}.edac-fix-settings--fields label{display:block;margin-bottom:1rem}.edac-fix-settings--fields input,.edac-fix-settings--fields select,.edac-fix-settings--fields textarea{border:1px solid #ccc;border-radius:5px;margin:.25rem 0;padding:.5rem;width:100%}.edac-fix-settings--fields input[type=checkbox]{border:1px solid #ccc;border-radius:5px;margin:0 .5rem 0 0;padding:0!important;width:auto}.edac-fix-settings--fields input[type=checkbox]:before{content:none}.edac-fix-settings--fields input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");height:1.3125rem;margin:-.1875rem -.25rem 0;width:1.3125rem}.edac-fix-settings--fields input[type=text]{padding:.25rem .5rem}#TB_ajaxContent .edac-fix-settings--fields{display:block!important}#TB_ajaxContent .edac-fix-settings--action-row{display:flex!important}#TB_ajaxContent .edac-fix-settings .modal-opening-message{margin-bottom:0;padding:0}.edac-highlight-panel .edac-fix-settings--fields{background:#222;padding:10px}.edac-fix-settings--action-row{align-items:center;display:flex;gap:.5rem;margin-top:1rem}.edac-fix-settings--button--save{background:blue;color:#fff;padding:5px 8px}.edac-fix-settings--button--save:focus,.edac-fix-settings--button--save:hover{background:#072446!important;color:#fff!important}.edac-fix-settings--button--save :focus{outline:2px solid #000!important;outline-offset:2px!important}.edac-fix-settings--notice-slot{margin:.25rem}.edac-fixes-modal{background:#fff;border-radius:5px;box-shadow:0 0 10px 0 rgba(0,0,0,.1);left:50%;max-height:90vh;overflow:auto;padding:20px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:10000000001}.edac-fixes-modal .dashicons,.edac-fixes-modal .dashicons-before:before{speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;height:20px;line-height:1;text-align:center;text-decoration:inherit;text-rendering:auto;text-transform:none;transition:color .1s ease-in;vertical-align:top;width:20px}.edac-fixes-modal__overlay{background-color:rgba(0,0,0,.69);display:none;height:100vh;left:0;position:fixed;top:0;width:100%;z-index:10000000000}.edac-fixes-modal__header{margin-bottom:.5rem}.edac-fixes-modal__header h2{align-self:center;display:block;font-size:1.25rem;font-weight:600;margin-bottom:0}.edac-fixes-modal h3{display:block;font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.edac-fixes-modal__close{border:none;color:#072446;cursor:pointer;height:35px;position:absolute;right:5px;top:5px;width:35px}.edac-fixes-modal__close .dashicons,.edac-fixes-modal__close .dashicons:before{color:#072446!important;display:block;margin:auto;vertical-align:middle}.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{background-color:#f3cd1e;color:#072446}body.edac-fixes-modal--open{overflow:hidden}body.edac-fixes-modal--open .edac-fixes-modal,body.edac-fixes-modal--open .edac-fixes-modal__overlay{display:block}.edac-fix-description-help-link .dashicons-info{color:#737373;text-decoration:none}.edac-fix-description-help-link .dashicons-info:hover{cursor:pointer}.edac-fix-description-help-link .dashicons-info :focus{outline:revert;outline-offset:revert}.edac-fix--upsell-link,.edac-setting--upsell-link{background:#f3cd1e;border-radius:18px;color:#072446;display:inline-block;font-size:.75rem;font-weight:600;line-height:1;padding:4px 8px;text-decoration:none}.edac-fix--upsell-link:focus,.edac-fix--upsell-link:hover,.edac-setting--upsell-link:focus,.edac-setting--upsell-link:hover{color:#072446;text-decoration:underline}.edac-fix--upsell-link:focus,.edac-setting--upsell-link:focus{outline:revert!important;outline-offset:revert!important}.hide-fixes-source,body.block-editor-page .hide-in-editor{display:none}body.block-editor-page .modal-opening-message{margin:0;padding:0}.edac-fixes-modal{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#fff!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.25)!important;color:#000!important;display:none;font-family:sans-serif!important;font-size:14px!important;letter-spacing:normal!important;line-height:22px!important;margin-bottom:15px!important;max-height:calc(100vh - 230px)!important;overflow-y:auto!important;padding:40px!important;text-align:left!important;width:650px}@media screen and (max-width:768px){.edac-fixes-modal{max-width:calc(100% - 30px)!important;padding:20px!important;width:100%!important}}.edac-fixes-modal h2{font-size:1.25em;margin:0 0 .75em}.edac-fixes-modal h3{font-size:1.1em;margin-bottom:.5em}.edac-fixes-modal label{margin-bottom:.75em}.edac-fixes-modal__header{margin-bottom:.25em}.edac-fixes-modal__close,.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{text-decoration:none}.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{background:#f3cd1e}.edac-fixes-modal--open{display:block}.edac-fixes-modal--open .edac-fix-settings--fields{display:block!important}.edac-fixes-modal--open .edac-fix-settings--action-row{gap:.5em;margin-top:.75em}.edac-fixes-modal--open input[type=checkbox]:before,.edac-fixes-modal--open input[type=checkbox]:checked:before{content:none}.edac-fixes-modal .modal-opening-message{display:inline-block;margin-bottom:.5em!important}.edac-fixes-modal :focus{outline:revert;outline-offset:2px}.edac-fix-settings--fields input[type=checkbox]{all:revert}.edac-fix-settings--button--save{margin:0}.edac-fix-settings--action-open{display:inline-block;width:100%}.edac-fix-settings--notice-slot a{color:#3273aa!important;text-decoration:underline!important}.edac-fix-settings--notice-slot a:focus,.edac-fix-settings--notice-slot a:hover{cursor:pointer!important;text-decoration:none!important}1 body.edac-app-disable-styles #wpadminbar{display:none!important}body.edac-app-wait *{cursor:wait!important}.edac-highlight,.edac-highlight *{all:unset;letter-spacing:normal!important}.edac-highlight{clear:both;display:inline-block}.edac-highlight-element-selected{outline:4px dashed transparent!important;outline-color:#f0f!important;outline-offset:5px!important}.edac-highlight-element-selected-min-width{display:inline-block!important;min-width:25px!important}.edac-highlight-element-selected-min-height{min-height:16px!important}.edac-highlight-btn{all:unset;border-radius:50%!important;display:block!important;font-size:0!important;height:40px!important;margin:5px!important;position:absolute!important;width:40px!important;z-index:2147483646!important}.edac-highlight-btn-error{background:transparent url(../img/highlight-icon-error.svg) 50% no-repeat!important;background-size:40px 40px!important}.edac-highlight-btn-warning{background:transparent url(../img/highlight-icon-warning.svg) 50% no-repeat!important}.edac-highlight-btn-ignored{background:transparent url(../img/highlight-icon-ignored.svg) 50% no-repeat!important}.edac-highlight-btn-selected,.edac-highlight-btn:focus,.edac-highlight-btn:hover{outline:5px solid rgba(0,208,255,.75)!important}.edac-highlight-panel{bottom:15px!important;max-width:400px!important;position:fixed!important;width:auto;z-index:2147483647!important}@media screen and (max-width:600px){.edac-highlight-panel{max-width:calc(100% - 30px)!important;width:100%}}@media screen and (max-width:375px){.edac-highlight-panel .edac-highlight-panel-controls-buttons{justify-content:space-around}.edac-highlight-panel .edac-highlight-panel-controls-buttons button{margin-right:0!important;padding:4px 7px!important}.edac-highlight-panel .edac-highlight-panel-controls-buttons{display:flex!important;justify-content:space-around}.edac-highlight-panel .edac-highlight-panel-controls-buttons button{margin-right:0!important;padding:4px 7px!important}}.edac-highlight-panel *{all:unset;letter-spacing:normal!important}.edac-highlight-panel a:not(.edac-highlight-panel-description-reference){all:revert!important;color:#fff!important}.edac-highlight-panel--right{right:15px!important}.edac-highlight-panel--left{left:15px!important}.edac-highlight-panel-visible{width:400px!important}.edac-highlight-panel-toggle{background:transparent url(../img/edac-emblem.png) 50% no-repeat!important;background-size:contain!important;border-radius:50%!important;box-shadow:0 0 5px rgba(0,0,0,.5)!important;display:block;height:50px!important;position:relative!important;width:50px!important}.edac-highlight-panel-toggle:focus,.edac-highlight-panel-toggle:hover{cursor:pointer!important;outline:5px solid rgba(0,208,255,.75)!important}@media screen and (max-width:600px){.edac-highlight-panel--right .edac-highlight-panel-toggle{float:right!important}}.edac-highlight-panel-description{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#fff!important;background-color:#072446!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.25)!important;color:#fff!important;display:block;display:none;font-family:sans-serif!important;font-size:14px!important;line-height:22px!important;margin-bottom:15px!important;max-height:calc(100vh - 230px)!important;overflow-y:scroll!important;padding:15px!important;text-align:left!important}.edac-highlight-panel-description-title{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-description-type{border-radius:4px!important;display:inline-block!important;font-size:12px!important;line-height:12px!important;margin-left:10px!important;padding:5px 7px!important;position:relative!important;text-transform:capitalize!important;top:-2px!important}.edac-highlight-panel-description-type-error{background-color:#b30f0f!important;color:#fff!important}.edac-highlight-panel-description-type-warning{background-color:#f3cd1e!important;color:#072446!important}.edac-highlight-panel-description-type-ignored{background-color:#3273aa!important;color:#fff!important}.edac-highlight-panel-description-index{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-description-status{background-color:#b30f0f!important;color:#fff!important;display:block!important;margin-bottom:10px!important;margin-top:10px!important;padding:10px 15px!important}.edac-fix-settings--button--save,.edac-fixes-modal--open .edac-fix-settings--button--save,.edac-highlight-panel-description--button,.edac-highlight-panel-description-code-button,.edac-highlight-panel-description-reference{all:unset;background-color:#f3cd1e!important;color:#072446!important;display:inline-block!important;margin-right:10px!important;margin-top:10px!important;padding:4px 10px!important}.edac-fix-settings--button--save:focus,.edac-fix-settings--button--save:hover,.edac-highlight-panel-description--button:focus,.edac-highlight-panel-description--button:hover,.edac-highlight-panel-description--button[aria-expanded=true],.edac-highlight-panel-description-code-button:focus,.edac-highlight-panel-description-code-button:hover,.edac-highlight-panel-description-code-button[aria-expanded=true],.edac-highlight-panel-description-reference:focus,.edac-highlight-panel-description-reference:hover,.edac-highlight-panel-description-reference[aria-expanded=true],[aria-expanded=true].edac-fix-settings--button--save{background-color:#fff!important;color:#072446!important;cursor:pointer!important;text-decoration:none!important}.edac-highlight-panel-description-reference{text-decoration:none!important}.edac-highlight-panel-description-code{background-color:#fff!important;color:#000!important;display:block;display:none;margin-top:10px!important;padding:10px 15px!important}.edac-highlight-panel-description-close{background-color:#f3cd1e!important;color:#072446!important;font-size:18px!important;height:25px!important;line-height:25px!important;position:absolute!important;right:1px!important;text-align:center!important;top:1px!important;width:25px!important}.edac-highlight-panel-description-close:focus,.edac-highlight-panel-description-close:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-description-summary{display:block}.edac-highlight-panel-description-how-to-fix{display:inline-block;margin-bottom:0!important}.edac-highlight-panel-description-how-to-fix-title{display:block;font-weight:700!important;margin-bottom:5px!important;margin-top:10px!important}.edac-highlight-panel-controls{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#3273aa!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.15)!important;color:#fff!important;display:block;display:none;font-family:sans-serif!important;font-size:14px!important;line-height:22px!important;padding:15px!important;position:relative!important}.edac-highlight-panel-controls-title{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-controls-close{background-color:#f3cd1e!important;color:#072446!important;font-size:18px!important;height:25px!important;line-height:25px!important;position:absolute!important;right:0!important;text-align:center!important;top:0!important;width:25px!important}.edac-highlight-panel-controls-close:focus,.edac-highlight-panel-controls-close:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-controls-summary{display:block!important}.edac-highlight-panel-controls-buttons.single_button{display:grid!important;grid-template-columns:repeat(2,1fr)!important}.edac-highlight-panel-controls-buttons button{all:unset;background-color:#072446!important;color:#fff!important;display:inline-block!important;margin-right:10px!important;margin-top:10px!important;padding:4px 10px!important;text-decoration:none!important}.edac-highlight-panel-controls-buttons button:focus,.edac-highlight-panel-controls-buttons button:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-controls-buttons button:disabled{display:none!important}.edac-highlight-panel-controls .edac-highlight-disable-styles{float:right!important;margin-right:0!important}.notyf{z-index:2147483647!important}.notyf__toast{max-width:100%!important}.notyf__message{color:#000}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{background:#000!important}.edac-accessibility-statement{margin:auto;max-width:800px;padding:15px;text-align:center}.edac-fixes-modal *{all:unset}.always-hide{display:none!important}.edac-highlight-panel .edac-fix-settings--fields input,.edac-highlight-panel .edac-fix-settings--fields select,.edac-highlight-panel .edac-fix-settings--fields textarea{all:revert}.edac-fix-modal-present #TB_ajaxContent{height:auto!important;max-height:70vh!important;overflow-y:auto;width:auto!important}.edac-fix-settings--fields{display:none!important}.edac-fix-settings--open .edac-fix-settings--fields{display:block!important}.edac-fix-settings--fields label{display:block;margin-bottom:1rem}.edac-fix-settings--fields input,.edac-fix-settings--fields select,.edac-fix-settings--fields textarea{border:1px solid #ccc;border-radius:5px;margin:.25rem 0;padding:.5rem;width:100%}.edac-fix-settings--fields input[type=checkbox]{border:1px solid #ccc;border-radius:5px;margin:0 .5rem 0 0;padding:0!important;width:auto}.edac-fix-settings--fields input[type=checkbox]:before{content:none}.edac-fix-settings--fields input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");height:1.3125rem;margin:-.1875rem -.25rem 0;width:1.3125rem}.edac-fix-settings--fields input[type=text]{padding:.25rem .5rem}#TB_ajaxContent .edac-fix-settings--fields{display:block!important}#TB_ajaxContent .edac-fix-settings--action-row{display:flex!important}#TB_ajaxContent .edac-fix-settings .modal-opening-message{margin-bottom:0;padding:0}.edac-highlight-panel .edac-fix-settings--fields{background:#222;padding:10px}.edac-fix-settings--action-row{align-items:center;display:flex;gap:.5rem;margin-top:1rem}.edac-fix-settings--button--save{background:blue;color:#fff;padding:5px 8px}.edac-fix-settings--button--save:focus,.edac-fix-settings--button--save:hover{background:#072446!important;color:#fff!important}.edac-fix-settings--button--save :focus{outline:2px solid #000!important;outline-offset:2px!important}.edac-fix-settings--notice-slot{margin:.25rem}.edac-fixes-modal{background:#fff;border-radius:5px;box-shadow:0 0 10px 0 rgba(0,0,0,.1);left:50%;max-height:90vh;overflow:auto;padding:20px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:10000000001}.edac-fixes-modal .dashicons,.edac-fixes-modal .dashicons-before:before{speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;height:20px;line-height:1;text-align:center;text-decoration:inherit;text-rendering:auto;text-transform:none;transition:color .1s ease-in;vertical-align:top;width:20px}.edac-fixes-modal__overlay{background-color:rgba(0,0,0,.69);display:none;height:100vh;left:0;position:fixed;top:0;width:100%;z-index:10000000000}.edac-fixes-modal__header{margin-bottom:.5rem}.edac-fixes-modal__header h2{align-self:center;display:block;font-size:1.25rem;font-weight:600;margin-bottom:0}.edac-fixes-modal h3{display:block;font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.edac-fixes-modal__close{border:none;color:#072446;cursor:pointer;height:35px;position:absolute;right:5px;top:5px;width:35px}.edac-fixes-modal__close .dashicons,.edac-fixes-modal__close .dashicons:before{color:#072446!important;display:block;margin:auto;vertical-align:middle}.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{background-color:#f3cd1e;color:#072446}body.edac-fixes-modal--open{overflow:hidden}body.edac-fixes-modal--open .edac-fixes-modal,body.edac-fixes-modal--open .edac-fixes-modal__overlay{display:block}.edac-fix-description-help-link .dashicons-info{color:#737373;text-decoration:none}.edac-fix-description-help-link .dashicons-info:hover{cursor:pointer}.edac-fix-description-help-link .dashicons-info :focus{outline:revert;outline-offset:revert}.edac-fix--upsell-link,.edac-setting--upsell-link{background:#f3cd1e;border-radius:18px;color:#072446;display:inline-block;font-size:.75rem;font-weight:600;line-height:1;padding:4px 8px;text-decoration:none}.edac-fix--upsell-link:focus,.edac-fix--upsell-link:hover,.edac-setting--upsell-link:focus,.edac-setting--upsell-link:hover{color:#072446;text-decoration:underline}.edac-fix--upsell-link:focus,.edac-setting--upsell-link:focus{outline:revert!important;outline-offset:revert!important}.hide-fixes-source,body.block-editor-page .hide-in-editor{display:none}body.block-editor-page .modal-opening-message{margin:0;padding:0}.edac-fixes-modal{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#fff!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.25)!important;color:#000!important;display:none;font-family:sans-serif!important;font-size:14px!important;letter-spacing:normal!important;line-height:22px!important;margin-bottom:15px!important;max-height:calc(100vh - 230px)!important;overflow-y:auto!important;padding:40px!important;text-align:left!important;width:650px}@media screen and (max-width:768px){.edac-fixes-modal{max-width:calc(100% - 30px)!important;padding:20px!important;width:100%!important}}.edac-fixes-modal h2{font-size:1.25em;margin:0 0 .75em}.edac-fixes-modal h3{font-size:1.1em;margin-bottom:.5em}.edac-fixes-modal label{margin-bottom:.75em}.edac-fixes-modal__header{margin-bottom:.25em}.edac-fixes-modal__close,.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{text-decoration:none}.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{background:#f3cd1e}.edac-fixes-modal--open{display:block}.edac-fixes-modal--open .edac-fix-settings--fields{display:block!important}.edac-fixes-modal--open .edac-fix-settings--action-row{gap:.5em;margin-top:.75em}.edac-fixes-modal--open input[type=checkbox]:before,.edac-fixes-modal--open input[type=checkbox]:checked:before{content:none}.edac-fixes-modal .modal-opening-message{display:inline-block;margin-bottom:.5em!important}.edac-fixes-modal :focus{outline:revert;outline-offset:2px}.edac-fix-settings--fields input[type=checkbox]{all:revert}.edac-fix-settings--button--save{margin:0}.edac-fix-settings--action-open{display:inline-block;width:100%}.edac-fix-settings--notice-slot a{color:#3273aa!important;text-decoration:underline!important}.edac-fix-settings--notice-slot a:focus,.edac-fix-settings--notice-slot a:hover{cursor:pointer!important;text-decoration:none!important} -
accessibility-checker/tags/1.37.0/build/frontendFixes.bundle.js
r3412475 r3448940 1 (()=>{var e={4 50:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.lang_and_dir||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;const e=document.querySelector("html"),t=e.getAttribute("lang"),n=e.getAttribute("dir");t&&t===r.lang||e.setAttribute("lang",r.lang),n&&n===r.dir||e.setAttribute("dir",r.dir)}},606:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes.meta_viewport_scalable||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;const e=document.querySelector('meta[name="viewport"]');if(e){if(!e.content.match(/user\-scalable\s*=\s*(no|0)/i))return;e.remove()}const t=document.createElement("meta");t.name="viewport",t.content="width=device-width, initial-scale=1",document.head.appendChild(t)}},835:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(428);const i=(0,r.__)("opens a new window","accessibility-checker");let o,a;const l=()=>{o=document.createElement("div"),o.setAttribute("role","tooltip"),o.classList.add("anww-tooltip"),Object.assign(o.style,{position:"absolute",background:"white",color:"#1e1e1e",fontSize:"16px",border:"1px solid black",padding:"5px 10px",zIndex:9999,display:"none",pointerEvents:"auto",boxShadow:"0px 4px 6px rgba(0,0,0,0.1)",maxWidth:"200px",whiteSpace:"normal"}),document.body.appendChild(o),document.addEventListener("click",(e=>{e.target.closest(".anww-tooltip, a[target='_blank']")||f()})),document.addEventListener("keydown",(e=>{"Escape"===e.key&&f()})),o.addEventListener("mouseenter",(()=>{clearTimeout(a)})),o.addEventListener("mouseleave",(()=>{f()}))},d=()=>{document.querySelectorAll(".edac-nww-external-link-icon").forEach((e=>e.remove())),document.querySelectorAll("a:not([data-nww-processed])").forEach((e=>{const t=e.getAttribute("onclick");if("_blank"===e.getAttribute("target"))return s(e),c(e),u(e),void e.setAttribute("data-nww-processed","true");if(t&&t.includes("window.open")){const n=t.match(/window\.open\([^,]+,\s*['"]([^'"]+)['"]/),r=n?n[1]:"";"_blank"!==r&&""!==r||(s(e),c(e),u(e),e.setAttribute("data-nww-processed","true"))}}))},s=e=>{const t=e.querySelector("h1, h2, h3, h4, h5, h6");if(t)return void t.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon" aria-hidden="true"></i>');const n=e.querySelector(".elementor-button-content-wrapper");n?n.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon elementor-button-link-content" aria-hidden="true"></i>'):e.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon" aria-hidden="true"></i>')},c=e=>{let t="";if(e.hasAttribute("aria-label"))t=e.getAttribute("aria-label");else if(e.querySelector("img")){t=e.querySelector("img").getAttribute("alt")||""}else e.textContent&&(t=e.textContent.trim());t=t?`${t}, ${i}`:i,e.setAttribute("aria-label",t)},u=e=>{e.addEventListener("mouseenter",(t=>{_(e,t.pageX,t.pageY)})),e.addEventListener("focusin",(()=>{const t=e.getBoundingClientRect();_(e,t.left+window.scrollX,t.top+t.height+window.scrollY)})),e.addEventListener("mouseleave",b),e.addEventListener("focusout",b)},_=(e,t,n)=>{clearTimeout(a),o.textContent=i,o.style.display="block";const r=o.offsetWidth,l=o.offsetHeight;t+r+10>window.innerWidth&&(t-=r+20),n+l+10>window.innerHeight+window.scrollY&&(n-=l+20),o.style.top=`${n+10}px`,o.style.left=`${t+10}px`},b=()=>{a=setTimeout(f,300)},f=()=>{o.style.display="none"},__WEBPACK_DEFAULT_EXPORT__=()=>{l(),d(),document.addEventListener("facetwp-loaded",d)}},821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=()=>{document.querySelectorAll('a[target="_blank"]:not(.edac-allow-new-tab)').forEach((e=>{e.closest(".edac-allow-new-tab")||(e.removeAttribute("target"),e.classList.add("edac-removed-target-blank"))}))}},885:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.remove_title_if_preferred_accessible_name||{enabled:!1},i=e=>{const t=e.getAttribute("alt");t&&""!==t?.trim()||e.setAttribute("alt",e.getAttribute("title")),l(e)},o=e=>{const t=e.innerText;t&&""!==t?.trim()||d(e)||e.setAttribute("aria-label",e.getAttribute("title")),l(e)},a=e=>{if(d(e))return void l(e);const t=e.labels?.[0]?.innerText,n=e.closest("label")?.innerText;t&&""!==t?.trim()||n&&""!==n?.trim()||e.setAttribute("aria-label",e.getAttribute("title")),l(e)},l=e=>{e.classList.add("edac-removed-title"),e.removeAttribute("title")},d=e=>{const t=e.getAttribute("aria-label"),n=e.getAttribute("aria-labelledby");return!!(t&&""!==t?.trim()||n&&""!==n?.trim())},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll("img[title], a[title], input[title], textarea[title], select[title], button[title]").forEach((e=>{if(""===e.getAttribute("title")?.trim())return;const t=e.tagName.toLowerCase();"img"===t?i(e):["a","button"].includes(t)?o(e):["input","textarea","select"].includes(t)&&a(e)}))}},695:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(428);const i=()=>{const e=(e=>{const t=document.querySelectorAll("body a:not(.ab-item)");for(const n of t)if(!n.closest(e))return n;return null})("#wpadminbar");if(e&&e.href&&-1!==e.href.indexOf("#")){const t=e.href.split("#")[1];return!!document.getElementById(t)}return!1};const __WEBPACK_DEFAULT_EXPORT__=()=>{const e=document.getElementById("skip-link-template");if(!e)return;if(!window.edac_frontend_fixes.skip_link.targets)return;if(i())return;const t=window.edac_frontend_fixes.skip_link.targets.find((e=>document.querySelector(e)));t||console.log((0,r.__)("EDAC: Did not find a matching target ID on the page for the skip link.","accessibility-checker"));const n=e.content.cloneNode(!0);t?(n.querySelector(".edac-skip-link--content").href=t,function(e,t){const n=document.querySelector(e);n&&(-1===n.tabIndex&&n.setAttribute("tabindex","0"),t.querySelector(".edac-skip-link--content")?.addEventListener("click",(()=>{try{history.pushState({},"",e)}catch(e){console.error((0,r.__)("EDAC: Error updating history for skip link.","accessibility-checker"))}n.focus()}),{once:!0}))}(t,n)):n.querySelector(".edac-skip-link--content").remove(),document.body.prepend(n)}},845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.tabindex||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll("[tabindex]").forEach((e=>{"A"!==e.tagName||e.hasAttribute("href")&&"button"!==e.getAttribute("role")?"-1"!==e.getAttribute("tabindex")&&e.getAttribute("tabindex")>0&&(e.setAttribute("tabindex","0"),e.classList.add("edac-focusable-modified")):e.setAttribute("tabindex","0")}));document.querySelectorAll('div[role="button"]:not([tabindex]), a[role="button"]:not([tabindex]):not([href])').forEach((e=>{e.hasAttribute("tabindex")&&"-1"===e.getAttribute("tabindex")||(e.setAttribute("tabindex","0"),e.classList.add("edac-focusable"))}))}},818:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.underline||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll(r.target).forEach((function(e){if(e.closest("nav")||e.closest('[role="navigation"]'))return;e.style.textDecoration="underline",e.setAttribute("data-original-outline",e.style.outlineWidth),e.setAttribute("data-original-offset",e.style.outlineOffset),e.setAttribute("data-original-color",e.style.outlineColor);const t=e.style.color;e.addEventListener("mouseenter",(function(){e.style.textDecoration="none"})),e.addEventListener("mouseleave",(function(){e.style.textDecoration="underline"})),e.addEventListener("focusin",(function(){let n="2px";"2px"===e.style.outlineWidth&&(n="4px"),e.style.outlineWidth=n,e.style.outlineColor=t,e.style.outlineOffset="2px"})),e.addEventListener("focusout",(function(){e.style.outlineWidth=e.getAttribute("data-original-outline"),e.style.outlineColor=e.getAttribute("data-original-color"),e.style.outlineOffset=e.getAttribute("data-original-offset")}))}))}},428:e=>{"use strict";e.exports=wp.i18n}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};const n=window.edac_frontend_fixes||{};n?.skip_link?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,695)).then((e=>{e.default()})),n?.lang_and_dir?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,450)).then((e=>{e.default()})),n?.tabindex?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,845)).then((e=>{e.default()})),n?.meta_viewport_scalable?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,606)).then((e=>{e.default()})),n?.remove_title_if_preferred_accessible_name?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,885)).then((e=>{e.default()})),n?.underline?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,818)).then((e=>{e.default()})),n?.meta_viewport_scalable?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,606)).then((e=>{e.default()})),n?.prevent_links_opening_new_windows?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,821)).then((e=>{e.default()})),n?.new_window_warning?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,835)).then((e=>{e.default()}))})();1 (()=>{var e={428(e){"use strict";e.exports=wp.i18n},450(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.lang_and_dir||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;const e=document.querySelector("html"),t=e.getAttribute("lang"),n=e.getAttribute("dir");t&&t===r.lang||e.setAttribute("lang",r.lang),n&&n===r.dir||e.setAttribute("dir",r.dir)}},606(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes.meta_viewport_scalable||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;const e=document.querySelector('meta[name="viewport"]');if(e){if(!e.content.match(/user\-scalable\s*=\s*(no|0)/i))return;e.remove()}const t=document.createElement("meta");t.name="viewport",t.content="width=device-width, initial-scale=1",document.head.appendChild(t)}},695(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(428);const i=()=>{const e=(e=>{const t=document.querySelectorAll("body a:not(.ab-item)");for(const n of t)if(!n.closest(e))return n;return null})("#wpadminbar");if(e&&e.href&&-1!==e.href.indexOf("#")){const t=e.href.split("#")[1];return!!document.getElementById(t)}return!1};const __WEBPACK_DEFAULT_EXPORT__=()=>{const e=document.getElementById("skip-link-template");if(!e)return;if(!window.edac_frontend_fixes.skip_link.targets)return;if(i())return;const t=window.edac_frontend_fixes.skip_link.targets.find((e=>document.querySelector(e)));t||console.log((0,r.__)("EDAC: Did not find a matching target ID on the page for the skip link.","accessibility-checker"));const n=e.content.cloneNode(!0);t?(n.querySelector(".edac-skip-link--content").href=t,function(e,t){const n=document.querySelector(e);n&&(-1===n.tabIndex&&n.setAttribute("tabindex","0"),t.querySelector(".edac-skip-link--content")?.addEventListener("click",(()=>{try{history.pushState({},"",e)}catch(e){console.error((0,r.__)("EDAC: Error updating history for skip link.","accessibility-checker"))}n.focus()}),{once:!0}))}(t,n)):n.querySelector(".edac-skip-link--content").remove(),document.body.prepend(n)}},818(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.underline||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll(r.target).forEach((function(e){if(e.closest("nav")||e.closest('[role="navigation"]'))return;e.style.textDecoration="underline",e.setAttribute("data-original-outline",e.style.outlineWidth),e.setAttribute("data-original-offset",e.style.outlineOffset),e.setAttribute("data-original-color",e.style.outlineColor);const t=e.style.color;e.addEventListener("mouseenter",(function(){e.style.textDecoration="none"})),e.addEventListener("mouseleave",(function(){e.style.textDecoration="underline"})),e.addEventListener("focusin",(function(){let n="2px";"2px"===e.style.outlineWidth&&(n="4px"),e.style.outlineWidth=n,e.style.outlineColor=t,e.style.outlineOffset="2px"})),e.addEventListener("focusout",(function(){e.style.outlineWidth=e.getAttribute("data-original-outline"),e.style.outlineColor=e.getAttribute("data-original-color"),e.style.outlineOffset=e.getAttribute("data-original-offset")}))}))}},821(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=()=>{document.querySelectorAll('a[target="_blank"]:not(.edac-allow-new-tab)').forEach((e=>{e.closest(".edac-allow-new-tab")||(e.removeAttribute("target"),e.classList.add("edac-removed-target-blank"))}))}},835(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(428);const i=(0,r.__)("opens a new window","accessibility-checker");let o,a;const l=()=>{o=document.createElement("div"),o.setAttribute("role","tooltip"),o.classList.add("anww-tooltip"),Object.assign(o.style,{position:"absolute",background:"white",color:"#1e1e1e",fontSize:"16px",border:"1px solid black",padding:"5px 10px",zIndex:9999,display:"none",pointerEvents:"auto",boxShadow:"0px 4px 6px rgba(0,0,0,0.1)",maxWidth:"200px",whiteSpace:"normal"}),document.body.appendChild(o),document.addEventListener("click",(e=>{e.target.closest(".anww-tooltip, a[target='_blank']")||f()})),document.addEventListener("keydown",(e=>{"Escape"===e.key&&f()})),o.addEventListener("mouseenter",(()=>{clearTimeout(a)})),o.addEventListener("mouseleave",(()=>{f()}))},d=()=>{document.querySelectorAll(".edac-nww-external-link-icon").forEach((e=>e.remove())),document.querySelectorAll("a:not([data-nww-processed])").forEach((e=>{const t=e.getAttribute("onclick");if("_blank"===e.getAttribute("target"))return s(e),c(e),u(e),void e.setAttribute("data-nww-processed","true");if(t&&t.includes("window.open")){const n=t.match(/window\.open\([^,]+,\s*['"]([^'"]+)['"]/),r=n?n[1]:"";"_blank"!==r&&""!==r||(s(e),c(e),u(e),e.setAttribute("data-nww-processed","true"))}}))},s=e=>{const t=e.querySelector("h1, h2, h3, h4, h5, h6");if(t)return void t.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon" aria-hidden="true"></i>');const n=e.querySelector(".elementor-button-content-wrapper");n?n.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon elementor-button-link-content" aria-hidden="true"></i>'):e.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon" aria-hidden="true"></i>')},c=e=>{let t="";if(e.hasAttribute("aria-label"))t=e.getAttribute("aria-label");else if(e.querySelector("img")){t=e.querySelector("img").getAttribute("alt")||""}else e.textContent&&(t=e.textContent.trim());t=t?`${t}, ${i}`:i,e.setAttribute("aria-label",t)},u=e=>{e.addEventListener("mouseenter",(t=>{_(e,t.pageX,t.pageY)})),e.addEventListener("focusin",(()=>{const t=e.getBoundingClientRect();_(e,t.left+window.scrollX,t.top+t.height+window.scrollY)})),e.addEventListener("mouseleave",b),e.addEventListener("focusout",b)},_=(e,t,n)=>{clearTimeout(a),o.textContent=i,o.style.display="block";const r=o.offsetWidth,l=o.offsetHeight;t+r+10>window.innerWidth&&(t-=r+20),n+l+10>window.innerHeight+window.scrollY&&(n-=l+20),o.style.top=`${n+10}px`,o.style.left=`${t+10}px`},b=()=>{a=setTimeout(f,300)},f=()=>{o.style.display="none"},__WEBPACK_DEFAULT_EXPORT__=()=>{l(),d(),document.addEventListener("facetwp-loaded",d)}},845(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.tabindex||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll("[tabindex]").forEach((e=>{"A"!==e.tagName||e.hasAttribute("href")&&"button"!==e.getAttribute("role")?"-1"!==e.getAttribute("tabindex")&&e.getAttribute("tabindex")>0&&(e.setAttribute("tabindex","0"),e.classList.add("edac-focusable-modified")):e.setAttribute("tabindex","0")}));document.querySelectorAll('div[role="button"]:not([tabindex]), a[role="button"]:not([tabindex]):not([href])').forEach((e=>{e.hasAttribute("tabindex")&&"-1"===e.getAttribute("tabindex")||(e.setAttribute("tabindex","0"),e.classList.add("edac-focusable"))}))}},885(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.remove_title_if_preferred_accessible_name||{enabled:!1},i=e=>{const t=e.getAttribute("alt");t&&""!==t?.trim()||e.setAttribute("alt",e.getAttribute("title")),l(e)},o=e=>{const t=e.innerText;t&&""!==t?.trim()||d(e)||e.setAttribute("aria-label",e.getAttribute("title")),l(e)},a=e=>{if(d(e))return void l(e);const t=e.labels?.[0]?.innerText,n=e.closest("label")?.innerText;t&&""!==t?.trim()||n&&""!==n?.trim()||e.setAttribute("aria-label",e.getAttribute("title")),l(e)},l=e=>{e.classList.add("edac-removed-title"),e.removeAttribute("title")},d=e=>{const t=e.getAttribute("aria-label"),n=e.getAttribute("aria-labelledby");return!!(t&&""!==t?.trim()||n&&""!==n?.trim())},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll("img[title], a[title], input[title], textarea[title], select[title], button[title]").forEach((e=>{if(""===e.getAttribute("title")?.trim())return;const t=e.tagName.toLowerCase();"img"===t?i(e):["a","button"].includes(t)?o(e):["input","textarea","select"].includes(t)&&a(e)}))}}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const n=window.edac_frontend_fixes||{};n?.skip_link?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,695)).then((e=>{e.default()})),n?.lang_and_dir?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,450)).then((e=>{e.default()})),n?.tabindex?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,845)).then((e=>{e.default()})),n?.meta_viewport_scalable?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,606)).then((e=>{e.default()})),n?.remove_title_if_preferred_accessible_name?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,885)).then((e=>{e.default()})),n?.underline?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,818)).then((e=>{e.default()})),n?.meta_viewport_scalable?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,606)).then((e=>{e.default()})),n?.prevent_links_opening_new_windows?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,821)).then((e=>{e.default()})),n?.new_window_warning?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,835)).then((e=>{e.default()}))})(); -
accessibility-checker/tags/1.37.0/build/frontendHighlighterApp.bundle.js
r3412475 r3448940 1 1 /*! For license information please see frontendHighlighterApp.bundle.js.LICENSE.txt */ 2 (()=>{"use strict";(()=>{const e=Math.min,t=Math.max,n=Math.round,i=Math.floor, o=e=>({x:e,y:e});function s(e){return e.split("-")[0]}function r(e){return e.split("-")[1]}function a(e){return"y"===e?"height":"width"}function c(e){return["top","bottom"].includes(s(e))?"y":"x"}function l(e){return"x"===c(e)?"y":"x"}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function u(e,t,n){let{reference:i,floating:o}=e;const d=c(t),u=l(t),h=a(u),p=s(t),f="y"===d,g=i.x+i.width/2-o.width/2,m=i.y+i.height/2-o.height/2,v=i[h]/2-o[h]/2;let y;switch(p){case"top":y={x:g,y:i.y-o.height};break;case"bottom":y={x:g,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:m};break;case"left":y={x:i.x-o.width,y:m};break;default:y={x:i.x,y:i.y}}switch(r(t)){case"start":y[u]-=v*(n&&f?-1:1);break;case"end":y[u]+=v*(n&&f?-1:1)}return y}function h(e){return g(e)?(e.nodeName||"").toLowerCase():"#document"}function p(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function f(e){var t;return null==(t=(g(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function g(e){return e instanceof Node||e instanceof p(e).Node}function m(e){return e instanceof Element||e instanceof p(e).Element}function v(e){return e instanceof HTMLElement||e instanceof p(e).HTMLElement}function y(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof p(e).ShadowRoot)}function b(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(o)}function w(e){return["table","td","th"].includes(h(e))}function x(e){const t=_(),n=E(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function _(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function S(e){return["html","body","#document"].includes(h(e))}function E(e){return p(e).getComputedStyle(e)}function k(e){return m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function T(e){if("html"===h(e))return e;const t=e.assignedSlot||e.parentNode||y(e)&&e.host||f(e);return y(t)?t.host:t}function C(e){const t=T(e);return S(t)?e.ownerDocument?e.ownerDocument.body:e.body:v(t)&&b(t)?t:C(t)}function L(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=C(e),s=o===(null==(i=e.ownerDocument)?void 0:i.body),r=p(o);return s?t.concat(r,r.visualViewport||[],b(o)?o:[],r.frameElement&&n?L(r.frameElement):[]):t.concat(o,L(o,[],n))}function N(e){const t=E(e);let i=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const s=v(e),r=s?e.offsetWidth:i,a=s?e.offsetHeight:o,c=n(i)!==r||n(o)!==a;return c&&(i=r,o=a),{width:i,height:o,$:c}}function A(e){return m(e)?e:e.contextElement}function F(e){const t=A(e);if(!v(t))return o(1);const i=t.getBoundingClientRect(),{width:s,height:r,$:a}=N(t);let c=(a?n(i.width):i.width)/s,l=(a?n(i.height):i.height)/r;return c&&Number.isFinite(c)||(c=1),l&&Number.isFinite(l)||(l=1),{x:c,y:l}}const I=o(0);function O(e){const t=p(e);return _()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:I}function D(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect(),r=A(e);let a=o(1);t&&(i?m(i)&&(a=F(i)):a=F(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==p(e))&&t}(r,n,i)?O(r):o(0);let l=(s.left+c.x)/a.x,u=(s.top+c.y)/a.y,h=s.width/a.x,f=s.height/a.y;if(r){const e=p(r),t=i&&m(i)?p(i):i;let n=e.frameElement;for(;n&&i&&t!==e;){const e=F(n),t=n.getBoundingClientRect(),i=E(n),o=t.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,s=t.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,u*=e.y,h*=e.x,f*=e.y,l+=o,u+=s,n=p(n).frameElement}}return d({width:h,height:f,x:l,y:u})}function P(e){return D(f(e)).left+k(e).scrollLeft}function R(e,n,i){let s;if("viewport"===n)s=function(e,t){const n=p(e),i=f(e),o=n.visualViewport;let s=i.clientWidth,r=i.clientHeight,a=0,c=0;if(o){s=o.width,r=o.height;const e=_();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:s,height:r,x:a,y:c}}(e,i);else if("document"===n)s=function(e){const n=f(e),i=k(e),o=e.ownerDocument.body,s=t(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),r=t(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-i.scrollLeft+P(e);const c=-i.scrollTop;return"rtl"===E(o).direction&&(a+=t(n.clientWidth,o.clientWidth)-s),{width:s,height:r,x:a,y:c}}(f(e));else if(m(n))s=function(e,t){const n=D(e,!0,"fixed"===t),i=n.top+e.clientTop,s=n.left+e.clientLeft,r=v(e)?F(e):o(1);return{width:e.clientWidth*r.x,height:e.clientHeight*r.y,x:s*r.x,y:i*r.y}}(n,i);else{const t=O(e);s={...n,x:n.x-t.x,y:n.y-t.y}}return d(s)}function B(e,t){const n=T(e);return!(n===t||!m(n)||S(n))&&("fixed"===E(n).position||B(n,t))}function H(e,t,n){const i=v(t),s=f(t),r="fixed"===n,a=D(e,!0,r,t);let c={scrollLeft:0,scrollTop:0};const l=o(0);if(i||!i&&!r)if(("body"!==h(t)||b(s))&&(c=k(t)),i){const e=D(t,!0,r,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else s&&(l.x=P(s));return{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function q(e,t){return v(e)&&"fixed"!==E(e).position?t?t(e):e.offsetParent:null}function M(e,t){const n=p(e);if(!v(e))return n;let i=q(e,t);for(;i&&w(i)&&"static"===E(i).position;)i=q(i,t);return i&&("html"===h(i)||"body"===h(i)&&"static"===E(i).position&&!x(i))?n:i||function(e){let t=T(e);for(;v(t)&&!S(t);){if(x(t))return t;t=T(t)}return null}(e)||n}const j={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const s=v(n),r=f(n);if(n===r)return t;let a={scrollLeft:0,scrollTop:0},c=o(1);const l=o(0);if((s||!s&&"fixed"!==i)&&(("body"!==h(n)||b(r))&&(a=k(n)),v(n))){const e=D(n);c=F(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-a.scrollLeft*c.x+l.x,y:t.y*c.y-a.scrollTop*c.y+l.y}},getDocumentElement:f,getClippingRect:function(n){let{element:i,boundary:o,rootBoundary:s,strategy:r}=n;const a=[..."clippingAncestors"===o?function(e,t){const n=t.get(e);if(n)return n;let i=L(e,[],!1).filter((e=>m(e)&&"body"!==h(e))),o=null;const s="fixed"===E(e).position;let r=s?T(e):e;for(;m(r)&&!S(r);){const t=E(r),n=x(r);n||"fixed"!==t.position||(o=null),(s?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||b(r)&&!n&&B(e,r))?i=i.filter((e=>e!==r)):o=t,r=T(r)}return t.set(e,i),i}(i,this._c):[].concat(o),s],c=a[0],l=a.reduce(((n,o)=>{const s=R(i,o,r);return n.top=t(s.top,n.top),n.right=e(s.right,n.right),n.bottom=e(s.bottom,n.bottom),n.left=t(s.left,n.left),n}),R(i,c,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:M,getElementRects:async function(e){let{reference:t,floating:n,strategy:i}=e;const o=this.getOffsetParent||M,s=this.getDimensions;return{reference:H(t,await o(n),i),floating:{x:0,y:0,...await s(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return N(e)},getScale:F,isElement:m,isRTL:function(e){return"rtl"===E(e).direction}};function $(n,o,s,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,h=A(n),p=a||c?[...h?L(h):[],...L(o)]:[];p.forEach((e=>{a&&e.addEventListener("scroll",s,{passive:!0}),c&&e.addEventListener("resize",s)}));const g=h&&d?function(n,o){let s,r=null;const a=f(n);function c(){clearTimeout(s),r&&r.disconnect(),r=null}return function l(d,u){void 0===d&&(d=!1),void 0===u&&(u=1),c();const{left:h,top:p,width:f,height:g}=n.getBoundingClientRect();if(d||o(),!f||!g)return;const m={rootMargin:-i(p)+"px "+-i(a.clientWidth-(h+f))+"px "+-i(a.clientHeight-(p+g))+"px "+-i(h)+"px",threshold:t(0,e(1,u))||1};let v=!0;function y(e){const t=e[0].intersectionRatio;if(t!==u){if(!v)return l();t?l(!1,t):s=setTimeout((()=>{l(!1,1e-7)}),100)}v=!1}try{r=new IntersectionObserver(y,{...m,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(y,m)}r.observe(n)}(!0),c}(h,s):null;let m,v=-1,y=null;l&&(y=new ResizeObserver((e=>{let[t]=e;t&&t.target===h&&y&&(y.unobserve(o),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{y&&y.observe(o)}))),s()})),h&&!u&&y.observe(h),y.observe(o));let b=u?D(n):null;return u&&function e(){const t=D(n);!b||t.x===b.x&&t.y===b.y&&t.width===b.width&&t.height===b.height||s();b=t,m=requestAnimationFrame(e)}(),s(),()=>{p.forEach((e=>{a&&e.removeEventListener("scroll",s),c&&e.removeEventListener("resize",s)})),g&&g(),y&&y.disconnect(),y=null,u&&cancelAnimationFrame(m)}}const W=(e,t,n)=>{const i=new Map,o={platform:j,...n},s={...o.platform,_c:i};return(async(e,t,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,a=s.filter(Boolean),c=await(null==r.isRTL?void 0:r.isRTL(t));let l=await r.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:h}=u(l,i,c),p=i,f={},g=0;for(let n=0;n<a.length;n++){const{name:s,fn:m}=a[n],{x:v,y,data:b,reset:w}=await m({x:d,y:h,initialPlacement:i,placement:p,strategy:o,middlewareData:f,rects:l,platform:r,elements:{reference:e,floating:t}});d=null!=v?v:d,h=null!=y?y:h,f={...f,[s]:{...f[s],...b}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(l=!0===w.rects?await r.getElementRects({reference:e,floating:t,strategy:o}):w.rects),({x:d,y:h}=u(l,p,c))),n=-1)}return{x:d,y:h,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:s})};var G=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],U=G.join(","),V="undefined"==typeof Element,X=V?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,z=!V&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Y=function e(t,n){var i;void 0===n&&(n=!0);var o=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},K=function(e,t,n){if(Y(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(U));return t&&X.call(e,U)&&i.unshift(e),i=i.filter(n)},J=function e(t,n,i){for(var o=[],s=Array.from(t);s.length;){var r=s.shift();if(!Y(r,!1))if("SLOT"===r.tagName){var a=r.assignedElements(),c=e(a.length?a:r.children,!0,i);i.flatten?o.push.apply(o,c):o.push({scopeParent:r,candidates:c})}else{X.call(r,U)&&i.filter(r)&&(n||!t.includes(r))&&o.push(r);var l=r.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(r),d=!Y(l,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(r));if(l&&d){var u=e(!0===l?r.children:l.children,!0,i);i.flatten?o.push.apply(o,u):o.push({scopeParent:r,candidates:u})}else s.unshift.apply(s,r.children)}}return o},Q=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Z=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Q(e)?0:e.tabIndex},ee=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},te=function(e){return"INPUT"===e.tagName},ne=function(e){return function(e){return te(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||z(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},ie=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},oe=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=X.call(e,"details>summary:first-of-type")?e.parentElement:e;if(X.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return ie(e)}else{if("function"==typeof i){for(var s=e;e;){var r=e.parentElement,a=z(e);if(r&&!r.shadowRoot&&!0===i(r))return ie(e);e=e.assignedSlot?e.assignedSlot:r||a===e.ownerDocument?r:a.host}e=s}if(function(e){var t,n,i,o,s=e&&z(e),r=null===(t=s)||void 0===t?void 0:t.host,a=!1;if(s&&s!==e)for(a=!!(null!==(n=r)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(r)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!a&&r;){var c,l,d;a=!(null===(l=r=null===(c=s=z(r))||void 0===c?void 0:c.host)||void 0===l||null===(d=l.ownerDocument)||void 0===d||!d.contains(r))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},se=function(e,t){return!(t.disabled||Y(t)||function(e){return te(e)&&"hidden"===e.type}(t)||oe(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!X.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},re=function(e,t){return!(ne(t)||Z(t)<0||!se(e,t))},ae=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ce=function e(t){var n=[],i=[];return t.forEach((function(t,o){var s=!!t.scopeParent,r=s?t.scopeParent:t,a=function(e,t){var n=Z(e);return n<0&&t&&!Q(e)?0:n}(r,s),c=s?e(t.candidates):r;0===a?s?n.push.apply(n,c):n.push(r):i.push({documentOrder:o,tabIndex:a,item:t,isScope:s,content:c})})),i.sort(ee).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==X.call(e,U)&&re(t,e)},de=G.concat("iframe").join(","),ue=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==X.call(e,de)&&se(t,e)};function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ge=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},me=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},ve=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},ye=function(e){return ve(e)&&!e.shiftKey},be=function(e){return ve(e)&&e.shiftKey},we=function(e){return setTimeout(e,0)},xe=function(e,t){var n=-1;return e.every((function(e,i){return!t(e)||(n=i,!1)})),n},_e=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},Se=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Ee=[],ke=function(e,t){var n,i=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||Ee,s=pe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ye,isKeyBackward:be},t),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:s[n||t]},c=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return r.containerGroups.findIndex((function(t){var i=t.container,o=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||o.find((function(t){return t===e}))}))},l=function(e){var t=s[e];if("function"==typeof t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];t=t.apply(void 0,o)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},d=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e||!ue(e,s.tabbableOptions))if(c(i.activeElement)>=0)e=i.activeElement;else{var t=r.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(r.containerGroups=r.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?J([e],t.includeContainer,{filter:re.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ae}):K(e,t.includeContainer,re.bind(null,t)),ce(n)}(e,s.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?J([e],t.includeContainer,{filter:se.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):K(e,t.includeContainer,se.bind(null,t))}(e,s.tabbableOptions),i=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,r=n.find((function(e){return le(e)})),a=n.slice().reverse().find((function(e){return le(e)})),c=!!t.find((function(e){return Z(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:c,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:r,lastDomTabbableNode:a,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?i?n.slice(n.indexOf(e)+1).find((function(e){return le(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return le(e)})):t[o+(i?1:-1)]}}})),r.tabbableGroups=r.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),r.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find((function(e){return e.posTabIndexesFound}))&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==h(document)&&(t&&t.focus?(t.focus({preventScroll:!!s.preventScroll}),r.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(d()))},f=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},g=function(e){var t=e.target,n=e.event,i=e.isBackward,o=void 0!==i&&i;t=t||Se(n),u();var a=null;if(r.tabbableGroups.length>0){var d=c(t,n),h=d>=0?r.containerGroups[d]:void 0;if(d<0)a=o?r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:r.tabbableGroups[0].firstTabbableNode;else if(o){var p=xe(r.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(h.container===t||ue(t,s.tabbableOptions)&&!le(t,s.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=d),p>=0){var f=0===p?r.tabbableGroups.length-1:p-1,g=r.tabbableGroups[f];a=Z(t)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else ve(n)||(a=h.nextTabbableNode(t,!1))}else{var m=xe(r.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(m<0&&(h.container===t||ue(t,s.tabbableOptions)&&!le(t,s.tabbableOptions)&&!h.nextTabbableNode(t))&&(m=d),m>=0){var v=m===r.tabbableGroups.length-1?0:m+1,y=r.tabbableGroups[v];a=Z(t)>=0?y.firstTabbableNode:y.firstDomTabbableNode}else ve(n)||(a=h.nextTabbableNode(t))}}else a=l("fallbackFocus");return a},m=function(e){var t=Se(e);c(t,e)>=0||(_e(s.clickOutsideDeactivates,e)?n.deactivate({returnFocus:s.returnFocusOnDeactivate}):_e(s.allowOutsideClick,e)||e.preventDefault())},v=function(e){var t=Se(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(r.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var o=!0;if(r.mostRecentlyFocusedNode)if(Z(r.mostRecentlyFocusedNode)>0){var a=c(r.mostRecentlyFocusedNode),l=r.containerGroups[a].tabbableNodes;if(l.length>0){var u=l.findIndex((function(e){return e===r.mostRecentlyFocusedNode}));u>=0&&(s.isKeyForward(r.recentNavEvent)?u+1<l.length&&(i=l[u+1],o=!1):u-1>=0&&(i=l[u-1],o=!1))}}else r.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return Z(e)>0}))}))||(o=!1);else o=!1;o&&(i=g({target:r.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(r.recentNavEvent)})),p(i||(r.mostRecentlyFocusedNode||d()))}r.recentNavEvent=void 0},y=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===_e(s.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.recentNavEvent=e;var n=g({event:e,isBackward:t});n&&(ve(e)&&e.preventDefault(),p(n))}(e,s.isKeyBackward(e))},b=function(e){var t=Se(e);c(t,e)>=0||_e(s.clickOutsideDeactivates,e)||_e(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(r.active)return ge(o,n),r.delayInitialFocusTimer=s.delayInitialFocus?we((function(){p(d())})):p(d()),i.addEventListener("focusin",v,!0),i.addEventListener("mousedown",m,{capture:!0,passive:!1}),i.addEventListener("touchstart",m,{capture:!0,passive:!1}),i.addEventListener("click",b,{capture:!0,passive:!1}),i.addEventListener("keydown",y,{capture:!0,passive:!1}),n},x=function(){if(r.active)return i.removeEventListener("focusin",v,!0),i.removeEventListener("mousedown",m,!0),i.removeEventListener("touchstart",m,!0),i.removeEventListener("click",b,!0),i.removeEventListener("keydown",y,!0),n},_="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===r.mostRecentlyFocusedNode}))}))&&p(d())})):void 0,S=function(){_&&(_.disconnect(),r.active&&!r.paused&&r.containers.map((function(e){_.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return r.active},get paused(){return r.paused},activate:function(e){if(r.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||u(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var s=function(){o&&u(),w(),S(),null==n||n()};return o?(o(r.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!r.active)return this;var t=pe({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,x(),r.active=!1,r.paused=!1,S(),me(o,n);var i=a(t,"onDeactivate"),c=a(t,"onPostDeactivate"),l=a(t,"checkCanReturnFocus"),d=a(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var u=function(){we((function(){d&&p(f(r.nodeFocusedBeforeActivation)),null==c||c()}))};return d&&l?(l(f(r.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(r.paused||!r.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return r.paused=!0,null==t||t(),x(),S(),null==n||n(),this},unpause:function(e){if(!r.paused||!r.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return r.paused=!1,null==t||t(),u(),w(),S(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return r.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),r.active&&u(),S(),this}}).updateContainerElements(e),n};const Te=wp.i18n,Ce=e=>{const t={};e.querySelectorAll("input, select, textarea").forEach((e=>{e.addEventListener("change",(()=>{document.dispatchEvent(new CustomEvent("edac-fix-settings-change"))}));const n=e.getAttribute("data-fix-slug");if(n)if(void 0===t[n]&&(t[n]={}),"checkbox"===e.type)t[n][e.name]=e.checked;else t[n][e.name]=e.value}));const n=e.querySelectorAll("button");n.forEach((e=>{e.disabled=!0})),e.classList.add("edac-fix-settings--saving");const i=e.querySelector("[aria-live]");i&&(i.innerText=(0,Te.__)("Saving...","accessibility-checker")),fetch("/wp-json/edac/v1/fixes/update/",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.edacSettings?.nonce??window.edac_script_vars?.restNonce??window.edacFrontendHighlighterApp?.restNonce},body:JSON.stringify(t)}).then((t=>{if(e.classList.remove("edac-fix-settings--saving"),n.forEach((e=>{e.disabled=!1})),t.ok){if(e.classList.remove("edac-fix-settings--saved--error"),e.classList.add("edac-fix-settings--saved--success"),i){const e=window?.edacFrontendHighlighterApp?.editorLink||window?.edac_script_vars?.editorLink;e?i.innerHTML=(0,Te.sprintf)((0,Te.__)("Settings saved successfully. You must %svisit the editor%s and save the post to rescan and remove fixed issues from Accessibility Checker reports.","accessibility-checker"),`<a href="${e}">`,"</a>"):i.innerText=(0,Te.__)("Settings saved successfully.","accessibility-checker")}}else e.classList.add("edac-fix-settings--saved--error"),e.querySelector("[aria-live]").innerText=(0,Te.__)("Saving failed.","accessibility-checker");document.dispatchEvent(new CustomEvent("edac-fix-settings-saved",{detail:{success:t.ok}}))}))};let Le=null;const Ne=new Event("edac-fixes-modal-closed",{bubbles:!0}),Ae=[],Fe=()=>{(()=>{const e=document.createElement("div");e.id="edac-fixes-modal",e.classList.add("edac-fixes-modal"),e.setAttribute("role","dialog"),e.setAttribute("aria-modal","false"),e.setAttribute("aria-labelledby","edac-fixes-modal-title"),e.innerHTML=`\n\t\t<div class="edac-fixes-modal__content">\n\t\t\t<div class="edac-fixes-modal__header">\n\t\t\t\t<h2 id="edac-fixes-modal-title">${(0,Te.__)("Fix Settings","accessibility-checker")}</h2>\n\t\t\t\t<button class="edac-fixes-modal__close" aria-label="${(0,Te.__)("Close fixes modal","accessibility-checker")}">\n\t\t\t\t\t<span class="dashicons dashicons-no-alt"></span>\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<div class="edac-fixes-modal__body">\n\t\t\t</div>\n\t\t</div>\n\t`;const t=document.createElement("div");t.classList.add("edac-fixes-modal__overlay"),t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1"),document.body.appendChild(t),document.body.appendChild(e)})(),document.querySelector(".edac-fixes-modal__close").addEventListener("click",(()=>{Ie()})),document.addEventListener("keydown",(e=>{document.activeElement.closest(".edac-fixes-modal")&&"Escape"===e.key&&Ie()}))},Ie=()=>{const e=document.getElementById("edac-fixes-modal");e.classList.remove("edac-fixes-modal--open"),e.setAttribute("aria-hidden","true"),e.setAttribute("aria-modal","false");const t=e.querySelector(".edac-fix-settings--clone--wrapper").children[0];document.querySelector(".edac-fix-settings--origin-placeholder").replaceWith(t);Array.from(document.body.children).forEach((e=>{"true"===e.getAttribute("data-hidden-by-modal")&&(e.removeAttribute("aria-hidden","false"),e.removeAttribute("data-hidden-by-modal","false"))})),document.body.classList.remove("edac-fixes-modal--open"),Le&&Le.focus(),Oe(),document.dispatchEvent(Ne)},Oe=()=>{Ae.forEach((({field:e,changeListener:t})=>{e.removeEventListener("change",t)}))};var De,Pe=function(){return Pe=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pe.apply(this,arguments)},Re=function(){function e(e){this.options=e,this.listeners={}}return e.prototype.on=function(e,t){var n=this.listeners[e]||[];this.listeners[e]=n.concat([t])},e.prototype.triggerEvent=function(e,t){var n=this;(this.listeners[e]||[]).forEach((function(e){return e({target:n,event:t})}))},e}();!function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove"}(De||(De={}));var Be,He=function(){function e(){this.notifications=[]}return e.prototype.push=function(e){this.notifications.push(e),this.updateFn(e,De.Add,this.notifications)},e.prototype.splice=function(e,t){var n=this.notifications.splice(e,t)[0];return this.updateFn(n,De.Remove,this.notifications),n},e.prototype.indexOf=function(e){return this.notifications.indexOf(e)},e.prototype.onUpdate=function(e){this.updateFn=e},e}();!function(e){e.Dismiss="dismiss",e.Click="click"}(Be||(Be={}));var qe={types:[{type:"success",className:"notyf__toast--success",backgroundColor:"#3dc763",icon:{className:"notyf__icon--success",tagName:"i"}},{type:"error",className:"notyf__toast--error",backgroundColor:"#ed3d3d",icon:{className:"notyf__icon--error",tagName:"i"}}],duration:2e3,ripple:!0,position:{x:"right",y:"bottom"},dismissible:!1},Me=function(){function e(){this.notifications=[],this.events={},this.X_POSITION_FLEX_MAP={left:"flex-start",center:"center",right:"flex-end"},this.Y_POSITION_FLEX_MAP={top:"flex-start",center:"center",bottom:"flex-end"};var e=document.createDocumentFragment(),t=this._createHTMLElement({tagName:"div",className:"notyf"});e.appendChild(t),document.body.appendChild(e),this.container=t,this.animationEndEventName=this._getAnimationEndEventName(),this._createA11yContainer()}return e.prototype.on=function(e,t){var n;this.events=Pe(Pe({},this.events),((n={})[e]=t,n))},e.prototype.update=function(e,t){t===De.Add?this.addNotification(e):t===De.Remove&&this.removeNotification(e)},e.prototype.removeNotification=function(e){var t,n,i=this,o=this._popRenderedNotification(e);o&&((t=o.node).classList.add("notyf__toast--disappear"),t.addEventListener(this.animationEndEventName,n=function(e){e.target===t&&(t.removeEventListener(i.animationEndEventName,n),i.container.removeChild(t))}))},e.prototype.addNotification=function(e){var t=this._renderNotification(e);this.notifications.push({notification:e,node:t}),this._announce(e.options.message||"Notification")},e.prototype._renderNotification=function(e){var t,n=this._buildNotificationCard(e),i=e.options.className;return i&&(t=n.classList).add.apply(t,i.split(" ")),this.container.appendChild(n),n},e.prototype._popRenderedNotification=function(e){for(var t=-1,n=0;n<this.notifications.length&&t<0;n++)this.notifications[n].notification===e&&(t=n);if(-1!==t)return this.notifications.splice(t,1)[0]},e.prototype.getXPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.x)||"right"},e.prototype.getYPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.y)||"bottom"},e.prototype.adjustContainerAlignment=function(e){var t=this.X_POSITION_FLEX_MAP[this.getXPosition(e)],n=this.Y_POSITION_FLEX_MAP[this.getYPosition(e)],i=this.container.style;i.setProperty("justify-content",n),i.setProperty("align-items",t)},e.prototype._buildNotificationCard=function(e){var t=this,n=e.options,i=n.icon;this.adjustContainerAlignment(n);var o=this._createHTMLElement({tagName:"div",className:"notyf__toast"}),s=this._createHTMLElement({tagName:"div",className:"notyf__ripple"}),r=this._createHTMLElement({tagName:"div",className:"notyf__wrapper"}),a=this._createHTMLElement({tagName:"div",className:"notyf__message"});a.innerHTML=n.message||"";var c=n.background||n.backgroundColor;if(i){var l=this._createHTMLElement({tagName:"div",className:"notyf__icon"});if(("string"==typeof i||i instanceof String)&&(l.innerHTML=new String(i).valueOf()),"object"==typeof i){var d=i.tagName,u=void 0===d?"i":d,h=i.className,p=i.text,f=i.color,g=void 0===f?c:f,m=this._createHTMLElement({tagName:u,className:h,text:p});g&&(m.style.color=g),l.appendChild(m)}r.appendChild(l)}if(r.appendChild(a),o.appendChild(r),c&&(n.ripple?(s.style.background=c,o.appendChild(s)):o.style.background=c),n.dismissible){var v=this._createHTMLElement({tagName:"div",className:"notyf__dismiss"}),y=this._createHTMLElement({tagName:"button",className:"notyf__dismiss-btn"});v.appendChild(y),r.appendChild(v),o.classList.add("notyf__toast--dismissible"),y.addEventListener("click",(function(n){var i,o;null===(o=(i=t.events)[Be.Dismiss])||void 0===o||o.call(i,{target:e,event:n}),n.stopPropagation()}))}o.addEventListener("click",(function(n){var i,o;return null===(o=(i=t.events)[Be.Click])||void 0===o?void 0:o.call(i,{target:e,event:n})}));var b="top"===this.getYPosition(n)?"upper":"lower";return o.classList.add("notyf__toast--"+b),o},e.prototype._createHTMLElement=function(e){var t=e.tagName,n=e.className,i=e.text,o=document.createElement(t);return n&&(o.className=n),o.textContent=i||null,o},e.prototype._createA11yContainer=function(){var e=this._createHTMLElement({tagName:"div",className:"notyf-announcer"});e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),e.style.border="0",e.style.clip="rect(0 0 0 0)",e.style.height="1px",e.style.margin="-1px",e.style.overflow="hidden",e.style.padding="0",e.style.position="absolute",e.style.width="1px",e.style.outline="0",document.body.appendChild(e),this.a11yContainer=e},e.prototype._announce=function(e){var t=this;this.a11yContainer.textContent="",setTimeout((function(){t.a11yContainer.textContent=e}),100)},e.prototype._getAnimationEndEventName=function(){var e,t=document.createElement("_fake"),n={MozTransition:"animationend",OTransition:"oAnimationEnd",WebkitTransition:"webkitAnimationEnd",transition:"animationend"};for(e in n)if(void 0!==t.style[e])return n[e];return"animationend"},e}();!function(){function e(e){var t=this;this.dismiss=this._removeNotification,this.notifications=new He,this.view=new Me;var n=this.registerTypes(e);this.options=Pe(Pe({},qe),e),this.options.types=n,this.notifications.onUpdate((function(e,n){return t.view.update(e,n)})),this.view.on(Be.Dismiss,(function(e){var n=e.target,i=e.event;t._removeNotification(n),n.triggerEvent(Be.Dismiss,i)})),this.view.on(Be.Click,(function(e){var t=e.target,n=e.event;return t.triggerEvent(Be.Click,n)}))}e.prototype.error=function(e){var t=this.normalizeOptions("error",e);return this.open(t)},e.prototype.success=function(e){var t=this.normalizeOptions("success",e);return this.open(t)},e.prototype.open=function(e){var t=this.options.types.find((function(t){return t.type===e.type}))||{},n=Pe(Pe({},t),e);this.assignProps(["ripple","position","dismissible"],n);var i=new Re(n);return this._pushNotification(i),i},e.prototype.dismissAll=function(){for(;this.notifications.splice(0,1););},e.prototype.assignProps=function(e,t){var n=this;e.forEach((function(e){t[e]=null==t[e]?n.options[e]:t[e]}))},e.prototype._pushNotification=function(e){var t=this;this.notifications.push(e);var n=void 0!==e.options.duration?e.options.duration:this.options.duration;n&&setTimeout((function(){return t._removeNotification(e)}),n)},e.prototype._removeNotification=function(e){var t=this.notifications.indexOf(e);-1!==t&&this.notifications.splice(t,1)},e.prototype.normalizeOptions=function(e,t){var n={type:e};return"string"==typeof t?n.message=t:"object"==typeof t&&(n=Pe(Pe({},n),t)),n},e.prototype.registerTypes=function(e){var t=(e&&e.types||[]).slice();return qe.types.map((function(e){var n=-1;t.forEach((function(t,i){t.type===e.type&&(n=i)}));var i=-1!==n?t.splice(n,1)[0]:{};return Pe(Pe({},e),i)})).concat(t)}}();class je{constructor(e={}){this.settings={showIgnored:!1,...e},this._scanAttempted=!1,this._isRescanning=!1,this.highlightPanel=this.addHighlightPanel(),this.nextButton=document.querySelector("#edac-highlight-next"),this.previousButton=document.querySelector("#edac-highlight-previous"),this.panelToggle=document.querySelector("#edac-highlight-panel-toggle"),this.closePanel=document.querySelector("#edac-highlight-panel-controls-close"),this.panelDescription=document.querySelector("#edac-highlight-panel-description"),this.panelControls=document.querySelector("#edac-highlight-panel-controls"),this.descriptionCloseButton=document.querySelector(".edac-highlight-panel-description-close"),this.issues=null,this.fixes=null,this.currentButtonIndex=null,this.urlParameter=this.get_url_parameter("edac"),this.landmarkParameter=this.get_url_parameter("edac_landmark"),this.currentIssueStatus=null,this.tooltips=[],this.panelControlsFocusTrap=ke("#"+this.panelControls.id,{clickOutsideDeactivates:!0,escapeDeactivates:()=>{this.panelClose()}}),this.panelDescriptionFocusTrap=ke("#"+this.panelDescription.id,{clickOutsideDeactivates:!0,escapeDeactivates:()=>{this.descriptionClose()}}),this.disableStylesButton=document.querySelector("#edac-highlight-disable-styles"),this.rescanButton=document.querySelector("#edac-highlight-rescan"),this.clearIssuesButton=document.querySelector("#edac-highlight-clear-issues"),this.stylesDisabled=!1,this.originalCss=[],this.init()}init(){this.nextButton.addEventListener("click",(()=>{this.highlightFocusNext(),this.focusTrapDescription()})),this.previousButton.addEventListener("click",(()=>{this.highlightFocusPrevious(),this.focusTrapDescription()})),this.panelToggle.addEventListener("click",(()=>{this.panelOpen(),this.focusTrapControls()})),this.closePanel.addEventListener("click",(()=>{this.panelClose(),this.panelControlsFocusTrap.deactivate(),this.panelDescriptionFocusTrap.deactivate(),this.enableStyles()})),this.descriptionCloseButton.addEventListener("click",(()=>this.descriptionClose())),this.disableStylesButton.addEventListener("click",(()=>{this.stylesDisabled?this.enableStyles():this.disableStyles()})),this.rescanButton&&this.rescanButton.addEventListener("click",(()=>{this.rescanPage()})),this.clearIssuesButton&&this.clearIssuesButton.addEventListener("click",(()=>{this.clearIssues()})),this.urlParameter?this.panelOpen(this.urlParameter):this.landmarkParameter&&this.highlightLandmark(this.landmarkParameter)}findElement(e,t){let n=e.object;const i=(new DOMParser).parseFromString(n,"text/html").body.firstElementChild;i&&(n=i.outerHTML);const o=document.body.querySelectorAll("*");for(const i of o)if(i.outerHTML.replace(/\W/g,"")===n.replace(/\W/g,"")){const n=this.addTooltip(i,e,t,this.issues.length);return this.issues[t].tooltip=n.tooltip,this.tooltips.push(n),i}return null}highlightAjax(){const e=this;return new Promise((function(t,n){const i=new XMLHttpRequest,o=edacFrontendHighlighterApp.ajaxurl+"?action=edac_frontend_highlight_ajax&post_id="+edacFrontendHighlighterApp.postID+"&nonce="+edacFrontendHighlighterApp.nonce;e.showWait(!0),i.open("GET",o),i.onload=function(){if(200===i.status){e.showWait(!1);const o=JSON.parse(i.responseText);if(!0===o.success){const n=JSON.parse(o.data);e.settings.showIgnored?t({issues:n.issues,fixes:n.fixes}):t({issues:n.issues.filter((t=>null!==t.rule_type&&(t.id===e.urlParameter||"ignored"!==t.rule_type))),fixes:n.fixes})}else e._scanAttempted||-3!==o.data?.[0]?.code?t({issues:[],fixes:[]}):(e._scanAttempted=!0,e.kickoffScan(),setTimeout((()=>{e.highlightAjax().then(t).catch(n)}),5e3))}else e.showWait(!1),n({status:i.status,statusText:i.statusText})},i.onerror=function(){e.showWait(!1),n({status:i.status,statusText:i.statusText})},i.send()}))}showWait(e=!0){e?document.querySelector("body").classList.add("edac-app-wait"):document.querySelector("body").classList.remove("edac-app-wait")}removeHighlightButtons(){this.tooltips.forEach((e=>{e.tooltip.removeEventListener("click",e.listeners.onClick),e.listeners.cleanup()}));document.querySelectorAll(".edac-highlight-btn").forEach((e=>{e.remove()})),this.removeLandmarkLabels()}addTooltip(e,t,n,i){const o=document.createElement("button");o.classList="edac-highlight-btn edac-highlight-btn-"+t.rule_type,o.setAttribute("aria-label",(0,Te.sprintf)((0,Te.__)("Open details for %1$s, %2$s of %3$s","accessibility-checker"),t.rule_title,n+1,i)),o.setAttribute("aria-expanded","false"),o.setAttribute("aria-haspopup","dialog"),o.dataset.id=t.id;const s=e=>{const t=e.currentTarget.dataset.id;this.showIssue(t)};o.addEventListener("click",s),document.body.append(o),o.dataset.targetElement=(e=>{let t=0;if(0===e.length)return t;for(let n=0;n<e.length;n++)t=32*t-t+e.charCodeAt(n),t=Math.floor(t);return Math.abs(t)})(e.outerHTML),o.dataset.creationOrder=Date.now()+Math.random();const r=$(e,o,(function(){const t=o.dataset.targetElement,n=parseFloat(o.dataset.creationOrder),i=Array.from(document.querySelectorAll(".edac-highlight-btn")).filter((e=>e!==o&&e.dataset.targetElement===t&&parseFloat(e.dataset.creationOrder)<n)).length;W(e,o,{placement:"top-start",middleware:[]}).then((({x:t,y:n,middlewareData:s,placement:r})=>{const a=e.getBoundingClientRect(),c=void 0===e.offsetHeight?0:e.offsetHeight,l=void 0===e.offsetWidth?0:e.offsetWidth,d=void 0===o.offsetHeight?0:o.offsetHeight,u=void 0===o.offsetWidth?0:o.offsetWidth;let h=0;const p=i*(u+5);d<=.8*c&&(h=d),u>=.8*l&&(h=0),a.left<u&&(t=0),a.left>window.screen&&(t=window.screen.width-u),a.top<d&&(n=0),Object.assign(o.style,{left:`${t+p}px`,top:`${n+h}px`})}))}),{ancestorScroll:!0,ancestorResize:!0,elementResize:!0,layoutShift:!0,animationFrame:!0});return{element:e,tooltip:o,listeners:{onClick:s,cleanup:r}}}addHighlightPanel(){const e=edacFrontendHighlighterApp?.widgetPosition||"right",t=edacFrontendHighlighterApp&&edacFrontendHighlighterApp?.userCanEdit&&edacFrontendHighlighterApp?.loggedIn,n=t?`<button id="edac-highlight-clear-issues" class="edac-highlight-clear-issues">${(0,Te.__)("Clear Issues","accessibility-checker")}</button>`:"",i=t?`<button id="edac-highlight-rescan" class="edac-highlight-rescan">${(0,Te.__)("Rescan This Page","accessibility-checker")}</button>`:"",o=`\n <div id="edac-highlight-panel" class="edac-highlight-panel edac-highlight-panel--${e}">\n <button id="edac-highlight-panel-toggle" class="edac-highlight-panel-toggle" aria-haspopup="dialog" aria-label="${(0,Te.__)("Accessibility Checker Tools","accessibility-checker")}"></button>\n <div id="edac-highlight-panel-description" class="edac-highlight-panel-description" role="dialog" aria-labelledby="edac-highlight-panel-description-title" tabindex="0">\n <button class="edac-highlight-panel-description-close edac-highlight-panel-controls-close" aria-label="${(0,Te.__)("Close","accessibility-checker")}">×</button>\n <div id="edac-highlight-panel-description-title" class="edac-highlight-panel-description-title"></div>\n <div class="edac-highlight-panel-description-content"></div>\n <div id="edac-highlight-panel-description-code" class="edac-highlight-panel-description-code"><code></code></div>\n </div>\n <div id="edac-highlight-panel-controls" class="edac-highlight-panel-controls" tabindex="0">\n <button id="edac-highlight-panel-controls-close" class="edac-highlight-panel-controls-close" aria-label="${(0,Te.__)("Close","accessibility-checker")}">×</button>\n <div class="edac-highlight-panel-controls-title">${(0,Te.__)("Accessibility Checker","accessibility-checker")}</div>\n <div class="edac-highlight-panel-controls-summary">${(0,Te.__)("Loading...","accessibility-checker")}</div>\n <div class="edac-highlight-panel-controls-buttons ${t?"":" single_button"}">\n <div>\n <button id="edac-highlight-previous" disabled="true"><span aria-hidden="true">« </span>${(0,Te.__)("Previous","accessibility-checker")}</button>\n <button id="edac-highlight-next" disabled="true">${(0,Te.__)("Next","accessibility-checker")}<span aria-hidden="true"> »</span></button><br />\n </div>\n <div>\n ${i}\n ${n}\n <button id="edac-highlight-disable-styles" class="edac-highlight-disable-styles" aria-live="polite" aria-label="${(0,Te.__)("Disable Page Styles","accessibility-checker")}">${(0,Te.__)("Disable Styles","accessibility-checker")}</button>\n </div>\n </div>\n </div>\n </div>\n `;return document.body.insertAdjacentHTML("afterbegin",o),document.getElementById("edac-highlight-panel")}highlightFocusNext=()=>{null===this.currentButtonIndex?this.currentButtonIndex=0:this.currentButtonIndex=(this.currentButtonIndex+1)%this.issues.length;const e=this.issues[this.currentButtonIndex].id;this.showIssue(e)};highlightFocusPrevious=()=>{null===this.currentButtonIndex?this.currentButtonIndex=this.issues.length-1:this.currentButtonIndex=(this.currentButtonIndex-1+this.issues.length)%this.issues.length;const e=this.issues[this.currentButtonIndex].id;this.showIssue(e)};focusTrapControls=()=>{this.panelDescriptionFocusTrap.deactivate(),this.panelControlsFocusTrap.activate(),setTimeout((()=>{this.panelControls.focus()}),100)};focusTrapDescription=()=>{this.panelControlsFocusTrap.deactivate(),this.panelDescriptionFocusTrap.activate(),setTimeout((()=>{this.panelDescription.focus()}),100)};showIssue=e=>{if(this.removeSelectedClasses(),void 0===e)return;const t=this.issues.find((t=>t.id===e));this.currentButtonIndex=this.issues.findIndex((t=>t.id===e));const n=t.tooltip,i=t.element;n&&i?(n.classList.add("edac-highlight-btn-selected"),i.classList.add("edac-highlight-element-selected"),i.offsetWidth<20&&i.classList.add("edac-highlight-element-selected-min-width"),i.offsetHeight<5&&i.classList.add("edac-highlight-element-selected-min-height"),i.scrollIntoView({block:"center"}),ue(n)?this.checkVisibility(n)&&this.checkVisibility(i)?this.currentIssueStatus=null:this.currentIssueStatus=(0,Te.__)("The element is not visible. Try disabling styles.","accessibility-checker"):this.currentIssueStatus=(0,Te.__)("The element is not focusable. Try disabling styles.","accessibility-checker")):this.currentIssueStatus=(0,Te.__)("The element was not found on the page.","accessibility-checker"),this.descriptionOpen(e)};checkVisibility=e=>"function"!=typeof e.checkVisibility?!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0});panelOpen(e){this.highlightPanel.classList.add("edac-highlight-panel-visible"),this.panelControls.style.display="block",this.panelToggle.style.display="none",this.nextButton.disabled=!0,this.previousButton.disabled=!0,this.highlightAjax().then((t=>{this.issues=t.issues,this.fixes=t.fixes,t.issues.forEach(function(e,t){const n=this.findElement(e,t);null!==n&&(this.issues[t].element=n)}.bind(this)),this.showIssueCount(),void 0!==e&&(this.showIssue(e),this.focusTrapDescription())})).catch((e=>{const t=document.querySelector(".edac-highlight-panel-controls-summary");t&&(t.textContent=(0,Te.__)("An error occurred when loading the issues.","accessibility-checker"))}))}panelClose(){this.highlightPanel.classList.remove("edac-highlight-panel-visible"),this.panelControls.style.display="none",this.panelDescription.style.display="none",this.panelToggle.style.display="block",this.removeSelectedClasses(),this.removeHighlightButtons(),this.closePanel.removeEventListener("click",this.panelControlsFocusTrap.deactivate),this.panelToggle.focus()}removeSelectedClasses=()=>{document.querySelectorAll(".edac-highlight-btn-selected").forEach((e=>{e.classList.remove("edac-highlight-btn-selected")}));document.querySelectorAll(".edac-highlight-element-selected").forEach((e=>{e.classList.remove("edac-highlight-element-selected","edac-highlight-element-selected-min-width","edac-highlight-element-selected-min-height"),0===e.classList.length&&e.removeAttribute("class")})),this.removeLandmarkLabels()};descriptionOpen(e){const t=e,n=this.issues.find((e=>e.id===t));if(n){const e=document.querySelector(".edac-highlight-panel-description-title"),t=document.querySelector(".edac-highlight-panel-description-content"),i=document.querySelector(".edac-highlight-panel-description-code code");let o="";o+=` <div class="edac-highlight-panel-description-index">${this.currentButtonIndex+1} of ${this.issues.length}</div>`,this.currentIssueStatus&&(o+=` <div class="edac-highlight-panel-description-status">${this.currentIssueStatus}</div>`),n.summary&&(o+=`<p class="edac-highlight-panel-description-summary">${n.summary}</p>`),n.how_to_fix&&(o+=`<div class="edac-highlight-panel-description-how-to-fix">\n\t\t\t\t\t<div class="edac-highlight-panel-description-how-to-fix-title">How to fix it:</div>\n\t\t\t\t\t<p class="edac-highlight-panel-description-how-to-fix-content">${n.how_to_fix}</p>\n\t\t\t\t</div>`),this.fixes[n.slug]&&window.edacFrontendHighlighterApp?.userCanFix?(o+=`\n\t\t\t\t\t<div style="display:none;" class="always-hide">\n\t\t\t\t\t\t<div class="edac-fix-settings">\n\t\t\t\t\t\t\t<div class="edac-fix-settings--fields">\n\t\t\t\t\t\t\t\t${this.fixes[n.slug].fields}\n\t\t\t\t\t\t\t\t<div class="edac-fix-settings--action-row">\n\t\t\t\t\t\t\t\t\t<button role="button" class="button button-primary edac-fix-settings--button--save">\n\t\t\t\t\t\t\t\t\t\t${(0,Te.__)("Save","accessibility-checker")}\n\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t<span class="edac-fix-settings--notice-slot" aria-live="polite" role="alert"></span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t`,o+=` <br />\n \t\t\t\t\t<button role="button"\n \t\t\t\t\t\tclass="edac-fix-settings--button--open edac-highlight-panel-description--button"\n \t\t\t\t\t\taria-haspopup="true"\n \t\t\t\t\t\taria-controls="edac-highlight-panel-description-fix"\n\t\t\t\t\t\taria-label="${(0,Te.sprintf)((0,Te.__)("Fix issue: %s","accessibility-checker"),this.fixes[n.slug][Object.keys(this.fixes[n.slug])[0]].group_name)}"> \t\t\t\t\t\t${(0,Te.__)("Fix Issue","accessibility-checker")}</button>`):o+=" <br />",o+=`<a class="edac-highlight-panel-description-reference" href="${n.link}">${(0,Te.__)("Full Documentation","accessibility-checker")}</a>`,o+=`<button class="edac-highlight-panel-description-code-button" aria-expanded="false" aria-controls="edac-highlight-panel-description-code">${(0,Te.__)("Show Code","accessibility-checker")}</button>`,e.innerHTML=n.rule_title+' <span class="edac-highlight-panel-description-type edac-highlight-panel-description-type-'+n.rule_type+'" aria-label="'+(0,Te.__)("Issue type:","accessibility-checker")+" "+n.rule_type+'"> '+n.rule_type+"</span>",t.innerHTML=o;const s=n.object,r=(new DOMParser).parseFromString(s,"text/html").body.firstElementChild;if(r)i.innerText=r.outerHTML;else{const e=document.createTextNode(n.object);i.innerText=e.nodeValue}this.fixes[n.slug]&&window.edacFrontendHighlighterApp?.userCanFix&&(this.fixSettingsButton=document.querySelector(".edac-fix-settings--button--open"),this.fixSettingsButton.addEventListener("click",(e=>{this.showFixSettings(e)})),this.fixSettingsButton.display="block",this.fixSettingsSaveButton=document.querySelector(".edac-fix-settings--button--save"),this.fixSettingsSaveButton.addEventListener("click",(e=>{Ce(e.target.closest(".edac-fix-settings"))}))),this.codeContainer=document.querySelector(".edac-highlight-panel-description-code"),this.codeButton=document.querySelector(".edac-highlight-panel-description-code-button"),this.codeButton.addEventListener("click",(()=>this.codeToggle())),this.codeContainer.style.display="none",this.panelDescription.style.display="block"}}descriptionClose(){this.panelDescription.style.display="none",this.focusTrapControls()}disableStyles(){if(!document.querySelector("#edac-app-css")){const e=document.createElement("link");e.rel="stylesheet",e.id="edac-app-css",e.type="text/css",e.href=edacFrontendHighlighterApp.appCssUrl,e.media="all",document.head.appendChild(e)}this.originalCss=Array.from(document.head.querySelectorAll('style[type="text/css"], style, link[rel="stylesheet"]'));document.querySelectorAll('*[style]:not([class^="edac"])').forEach((function(e){e.removeAttribute("style")})),this.originalCss=this.originalCss.filter((function(e){return"edac-app-css"!==e.id&&"dashicons-css"!==e.id})),document.head.dataset.css=this.originalCss,this.originalCss.forEach((function(e){e.remove()})),document.querySelector("body").classList.add("edac-app-disable-styles"),this.stylesDisabled=!0,this.disableStylesButton.textContent=(0,Te.__)("Enable Styles","accessibility-checker")}enableStyles(){this.originalCss.forEach((function(e){if("STYLE"===e.tagName)document.head.appendChild(e.cloneNode(!0));else{const t=document.createElement("link");t.rel="stylesheet",t.href=e.href,document.head.appendChild(t)}})),document.querySelector("body").classList.remove("edac-app-disable-styles"),this.stylesDisabled=!1,this.disableStylesButton.textContent=(0,Te.__)("Disable Styles","accessibility-checker")}get_url_parameter(e){const t=window.location.search.substring(1).split("&");let n,i;for(i=0;i<t.length;i++)if(n=t[i].split("="),n[0]===e)return void 0===n[1]||decodeURIComponent(n[1]);return!1}codeToggle(){"none"===this.codeContainer.style.display||""===this.codeContainer.style.display?(this.codeContainer.style.display="block",this.codeButton.setAttribute("aria-expanded","true")):(this.codeContainer.style.display="none",this.codeButton.setAttribute("aria-expanded","false"))}showFixSettings(e){const t=e.target.closest(".edac-highlight-panel-description-content").querySelector(".edac-fix-settings");if(!t)return;const n=document.createElement("span");n.classList.add("edac-fix-settings--origin-placeholder"),t.parentNode.insertBefore(n,t),t.remove(),((e="",t="")=>{""===t&&((t=document.createElement("p")).innerText=(0,Te.__)("There are no settings to display.","accessibility-checker"));const n=document.createElement("div");n.classList.add("edac-fix-settings--clone--wrapper"),n.appendChild(t);let i=n.querySelector("[data-fancy-name]")?.getAttribute("data-fancy-name")||"";""===i&&(i=n.querySelector("[data-group-name]")?.getAttribute("data-group-name")||"");const o=document.getElementById("edac-fixes-modal"),s=o.querySelector("#edac-fixes-modal-title"),r=o.querySelector(".edac-fixes-modal__body");s.innerText=i,r.innerHTML=e,r.appendChild(n),o.querySelectorAll("input, select, textarea").forEach((e=>{const t=()=>{document.dispatchEvent(new CustomEvent("edac-fix-settings-change"))};e.addEventListener("change",t),Ae.push({field:e,changeListener:t})})),o.querySelector(".edac-fix-settings--button--save").addEventListener("click",(()=>{Ce(r.querySelector(".edac-fix-settings--fields"))})),document.addEventListener("edac-fix-settings-change",(()=>{o.querySelector("[aria-live]").innerText=""}))})(`<p class="modal-opening-message">${(0,Te.__)("These settings enable global fixes across your entire site. Pages may need to be resaved or a full site scan run to see fixes reflected in reports.","accessibility-checker")}</p>`,t),this.panelDescriptionFocusTrap.pause(),(e=>{const t=document.getElementById("edac-fixes-modal");t.classList.add("edac-fixes-modal--open"),t.setAttribute("aria-hidden","false"),t.setAttribute("aria-modal","true"),Array.from(document.body.children).forEach((e=>{"edac-fixes-modal"===e.id||e.classList.contains("edac-fixes-modal__overlay")||!0!==e.getAttribute("aria-hidden")&&(e.setAttribute("aria-hidden","true"),e.setAttribute("data-hidden-by-modal","true"))})),document.body.classList.add("edac-fixes-modal--open"),Le=e;const n=t.querySelector(".edac-fixes-modal__body").querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');n&&setTimeout((()=>{n.focus()}),100),t.addEventListener("keydown",(e=>{if("Tab"===e.key){const n=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),i=n[0],o=n[n.length-1];e.shiftKey&&document.activeElement===i?(e.preventDefault(),o.focus()):e.shiftKey||document.activeElement!==o||(e.preventDefault(),i.focus())}}))})(e.target),document.addEventListener("edac-fixes-modal-closed",(()=>{this.panelDescriptionFocusTrap.unpause()}))}countIssues(e){let t=0;for(const n of this.issues)n.rule_type===e&&t++;return t}countIgnored(){let e=0;for(const t of this.issues)"1"===t.ignored&&e++;return e}showIssueCount(){const e=this.countIssues("error"),t=this.countIssues("warning"),n=this.countIgnored(),i=document.querySelector(".edac-highlight-panel-controls-summary");let o=(0,Te.__)("No issues detected.","accessibility-checker");(e>0||t>0||n>0)&&(o="",this.nextButton.disabled=!1,this.previousButton.disabled=!1,e>=0&&(o+=e+" "+(0,Te._n)("error","errors",e,"accessibility-checker")+", "),t>=0&&(o+=t+" "+(0,Te._n)("warning","warnings",t,"accessibility-checker")+", "),n>0?o+=(0,Te.__)("and","accessibility-checker")+" "+n+" "+(0,Te._n)("ignored issue","ignored issues",n,"accessibility-checker")+" "+(0,Te.__)("detected.","accessibility-checker"):o=o.slice(0,-2)+" "+(0,Te.__)("detected.","accessibility-checker")),i.textContent=o}highlightLandmark(e){try{const t=atob(e);let n=null;try{n=document.querySelector(t)}catch(e){}if(!n){const e=[t.replace(/:nth-child\(\d+\)/g,"").replace(/\s+>\s+/g," "),t.split(" > ").pop(),t.replace(/\.[^:\s>]+/g,"")];for(const t of e)if(t&&t.trim())try{if(n=document.querySelector(t.trim()),n)break}catch(e){}}if(n){this.removeLandmarkLabels(),n.classList.add("edac-highlight-element-selected"),n.classList.add("edac-landmark-highlight");const e=this.getLandmarkType(n),t=document.createElement("div");t.classList.add("edac-landmark-label"),t.textContent=(0,Te.sprintf)((0,Te.__)("Landmark: %s","accessibility-checker"),e),t.setAttribute("aria-hidden","true"),t.style.cssText="\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tbackground: #072446;\n\t\t\t\t\tcolor: white;\n\t\t\t\t\tpadding: 4px 8px;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t\tborder-radius: 3px;\n\t\t\t\t\tz-index: 99998;\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\tfont-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n\t\t\t\t\tline-height: 1;\n\t\t\t\t\tbox-shadow: 0 2px 4px rgba(0,0,0,0.2);\n\t\t\t\t";const i=n.getBoundingClientRect();t.style.left=i.left+window.scrollX-0+"px",t.style.top=i.top+window.scrollY-0+"px",document.body.appendChild(t),n.setAttribute("data-edac-landmark-label-id",Date.now()),t.setAttribute("data-edac-landmark-for",n.getAttribute("data-edac-landmark-label-id")),n.offsetWidth<20&&n.classList.add("edac-highlight-element-selected-min-width"),n.offsetHeight<5&&n.classList.add("edac-highlight-element-selected-min-height");const o=n.getBoundingClientRect().top+window.scrollY-75;window.scrollTo({top:o,behavior:"smooth"})}}catch(e){}}getLandmarkType(e){const t=e.getAttribute("role");if(t)switch(t.toLowerCase()){case"banner":return"Header";case"navigation":return"Navigation";case"main":return"Main";case"complementary":return"Complementary";case"contentinfo":return"Footer";case"search":return"Search";case"form":return"Form";case"region":return"Region";default:return t.charAt(0).toUpperCase()+t.slice(1)}switch(e.tagName.toLowerCase()){case"header":return"Header";case"nav":return"Navigation";case"main":return"Main";case"aside":return"Complementary";case"footer":return"Footer";case"section":return e.getAttribute("aria-label")||e.getAttribute("aria-labelledby")||e.querySelector("h1, h2, h3, h4, h5, h6")?"Region":"Section";case"form":return e.getAttribute("aria-label")||e.getAttribute("aria-labelledby")?"Form":"Form (unlabeled)";default:return"Landmark"}}removeLandmarkLabels(){document.querySelectorAll(".edac-landmark-label").forEach((e=>{e.remove()}));document.querySelectorAll(".edac-landmark-highlight").forEach((e=>{e.classList.remove("edac-landmark-highlight"),e.removeAttribute("data-edac-landmark-label-id")}))}kickoffScan(){const e={elementCount:document.body.getElementsByTagName("*").length,contentLength:document.body.innerText.length},t=this,n="edac-accessibility-checker-scanner-script";if(document.getElementById(n))t._runScanOrShowError(e);else{const i=document.createElement("script");i.src=window.edacFrontendHighlighterApp?.scannerBundleUrl||"/wp-content/plugins/accessibility-checker/build/pageScanner.bundle.js",i.id=n,i.onload=function(){setTimeout((()=>{t._runScanOrShowError(e)}),100)},i.onerror=function(){t.showWait(!1),t.showScanError("Failed to load scanner script.")},document.head.appendChild(i)}}_runScanOrShowError(e){window.runAccessibilityScan?this.runAccessibilityScanAndSave(e):(this.showWait(!1),this.showScanError((0,Te.__)("Scanner function not found.","accessibility-checker")))}runAccessibilityScanAndSave(e){const t=this,n=document.querySelector(".edac-highlight-panel-controls-summary");n&&(n.textContent=(0,Te.__)("Scanning...","accessibility-checker"),n.classList.remove("edac-error")),window.runAccessibilityScan().then((n=>{const i=window.edacFrontendHighlighterApp&&window.edacFrontendHighlighterApp.postID,o=window.edacFrontendHighlighterApp&&window.edacFrontendHighlighterApp.restNonce;return i&&o?n&&n.violations&&0!==n.violations.length?void t.saveScanResults(i,o,n.violations,e):(t.showWait(!1),void t.showScanError((0,Te.__)("No violations found, skipping save.","accessibility-checker"))):(t.showWait(!1),void t.showScanError((0,Te.__)("Missing postId or nonce.","accessibility-checker")))})).catch((()=>{t.showWait(!1),t.showScanError((0,Te.__)("Accessibility scan error.","accessibility-checker"))}))}saveScanResults(e,t,n,i){const o=this;fetch("/wp-json/accessibility-checker/v1/post-scan-results/"+e,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":t},body:JSON.stringify({violations:n,isSkipped:!1,isFailure:!1,densityMetrics:i})}).then((e=>e.json())).then((e=>{o.showWait(!1),e&&e.success||o.showScanError((0,Te.__)("Saving failed.","accessibility-checker"))})).catch((()=>{o.showWait(!1),o.showScanError((0,Te.__)("Error saving scan results.","accessibility-checker"))}))}rescanPage(){this._isRescanning||(this._isRescanning=!0,this.removeHighlightButtons(),this.kickoffScan(),setTimeout((()=>{this._isRescanning=!1,this.panelOpen()}),5e3))}clearIssues(){if(!confirm((0,Te.__)("This will clear all issues for this post. A save will be required to trigger a fresh scan of the post content. Do you want to continue?","accessibility-checker")))return;if(!this.clearIssuesButton)return;if(!edacFrontendHighlighterApp?.edacUrl||!edacFrontendHighlighterApp?.postID){const e=document.querySelector(".edac-highlight-panel-controls-summary");return void(e&&(e.textContent=(0,Te.__)("Error: Missing required parameters.","accessibility-checker"),e.classList.add("edac-error")))}this.clearIssuesButton.disabled=!0,this.clearIssuesButton.textContent=(0,Te.__)("Clearing...","accessibility-checker");const e=document.querySelector(".edac-highlight-panel-controls-summary");fetch(`${edacFrontendHighlighterApp.edacUrl}/wp-json/accessibility-checker/v1/clear-issues/${edacFrontendHighlighterApp.postID}`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":edacFrontendHighlighterApp.restNonce},body:JSON.stringify({id:edacFrontendHighlighterApp.postID,flush:!0})}).then((t=>{t.ok?(this.removeHighlightButtons(),this.issues=[],this.showIssueCount(),e&&(e.textContent=(0,Te.__)("Issues cleared successfully.","accessibility-checker"),e.classList.remove("edac-error"))):e&&(e.textContent=(0,Te.__)("Failed to clear issues.","accessibility-checker"),e.classList.add("edac-error"))})).catch((()=>{e&&(e.textContent=(0,Te.__)("An error occurred while clearing issues.","accessibility-checker"),e.classList.add("edac-error"))})).finally((()=>{this.clearIssuesButton.disabled=!1,this.clearIssuesButton.textContent=(0,Te.__)("Clear Issues","accessibility-checker")}))}showScanError(e){const t=document.querySelector(".edac-highlight-panel-controls-summary");t&&(t.textContent=e,t.classList.add("edac-error"))}}let $e=!1;const We=()=>{$e||(new je,window.edacFrontendHighlighterApp?.userCanFix&&Fe(),$e=!0)};["DOMContentLoaded","load"].forEach((e=>{window.addEventListener(e,We)}))})()})();2 (()=>{"use strict";(()=>{const e=Math.min,t=Math.max,n=Math.round,i=Math.floor,s=e=>({x:e,y:e});function o(e){return e.split("-")[0]}function r(e){return e.split("-")[1]}function a(e){return"y"===e?"height":"width"}function c(e){return["top","bottom"].includes(o(e))?"y":"x"}function l(e){return"x"===c(e)?"y":"x"}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function u(e,t,n){let{reference:i,floating:s}=e;const d=c(t),u=l(t),h=a(u),p=o(t),f="y"===d,g=i.x+i.width/2-s.width/2,m=i.y+i.height/2-s.height/2,b=i[h]/2-s[h]/2;let y;switch(p){case"top":y={x:g,y:i.y-s.height};break;case"bottom":y={x:g,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:m};break;case"left":y={x:i.x-s.width,y:m};break;default:y={x:i.x,y:i.y}}switch(r(t)){case"start":y[u]-=b*(n&&f?-1:1);break;case"end":y[u]+=b*(n&&f?-1:1)}return y}function h(e){return g(e)?(e.nodeName||"").toLowerCase():"#document"}function p(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function f(e){var t;return null==(t=(g(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function g(e){return e instanceof Node||e instanceof p(e).Node}function m(e){return e instanceof Element||e instanceof p(e).Element}function b(e){return e instanceof HTMLElement||e instanceof p(e).HTMLElement}function y(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof p(e).ShadowRoot)}function v(e){const{overflow:t,overflowX:n,overflowY:i,display:s}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(s)}function w(e){return["table","td","th"].includes(h(e))}function x(e){const t=S(),n=E(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function S(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function k(e){return["html","body","#document"].includes(h(e))}function E(e){return p(e).getComputedStyle(e)}function _(e){return m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function T(e){if("html"===h(e))return e;const t=e.assignedSlot||e.parentNode||y(e)&&e.host||f(e);return y(t)?t.host:t}function L(e){const t=T(e);return k(t)?e.ownerDocument?e.ownerDocument.body:e.body:b(t)&&v(t)?t:L(t)}function C(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const s=L(e),o=s===(null==(i=e.ownerDocument)?void 0:i.body),r=p(s);return o?t.concat(r,r.visualViewport||[],v(s)?s:[],r.frameElement&&n?C(r.frameElement):[]):t.concat(s,C(s,[],n))}function A(e){const t=E(e);let i=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const o=b(e),r=o?e.offsetWidth:i,a=o?e.offsetHeight:s,c=n(i)!==r||n(s)!==a;return c&&(i=r,s=a),{width:i,height:s,$:c}}function I(e){return m(e)?e:e.contextElement}function F(e){const t=I(e);if(!b(t))return s(1);const i=t.getBoundingClientRect(),{width:o,height:r,$:a}=A(t);let c=(a?n(i.width):i.width)/o,l=(a?n(i.height):i.height)/r;return c&&Number.isFinite(c)||(c=1),l&&Number.isFinite(l)||(l=1),{x:c,y:l}}const N=s(0);function D(e){const t=p(e);return S()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:N}function O(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),r=I(e);let a=s(1);t&&(i?m(i)&&(a=F(i)):a=F(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==p(e))&&t}(r,n,i)?D(r):s(0);let l=(o.left+c.x)/a.x,u=(o.top+c.y)/a.y,h=o.width/a.x,f=o.height/a.y;if(r){const e=p(r),t=i&&m(i)?p(i):i;let n=e.frameElement;for(;n&&i&&t!==e;){const e=F(n),t=n.getBoundingClientRect(),i=E(n),s=t.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,u*=e.y,h*=e.x,f*=e.y,l+=s,u+=o,n=p(n).frameElement}}return d({width:h,height:f,x:l,y:u})}function B(e){return O(f(e)).left+_(e).scrollLeft}function R(e,n,i){let o;if("viewport"===n)o=function(e,t){const n=p(e),i=f(e),s=n.visualViewport;let o=i.clientWidth,r=i.clientHeight,a=0,c=0;if(s){o=s.width,r=s.height;const e=S();(!e||e&&"fixed"===t)&&(a=s.offsetLeft,c=s.offsetTop)}return{width:o,height:r,x:a,y:c}}(e,i);else if("document"===n)o=function(e){const n=f(e),i=_(e),s=e.ownerDocument.body,o=t(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),r=t(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let a=-i.scrollLeft+B(e);const c=-i.scrollTop;return"rtl"===E(s).direction&&(a+=t(n.clientWidth,s.clientWidth)-o),{width:o,height:r,x:a,y:c}}(f(e));else if(m(n))o=function(e,t){const n=O(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,r=b(e)?F(e):s(1);return{width:e.clientWidth*r.x,height:e.clientHeight*r.y,x:o*r.x,y:i*r.y}}(n,i);else{const t=D(e);o={...n,x:n.x-t.x,y:n.y-t.y}}return d(o)}function P(e,t){const n=T(e);return!(n===t||!m(n)||k(n))&&("fixed"===E(n).position||P(n,t))}function q(e,t,n){const i=b(t),o=f(t),r="fixed"===n,a=O(e,!0,r,t);let c={scrollLeft:0,scrollTop:0};const l=s(0);if(i||!i&&!r)if(("body"!==h(t)||v(o))&&(c=_(t)),i){const e=O(t,!0,r,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=B(o));return{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function H(e,t){return b(e)&&"fixed"!==E(e).position?t?t(e):e.offsetParent:null}function $(e,t){const n=p(e);if(!b(e))return n;let i=H(e,t);for(;i&&w(i)&&"static"===E(i).position;)i=H(i,t);return i&&("html"===h(i)||"body"===h(i)&&"static"===E(i).position&&!x(i))?n:i||function(e){let t=T(e);for(;b(t)&&!k(t);){if(x(t))return t;t=T(t)}return null}(e)||n}const M={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const o=b(n),r=f(n);if(n===r)return t;let a={scrollLeft:0,scrollTop:0},c=s(1);const l=s(0);if((o||!o&&"fixed"!==i)&&(("body"!==h(n)||v(r))&&(a=_(n)),b(n))){const e=O(n);c=F(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-a.scrollLeft*c.x+l.x,y:t.y*c.y-a.scrollTop*c.y+l.y}},getDocumentElement:f,getClippingRect:function(n){let{element:i,boundary:s,rootBoundary:o,strategy:r}=n;const a=[..."clippingAncestors"===s?function(e,t){const n=t.get(e);if(n)return n;let i=C(e,[],!1).filter((e=>m(e)&&"body"!==h(e))),s=null;const o="fixed"===E(e).position;let r=o?T(e):e;for(;m(r)&&!k(r);){const t=E(r),n=x(r);n||"fixed"!==t.position||(s=null),(o?!n&&!s:!n&&"static"===t.position&&s&&["absolute","fixed"].includes(s.position)||v(r)&&!n&&P(e,r))?i=i.filter((e=>e!==r)):s=t,r=T(r)}return t.set(e,i),i}(i,this._c):[].concat(s),o],c=a[0],l=a.reduce(((n,s)=>{const o=R(i,s,r);return n.top=t(o.top,n.top),n.right=e(o.right,n.right),n.bottom=e(o.bottom,n.bottom),n.left=t(o.left,n.left),n}),R(i,c,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:$,getElementRects:async function(e){let{reference:t,floating:n,strategy:i}=e;const s=this.getOffsetParent||$,o=this.getDimensions;return{reference:q(t,await s(n),i),floating:{x:0,y:0,...await o(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return A(e)},getScale:F,isElement:m,isRTL:function(e){return"rtl"===E(e).direction}};function j(n,s,o,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,h=I(n),p=a||c?[...h?C(h):[],...C(s)]:[];p.forEach((e=>{a&&e.addEventListener("scroll",o,{passive:!0}),c&&e.addEventListener("resize",o)}));const g=h&&d?function(n,s){let o,r=null;const a=f(n);function c(){clearTimeout(o),r&&r.disconnect(),r=null}return function l(d,u){void 0===d&&(d=!1),void 0===u&&(u=1),c();const{left:h,top:p,width:f,height:g}=n.getBoundingClientRect();if(d||s(),!f||!g)return;const m={rootMargin:-i(p)+"px "+-i(a.clientWidth-(h+f))+"px "+-i(a.clientHeight-(p+g))+"px "+-i(h)+"px",threshold:t(0,e(1,u))||1};let b=!0;function y(e){const t=e[0].intersectionRatio;if(t!==u){if(!b)return l();t?l(!1,t):o=setTimeout((()=>{l(!1,1e-7)}),100)}b=!1}try{r=new IntersectionObserver(y,{...m,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(y,m)}r.observe(n)}(!0),c}(h,o):null;let m,b=-1,y=null;l&&(y=new ResizeObserver((e=>{let[t]=e;t&&t.target===h&&y&&(y.unobserve(s),cancelAnimationFrame(b),b=requestAnimationFrame((()=>{y&&y.observe(s)}))),o()})),h&&!u&&y.observe(h),y.observe(s));let v=u?O(n):null;return u&&function e(){const t=O(n);!v||t.x===v.x&&t.y===v.y&&t.width===v.width&&t.height===v.height||o();v=t,m=requestAnimationFrame(e)}(),o(),()=>{p.forEach((e=>{a&&e.removeEventListener("scroll",o),c&&e.removeEventListener("resize",o)})),g&&g(),y&&y.disconnect(),y=null,u&&cancelAnimationFrame(m)}}const W=(e,t,n)=>{const i=new Map,s={platform:M,...n},o={...s.platform,_c:i};return(async(e,t,n)=>{const{placement:i="bottom",strategy:s="absolute",middleware:o=[],platform:r}=n,a=o.filter(Boolean),c=await(null==r.isRTL?void 0:r.isRTL(t));let l=await r.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:h}=u(l,i,c),p=i,f={},g=0;for(let n=0;n<a.length;n++){const{name:o,fn:m}=a[n],{x:b,y,data:v,reset:w}=await m({x:d,y:h,initialPlacement:i,placement:p,strategy:s,middlewareData:f,rects:l,platform:r,elements:{reference:e,floating:t}});d=null!=b?b:d,h=null!=y?y:h,f={...f,[o]:{...f[o],...v}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(l=!0===w.rects?await r.getElementRects({reference:e,floating:t,strategy:s}):w.rects),({x:d,y:h}=u(l,p,c))),n=-1)}return{x:d,y:h,placement:p,strategy:s,middlewareData:f}})(e,t,{...s,platform:o})};var G=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],U=G.join(","),V="undefined"==typeof Element,K=V?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,z=!V&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Y=function e(t,n){var i;void 0===n&&(n=!0);var s=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===s||"true"===s||n&&t&&e(t.parentNode)},X=function(e,t,n){if(Y(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(U));return t&&K.call(e,U)&&i.unshift(e),i=i.filter(n)},J=function e(t,n,i){for(var s=[],o=Array.from(t);o.length;){var r=o.shift();if(!Y(r,!1))if("SLOT"===r.tagName){var a=r.assignedElements(),c=e(a.length?a:r.children,!0,i);i.flatten?s.push.apply(s,c):s.push({scopeParent:r,candidates:c})}else{K.call(r,U)&&i.filter(r)&&(n||!t.includes(r))&&s.push(r);var l=r.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(r),d=!Y(l,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(r));if(l&&d){var u=e(!0===l?r.children:l.children,!0,i);i.flatten?s.push.apply(s,u):s.push({scopeParent:r,candidates:u})}else o.unshift.apply(o,r.children)}}return s},Q=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Z=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Q(e)?0:e.tabIndex},ee=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},te=function(e){return"INPUT"===e.tagName},ne=function(e){return function(e){return te(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||z(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var s=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!s||s===e}(e)},ie=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},se=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var s=K.call(e,"details>summary:first-of-type")?e.parentElement:e;if(K.call(s,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return ie(e)}else{if("function"==typeof i){for(var o=e;e;){var r=e.parentElement,a=z(e);if(r&&!r.shadowRoot&&!0===i(r))return ie(e);e=e.assignedSlot?e.assignedSlot:r||a===e.ownerDocument?r:a.host}e=o}if(function(e){var t,n,i,s,o=e&&z(e),r=null===(t=o)||void 0===t?void 0:t.host,a=!1;if(o&&o!==e)for(a=!!(null!==(n=r)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(r)||null!=e&&null!==(s=e.ownerDocument)&&void 0!==s&&s.contains(e));!a&&r;){var c,l,d;a=!(null===(l=r=null===(c=o=z(r))||void 0===c?void 0:c.host)||void 0===l||null===(d=l.ownerDocument)||void 0===d||!d.contains(r))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},oe=function(e,t){return!(t.disabled||Y(t)||function(e){return te(e)&&"hidden"===e.type}(t)||se(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!K.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},re=function(e,t){return!(ne(t)||Z(t)<0||!oe(e,t))},ae=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ce=function e(t){var n=[],i=[];return t.forEach((function(t,s){var o=!!t.scopeParent,r=o?t.scopeParent:t,a=function(e,t){var n=Z(e);return n<0&&t&&!Q(e)?0:n}(r,o),c=o?e(t.candidates):r;0===a?o?n.push.apply(n,c):n.push(r):i.push({documentOrder:s,tabIndex:a,item:t,isScope:o,content:c})})),i.sort(ee).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==K.call(e,U)&&re(t,e)},de=G.concat("iframe").join(","),ue=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==K.call(e,de)&&oe(t,e)};function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ge=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},me=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},be=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},ye=function(e){return be(e)&&!e.shiftKey},ve=function(e){return be(e)&&e.shiftKey},we=function(e){return setTimeout(e,0)},xe=function(e,t){var n=-1;return e.every((function(e,i){return!t(e)||(n=i,!1)})),n},Se=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},ke=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Ee=[],_e=function(e,t){var n,i=(null==t?void 0:t.document)||document,s=(null==t?void 0:t.trapStack)||Ee,o=pe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ye,isKeyBackward:ve},t),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},c=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return r.containerGroups.findIndex((function(t){var i=t.container,s=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||s.find((function(t){return t===e}))}))},l=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];t=t.apply(void 0,s)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},d=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e||!ue(e,o.tabbableOptions))if(c(i.activeElement)>=0)e=i.activeElement;else{var t=r.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(r.containerGroups=r.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?J([e],t.includeContainer,{filter:re.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ae}):X(e,t.includeContainer,re.bind(null,t)),ce(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?J([e],t.includeContainer,{filter:oe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):X(e,t.includeContainer,oe.bind(null,t))}(e,o.tabbableOptions),i=t.length>0?t[0]:void 0,s=t.length>0?t[t.length-1]:void 0,r=n.find((function(e){return le(e)})),a=n.slice().reverse().find((function(e){return le(e)})),c=!!t.find((function(e){return Z(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:c,firstTabbableNode:i,lastTabbableNode:s,firstDomTabbableNode:r,lastDomTabbableNode:a,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=t.indexOf(e);return s<0?i?n.slice(n.indexOf(e)+1).find((function(e){return le(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return le(e)})):t[s+(i?1:-1)]}}})),r.tabbableGroups=r.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),r.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find((function(e){return e.posTabIndexesFound}))&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==h(document)&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),r.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(d()))},f=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},g=function(e){var t=e.target,n=e.event,i=e.isBackward,s=void 0!==i&&i;t=t||ke(n),u();var a=null;if(r.tabbableGroups.length>0){var d=c(t,n),h=d>=0?r.containerGroups[d]:void 0;if(d<0)a=s?r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:r.tabbableGroups[0].firstTabbableNode;else if(s){var p=xe(r.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(h.container===t||ue(t,o.tabbableOptions)&&!le(t,o.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=d),p>=0){var f=0===p?r.tabbableGroups.length-1:p-1,g=r.tabbableGroups[f];a=Z(t)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else be(n)||(a=h.nextTabbableNode(t,!1))}else{var m=xe(r.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(m<0&&(h.container===t||ue(t,o.tabbableOptions)&&!le(t,o.tabbableOptions)&&!h.nextTabbableNode(t))&&(m=d),m>=0){var b=m===r.tabbableGroups.length-1?0:m+1,y=r.tabbableGroups[b];a=Z(t)>=0?y.firstTabbableNode:y.firstDomTabbableNode}else be(n)||(a=h.nextTabbableNode(t))}}else a=l("fallbackFocus");return a},m=function(e){var t=ke(e);c(t,e)>=0||(Se(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):Se(o.allowOutsideClick,e)||e.preventDefault())},b=function(e){var t=ke(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(r.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var s=!0;if(r.mostRecentlyFocusedNode)if(Z(r.mostRecentlyFocusedNode)>0){var a=c(r.mostRecentlyFocusedNode),l=r.containerGroups[a].tabbableNodes;if(l.length>0){var u=l.findIndex((function(e){return e===r.mostRecentlyFocusedNode}));u>=0&&(o.isKeyForward(r.recentNavEvent)?u+1<l.length&&(i=l[u+1],s=!1):u-1>=0&&(i=l[u-1],s=!1))}}else r.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return Z(e)>0}))}))||(s=!1);else s=!1;s&&(i=g({target:r.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(r.recentNavEvent)})),p(i||(r.mostRecentlyFocusedNode||d()))}r.recentNavEvent=void 0},y=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===Se(o.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.recentNavEvent=e;var n=g({event:e,isBackward:t});n&&(be(e)&&e.preventDefault(),p(n))}(e,o.isKeyBackward(e))},v=function(e){var t=ke(e);c(t,e)>=0||Se(o.clickOutsideDeactivates,e)||Se(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(r.active)return ge(s,n),r.delayInitialFocusTimer=o.delayInitialFocus?we((function(){p(d())})):p(d()),i.addEventListener("focusin",b,!0),i.addEventListener("mousedown",m,{capture:!0,passive:!1}),i.addEventListener("touchstart",m,{capture:!0,passive:!1}),i.addEventListener("click",v,{capture:!0,passive:!1}),i.addEventListener("keydown",y,{capture:!0,passive:!1}),n},x=function(){if(r.active)return i.removeEventListener("focusin",b,!0),i.removeEventListener("mousedown",m,!0),i.removeEventListener("touchstart",m,!0),i.removeEventListener("click",v,!0),i.removeEventListener("keydown",y,!0),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===r.mostRecentlyFocusedNode}))}))&&p(d())})):void 0,k=function(){S&&(S.disconnect(),r.active&&!r.paused&&r.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return r.active},get paused(){return r.paused},activate:function(e){if(r.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),s=a(e,"checkCanFocusTrap");s||u(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var o=function(){s&&u(),w(),k(),null==n||n()};return s?(s(r.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!r.active)return this;var t=pe({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,x(),r.active=!1,r.paused=!1,k(),me(s,n);var i=a(t,"onDeactivate"),c=a(t,"onPostDeactivate"),l=a(t,"checkCanReturnFocus"),d=a(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var u=function(){we((function(){d&&p(f(r.nodeFocusedBeforeActivation)),null==c||c()}))};return d&&l?(l(f(r.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(r.paused||!r.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return r.paused=!0,null==t||t(),x(),k(),null==n||n(),this},unpause:function(e){if(!r.paused||!r.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return r.paused=!1,null==t||t(),u(),w(),k(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return r.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),r.active&&u(),k(),this}}).updateContainerElements(e),n};const Te=wp.i18n,Le=e=>{const t={};e.querySelectorAll("input, select, textarea").forEach((e=>{e.addEventListener("change",(()=>{document.dispatchEvent(new CustomEvent("edac-fix-settings-change"))}));const n=e.getAttribute("data-fix-slug");if(n)if(void 0===t[n]&&(t[n]={}),"checkbox"===e.type)t[n][e.name]=e.checked;else t[n][e.name]=e.value}));const n=e.querySelectorAll("button");n.forEach((e=>{e.disabled=!0})),e.classList.add("edac-fix-settings--saving");const i=e.querySelector("[aria-live]");i&&(i.innerText=(0,Te.__)("Saving...","accessibility-checker")),fetch("/wp-json/edac/v1/fixes/update/",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.edacSettings?.nonce??window.edac_script_vars?.restNonce??window.edacFrontendHighlighterApp?.restNonce},body:JSON.stringify(t)}).then((t=>{if(e.classList.remove("edac-fix-settings--saving"),n.forEach((e=>{e.disabled=!1})),t.ok){if(e.classList.remove("edac-fix-settings--saved--error"),e.classList.add("edac-fix-settings--saved--success"),i){const e=window?.edacFrontendHighlighterApp?.editorLink||window?.edac_script_vars?.editorLink;e?i.innerHTML=(0,Te.sprintf)((0,Te.__)("Settings saved successfully. You must %svisit the editor%s and save the post to rescan and remove fixed issues from Accessibility Checker reports.","accessibility-checker"),`<a href="${e}">`,"</a>"):i.innerText=(0,Te.__)("Settings saved successfully.","accessibility-checker")}}else e.classList.add("edac-fix-settings--saved--error"),e.querySelector("[aria-live]").innerText=(0,Te.__)("Saving failed.","accessibility-checker");document.dispatchEvent(new CustomEvent("edac-fix-settings-saved",{detail:{success:t.ok}}))}))};let Ce=null;const Ae=new Event("edac-fixes-modal-closed",{bubbles:!0}),Ie=[],Fe=()=>{(()=>{const e=document.createElement("div");e.id="edac-fixes-modal",e.classList.add("edac-fixes-modal"),e.setAttribute("role","dialog"),e.setAttribute("aria-modal","false"),e.setAttribute("aria-labelledby","edac-fixes-modal-title"),e.innerHTML=`\n\t\t<div class="edac-fixes-modal__content">\n\t\t\t<div class="edac-fixes-modal__header">\n\t\t\t\t<h2 id="edac-fixes-modal-title">${(0,Te.__)("Fix Settings","accessibility-checker")}</h2>\n\t\t\t\t<button class="edac-fixes-modal__close" aria-label="${(0,Te.__)("Close fixes modal","accessibility-checker")}">\n\t\t\t\t\t<span class="dashicons dashicons-no-alt"></span>\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<div class="edac-fixes-modal__body">\n\t\t\t</div>\n\t\t</div>\n\t`;const t=document.createElement("div");t.classList.add("edac-fixes-modal__overlay"),t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1"),document.body.appendChild(t),document.body.appendChild(e)})(),document.querySelector(".edac-fixes-modal__close").addEventListener("click",(()=>{Ne()})),document.addEventListener("keydown",(e=>{document.activeElement.closest(".edac-fixes-modal")&&"Escape"===e.key&&Ne()}))},Ne=()=>{const e=document.getElementById("edac-fixes-modal");e.classList.remove("edac-fixes-modal--open"),e.setAttribute("aria-hidden","true"),e.setAttribute("aria-modal","false");const t=e.querySelector(".edac-fix-settings--clone--wrapper").children[0];document.querySelector(".edac-fix-settings--origin-placeholder").replaceWith(t);Array.from(document.body.children).forEach((e=>{"true"===e.getAttribute("data-hidden-by-modal")&&(e.removeAttribute("aria-hidden","false"),e.removeAttribute("data-hidden-by-modal","false"))})),document.body.classList.remove("edac-fixes-modal--open"),Ce&&Ce.focus(),De(),document.dispatchEvent(Ae)},De=()=>{Ie.forEach((({field:e,changeListener:t})=>{e.removeEventListener("change",t)}))};class Oe{constructor(e={}){this.settings={showIgnored:!1,...e},this._scanAttempted=!1,this._isRescanning=!1,this.highlightPanel=this.addHighlightPanel(),this.nextButton=document.querySelector("#edac-highlight-next"),this.previousButton=document.querySelector("#edac-highlight-previous"),this.panelToggle=document.querySelector("#edac-highlight-panel-toggle"),this.closePanel=document.querySelector("#edac-highlight-panel-controls-close"),this.panelDescription=document.querySelector("#edac-highlight-panel-description"),this.panelControls=document.querySelector("#edac-highlight-panel-controls"),this.descriptionCloseButton=document.querySelector(".edac-highlight-panel-description-close"),this.issues=null,this.fixes=null,this.currentButtonIndex=null,this.urlParameter=this.get_url_parameter("edac"),this.landmarkParameter=this.get_url_parameter("edac_landmark"),this.currentIssueStatus=null,this.tooltips=[],this.panelControlsFocusTrap=_e("#"+this.panelControls.id,{clickOutsideDeactivates:!0,escapeDeactivates:()=>{this.panelClose()}}),this.panelDescriptionFocusTrap=_e("#"+this.panelDescription.id,{clickOutsideDeactivates:!0,escapeDeactivates:()=>{this.descriptionClose()}}),this.disableStylesButton=document.querySelector("#edac-highlight-disable-styles"),this.rescanButton=document.querySelector("#edac-highlight-rescan"),this.clearIssuesButton=document.querySelector("#edac-highlight-clear-issues"),this.stylesDisabled=!1,this.originalCss=[],this.originalInlineStyles=[],this.init()}init(){this.nextButton.addEventListener("click",(()=>{this.highlightFocusNext(),this.focusTrapDescription()})),this.previousButton.addEventListener("click",(()=>{this.highlightFocusPrevious(),this.focusTrapDescription()})),this.panelToggle.addEventListener("click",(()=>{this.panelOpen(),this.focusTrapControls()})),this.closePanel.addEventListener("click",(()=>{this.panelClose(),this.panelControlsFocusTrap.deactivate(),this.panelDescriptionFocusTrap.deactivate(),this.stylesDisabled&&this.enableStyles()})),this.descriptionCloseButton.addEventListener("click",(()=>this.descriptionClose())),this.disableStylesButton.addEventListener("click",(()=>{this.stylesDisabled?this.enableStyles():this.disableStyles()})),this.rescanButton&&this.rescanButton.addEventListener("click",(()=>{this.rescanPage()})),this.clearIssuesButton&&this.clearIssuesButton.addEventListener("click",(()=>{this.clearIssues()})),this.urlParameter?this.panelOpen(this.urlParameter):this.landmarkParameter&&this.highlightLandmark(this.landmarkParameter)}findElement(e,t){if(e.selector)try{const n=document.querySelector(e.selector);if(n){const i=this.addTooltip(n,e,t,this.issues.length);return this.issues[t].tooltip=i.tooltip,this.tooltips.push(i),n}}catch(e){}if(e.ancestry)try{const n=document.querySelector(e.ancestry);if(n){const i=this.addTooltip(n,e,t,this.issues.length);return this.issues[t].tooltip=i.tooltip,this.tooltips.push(i),n}}catch(e){}let n=e.object;const i=(new DOMParser).parseFromString(n,"text/html").body.firstElementChild;i&&(n=i.outerHTML);const s=document.body.querySelectorAll("*");for(const i of s)if(i.outerHTML.replace(/\W/g,"")===n.replace(/\W/g,"")){const n=this.addTooltip(i,e,t,this.issues.length);return this.issues[t].tooltip=n.tooltip,this.tooltips.push(n),i}return null}highlightAjax(){const e=this;return new Promise((function(t,n){const i=new XMLHttpRequest,s=edacFrontendHighlighterApp.ajaxurl+"?action=edac_frontend_highlight_ajax&post_id="+edacFrontendHighlighterApp.postID+"&nonce="+edacFrontendHighlighterApp.nonce;e.showWait(!0),i.open("GET",s),i.onload=function(){if(200===i.status){e.showWait(!1);const s=JSON.parse(i.responseText);if(!0===s.success){const n=JSON.parse(s.data);e.settings.showIgnored?t({issues:n.issues,fixes:n.fixes}):t({issues:n.issues.filter((t=>null!==t.rule_type&&(t.id===e.urlParameter||"ignored"!==t.rule_type))),fixes:n.fixes})}else e._scanAttempted||-3!==s.data?.[0]?.code?t({issues:[],fixes:[]}):(e._scanAttempted=!0,e.kickoffScan(),setTimeout((()=>{e.highlightAjax().then(t).catch(n)}),5e3))}else e.showWait(!1),n({status:i.status,statusText:i.statusText})},i.onerror=function(){e.showWait(!1),n({status:i.status,statusText:i.statusText})},i.send()}))}showWait(e=!0){e?document.querySelector("body").classList.add("edac-app-wait"):document.querySelector("body").classList.remove("edac-app-wait")}removeHighlightButtons(){this.tooltips.forEach((e=>{e.tooltip.removeEventListener("click",e.listeners.onClick),e.listeners.cleanup()}));document.querySelectorAll(".edac-highlight-btn").forEach((e=>{e.remove()})),this.removeLandmarkLabels()}addTooltip(e,t,n,i){const s=document.createElement("button");s.classList="edac-highlight-btn edac-highlight-btn-"+t.rule_type,s.setAttribute("aria-label",(0,Te.sprintf)((0,Te.__)("Open details for %1$s, %2$s of %3$s","accessibility-checker"),t.rule_title,n+1,i)),s.setAttribute("aria-expanded","false"),s.setAttribute("aria-haspopup","dialog"),s.dataset.id=t.id;const o=e=>{const t=e.currentTarget.dataset.id;this.showIssue(t)};s.addEventListener("click",o),document.body.append(s),e.__edacElementId||(e.__edacElementId="edac-"+Math.random().toString(36).substr(2,9)),s.dataset.targetElement=e.__edacElementId,s.dataset.creationOrder=Date.now()+Math.random();const r=j(e,s,(function(){const t=parseInt(s.dataset.sortedIndex||"0",10),n=s.dataset.targetElement;let i=0;const o=Array.from(document.querySelectorAll(".edac-highlight-btn"));for(const e of o){if(e===s)break;const o=parseInt(e.dataset.sortedIndex||"0",10);e.dataset.targetElement===n&&o<t&&i++}W(e,s,{placement:"top-start",middleware:[]}).then((({x:t,y:n})=>{const o=e.getBoundingClientRect(),r=void 0===e.offsetHeight?0:e.offsetHeight,a=void 0===s.offsetHeight?0:s.offsetHeight,c=void 0===s.offsetWidth?0:s.offsetWidth,l=t+i*(c+5);let d=n;0===r&&0===o.height&&(d=o.top+document.documentElement.scrollTop-a-5),Object.assign(s.style,{left:`${l}px`,top:`${d}px`})}))}),{ancestorScroll:!0,ancestorResize:!0,elementResize:!0,layoutShift:!0,animationFrame:!0});return{element:e,tooltip:s,listeners:{onClick:o,cleanup:r}}}addHighlightPanel(){const e=edacFrontendHighlighterApp?.widgetPosition||"right",t=edacFrontendHighlighterApp&&edacFrontendHighlighterApp?.userCanEdit&&edacFrontendHighlighterApp?.loggedIn,n=t?`<button id="edac-highlight-clear-issues" class="edac-highlight-clear-issues">${(0,Te.__)("Clear Issues","accessibility-checker")}</button>`:"",i=t?`<button id="edac-highlight-rescan" class="edac-highlight-rescan">${(0,Te.__)("Rescan This Page","accessibility-checker")}</button>`:"",s=`\n <div id="edac-highlight-panel" class="edac-highlight-panel edac-highlight-panel--${e}">\n <button id="edac-highlight-panel-toggle" class="edac-highlight-panel-toggle" aria-haspopup="dialog" aria-label="${(0,Te.__)("Accessibility Checker Tools","accessibility-checker")}"></button>\n <div id="edac-highlight-panel-description" class="edac-highlight-panel-description" role="dialog" aria-labelledby="edac-highlight-panel-description-title" tabindex="0">\n <button class="edac-highlight-panel-description-close edac-highlight-panel-controls-close" aria-label="${(0,Te.__)("Close","accessibility-checker")}">×</button>\n <div id="edac-highlight-panel-description-title" class="edac-highlight-panel-description-title"></div>\n <div class="edac-highlight-panel-description-content"></div>\n <div id="edac-highlight-panel-description-code" class="edac-highlight-panel-description-code"><code></code></div>\n </div>\n <div id="edac-highlight-panel-controls" class="edac-highlight-panel-controls" tabindex="0">\n <button id="edac-highlight-panel-controls-close" class="edac-highlight-panel-controls-close" aria-label="${(0,Te.__)("Close","accessibility-checker")}">×</button>\n <div class="edac-highlight-panel-controls-title">${(0,Te.__)("Accessibility Checker","accessibility-checker")}</div>\n <div class="edac-highlight-panel-controls-summary">${(0,Te.__)("Loading...","accessibility-checker")}</div>\n <div class="edac-highlight-panel-controls-buttons ${t?"":" single_button"}">\n <div>\n <button id="edac-highlight-previous" disabled="true"><span aria-hidden="true">« </span>${(0,Te.__)("Previous","accessibility-checker")}</button>\n <button id="edac-highlight-next" disabled="true">${(0,Te.__)("Next","accessibility-checker")}<span aria-hidden="true"> »</span></button><br />\n </div>\n <div>\n ${i}\n ${n}\n <button id="edac-highlight-disable-styles" class="edac-highlight-disable-styles" aria-live="polite" aria-label="${(0,Te.__)("Disable Page Styles","accessibility-checker")}">${(0,Te.__)("Disable Styles","accessibility-checker")}</button>\n </div>\n </div>\n </div>\n </div>\n `;return document.body.insertAdjacentHTML("afterbegin",s),document.getElementById("edac-highlight-panel")}highlightFocusNext=()=>{null===this.currentButtonIndex?this.currentButtonIndex=0:this.currentButtonIndex=(this.currentButtonIndex+1)%this.issues.length;const e=this.issues[this.currentButtonIndex].id;this.showIssue(e)};highlightFocusPrevious=()=>{null===this.currentButtonIndex?this.currentButtonIndex=this.issues.length-1:this.currentButtonIndex=(this.currentButtonIndex-1+this.issues.length)%this.issues.length;const e=this.issues[this.currentButtonIndex].id;this.showIssue(e)};focusTrapControls=()=>{this.panelDescriptionFocusTrap.deactivate(),this.panelControlsFocusTrap.activate(),setTimeout((()=>{this.panelControls.focus()}),100)};focusTrapDescription=()=>{this.panelControlsFocusTrap.deactivate(),this.panelDescriptionFocusTrap.activate(),setTimeout((()=>{this.panelDescription.focus()}),100)};showIssue=e=>{if(this.removeSelectedClasses(),void 0===e)return;const t=this.issues.find((t=>t.id===e));this.currentButtonIndex=this.issues.findIndex((t=>t.id===e));const n=t.tooltip,i=t.element;n&&i?(n.classList.add("edac-highlight-btn-selected"),i.classList.add("edac-highlight-element-selected"),i.offsetWidth<20&&i.classList.add("edac-highlight-element-selected-min-width"),i.offsetHeight<5&&i.classList.add("edac-highlight-element-selected-min-height"),i.scrollIntoView({block:"center"}),ue(n)?this.checkVisibility(n)&&this.checkVisibility(i)?this.currentIssueStatus=null:this.currentIssueStatus=(0,Te.__)("The element is not visible. Try disabling styles.","accessibility-checker"):this.currentIssueStatus=(0,Te.__)("The element is not focusable. Try disabling styles.","accessibility-checker")):this.currentIssueStatus=(0,Te.__)("The element was not found on the page.","accessibility-checker"),this.descriptionOpen(e)};checkVisibility=e=>"function"!=typeof e.checkVisibility?!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0});panelOpen(e){this.highlightPanel.classList.add("edac-highlight-panel-visible"),this.panelControls.style.display="block",this.panelToggle.style.display="none",this.nextButton.disabled=!0,this.previousButton.disabled=!0,this.highlightAjax().then((t=>{this.issues=t.issues,this.fixes=t.fixes,t.issues.forEach(function(e,t){const n=this.findElement(e,t);null!==n&&(this.issues[t].element=n)}.bind(this)),this.issues.sort(((e,t)=>{if(!e.element&&t.element)return 1;if(e.element&&!t.element)return-1;if(!e.element&&!t.element)return 0;const n=e.element.compareDocumentPosition(t.element);if(n&Node.DOCUMENT_POSITION_FOLLOWING)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING)return 1;return parseInt(e.id,10)-parseInt(t.id,10)})),this.issues.forEach(((e,t)=>{e.tooltip&&(e.tooltip.dataset.sortedIndex=t,e.tooltip.setAttribute("aria-label",(0,Te.sprintf)((0,Te.__)("Open details for %1$s, %2$s of %3$s","accessibility-checker"),e.rule_title,t+1,this.issues.length)))})),this.showIssueCount(),void 0!==e&&(this.showIssue(e),this.focusTrapDescription())})).catch((e=>{const t=document.querySelector(".edac-highlight-panel-controls-summary");t&&(t.textContent=(0,Te.__)("An error occurred when loading the issues.","accessibility-checker"))}))}panelClose(){this.highlightPanel.classList.remove("edac-highlight-panel-visible"),this.panelControls.style.display="none",this.panelDescription.style.display="none",this.panelToggle.style.display="block",this.removeSelectedClasses(),this.removeHighlightButtons(),this.closePanel.removeEventListener("click",this.panelControlsFocusTrap.deactivate),this.panelToggle.focus()}removeSelectedClasses=()=>{document.querySelectorAll(".edac-highlight-btn-selected").forEach((e=>{e.classList.remove("edac-highlight-btn-selected")}));document.querySelectorAll(".edac-highlight-element-selected").forEach((e=>{e.classList.remove("edac-highlight-element-selected","edac-highlight-element-selected-min-width","edac-highlight-element-selected-min-height"),0===e.classList.length&&e.removeAttribute("class")})),this.removeLandmarkLabels()};descriptionOpen(e){const t=e,n=this.issues.find((e=>e.id===t));if(n){const e=document.querySelector(".edac-highlight-panel-description-title"),t=document.querySelector(".edac-highlight-panel-description-content"),i=document.querySelector(".edac-highlight-panel-description-code code");let s="";s+=` <div class="edac-highlight-panel-description-index">${this.currentButtonIndex+1} of ${this.issues.length}</div>`,this.currentIssueStatus&&(s+=` <div class="edac-highlight-panel-description-status">${this.currentIssueStatus}</div>`),n.summary&&(s+=`<p class="edac-highlight-panel-description-summary">${n.summary}</p>`),n.how_to_fix&&(s+=`<div class="edac-highlight-panel-description-how-to-fix">\n\t\t\t\t\t<div class="edac-highlight-panel-description-how-to-fix-title">How to fix it:</div>\n\t\t\t\t\t<p class="edac-highlight-panel-description-how-to-fix-content">${n.how_to_fix}</p>\n\t\t\t\t</div>`),this.fixes[n.slug]&&window.edacFrontendHighlighterApp?.userCanFix?(s+=`\n\t\t\t\t\t<div style="display:none;" class="always-hide">\n\t\t\t\t\t\t<div class="edac-fix-settings">\n\t\t\t\t\t\t\t<div class="edac-fix-settings--fields">\n\t\t\t\t\t\t\t\t${this.fixes[n.slug].fields}\n\t\t\t\t\t\t\t\t<div class="edac-fix-settings--action-row">\n\t\t\t\t\t\t\t\t\t<button role="button" class="button button-primary edac-fix-settings--button--save">\n\t\t\t\t\t\t\t\t\t\t${(0,Te.__)("Save","accessibility-checker")}\n\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t<span class="edac-fix-settings--notice-slot" aria-live="polite" role="alert"></span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t`,s+=` <br />\n \t\t\t\t\t<button role="button"\n \t\t\t\t\t\tclass="edac-fix-settings--button--open edac-highlight-panel-description--button"\n \t\t\t\t\t\taria-haspopup="true"\n \t\t\t\t\t\taria-controls="edac-highlight-panel-description-fix"\n\t\t\t\t\t\taria-label="${(0,Te.sprintf)((0,Te.__)("Fix issue: %s","accessibility-checker"),this.fixes[n.slug][Object.keys(this.fixes[n.slug])[0]].group_name)}"> \t\t\t\t\t\t${(0,Te.__)("Fix Issue","accessibility-checker")}</button>`):s+=" <br />",s+=`<a class="edac-highlight-panel-description-reference" href="${n.link}">${(0,Te.__)("Full Documentation","accessibility-checker")}</a>`,s+=`<button class="edac-highlight-panel-description-code-button" aria-expanded="false" aria-controls="edac-highlight-panel-description-code">${(0,Te.__)("Show Code","accessibility-checker")}</button>`,e.innerHTML=n.rule_title+' <span class="edac-highlight-panel-description-type edac-highlight-panel-description-type-'+n.rule_type+'" aria-label="'+(0,Te.__)("Issue type:","accessibility-checker")+" "+n.rule_type+'"> '+n.rule_type+"</span>",t.innerHTML=s;const o=n.object,r=(new DOMParser).parseFromString(o,"text/html").body.firstElementChild;if(r)i.innerText=r.outerHTML;else{const e=document.createTextNode(n.object);i.innerText=e.nodeValue}this.fixes[n.slug]&&window.edacFrontendHighlighterApp?.userCanFix&&(this.fixSettingsButton=document.querySelector(".edac-fix-settings--button--open"),this.fixSettingsButton.addEventListener("click",(e=>{this.showFixSettings(e)})),this.fixSettingsButton.display="block",this.fixSettingsSaveButton=document.querySelector(".edac-fix-settings--button--save"),this.fixSettingsSaveButton.addEventListener("click",(e=>{Le(e.target.closest(".edac-fix-settings"))}))),this.codeContainer=document.querySelector(".edac-highlight-panel-description-code"),this.codeButton=document.querySelector(".edac-highlight-panel-description-code-button"),this.codeButton.addEventListener("click",(()=>this.codeToggle())),this.codeContainer.style.display="none",this.panelDescription.style.display="block"}}descriptionClose(){this.panelDescription.style.display="none",this.focusTrapControls()}disableStyles(){if(!document.querySelector("#edac-app-css")){const e=document.createElement("link");e.rel="stylesheet",e.id="edac-app-css",e.type="text/css",e.href=edacFrontendHighlighterApp.appCssUrl,e.media="all",document.head.appendChild(e)}this.originalInlineStyles=[];document.querySelectorAll('*[style]:not([class^="edac"])').forEach((e=>{this.originalInlineStyles.push({element:e,style:e.getAttribute("style")}),e.removeAttribute("style")}));const e=Array.from(document.querySelectorAll('style[type="text/css"], style, link[rel="stylesheet"], link[href$=".css"], link[href*=".css?"]'));this.originalCss=e.filter((e=>"edac-app-css"!==e.id&&"dashicons-css"!==e.id)).map((e=>{const t=e.parentNode;let n=e.nextElementSibling;for(;n;){const e="STYLE"===n.tagName,t="LINK"===n.tagName&&(n.matches('[rel="stylesheet"]')||n.matches('[href$=".css"]')||n.matches('[href*=".css?"]')),i="edac-app-css"===n.id||"dashicons-css"===n.id;if(!e&&!t||i)break;n=n.nextElementSibling}return{element:e,parent:t,nextSibling:n}})),this.originalCss.forEach((e=>{e.element.remove()})),document.querySelector("body").classList.add("edac-app-disable-styles"),this.stylesDisabled=!0,this.disableStylesButton.textContent=(0,Te.__)("Enable Styles","accessibility-checker")}enableStyles(){[...this.originalCss].reverse().forEach((e=>{const t=e.parent&&e.parent.isConnected?e.parent:document.head;e.nextSibling&&e.nextSibling.parentNode===t?t.insertBefore(e.element,e.nextSibling):t.appendChild(e.element)})),this.originalInlineStyles&&this.originalInlineStyles.forEach((e=>{e.element&&e.element.isConnected&&e.element.setAttribute("style",e.style)})),document.querySelector("body").classList.remove("edac-app-disable-styles"),this.stylesDisabled=!1,this.disableStylesButton.textContent=(0,Te.__)("Disable Styles","accessibility-checker")}get_url_parameter(e){const t=window.location.search.substring(1).split("&");let n,i;for(i=0;i<t.length;i++)if(n=t[i].split("="),n[0]===e)return void 0===n[1]||decodeURIComponent(n[1]);return!1}codeToggle(){"none"===this.codeContainer.style.display||""===this.codeContainer.style.display?(this.codeContainer.style.display="block",this.codeButton.setAttribute("aria-expanded","true")):(this.codeContainer.style.display="none",this.codeButton.setAttribute("aria-expanded","false"))}showFixSettings(e){const t=e.target.closest(".edac-highlight-panel-description-content").querySelector(".edac-fix-settings");if(!t)return;const n=document.createElement("span");n.classList.add("edac-fix-settings--origin-placeholder"),t.parentNode.insertBefore(n,t),t.remove(),((e="",t="")=>{""===t&&((t=document.createElement("p")).innerText=(0,Te.__)("There are no settings to display.","accessibility-checker"));const n=document.createElement("div");n.classList.add("edac-fix-settings--clone--wrapper"),n.appendChild(t);let i=n.querySelector("[data-fancy-name]")?.getAttribute("data-fancy-name")||"";""===i&&(i=n.querySelector("[data-group-name]")?.getAttribute("data-group-name")||"");const s=document.getElementById("edac-fixes-modal"),o=s.querySelector("#edac-fixes-modal-title"),r=s.querySelector(".edac-fixes-modal__body");o.innerText=i,r.innerHTML=e,r.appendChild(n),s.querySelectorAll("input, select, textarea").forEach((e=>{const t=()=>{document.dispatchEvent(new CustomEvent("edac-fix-settings-change"))};e.addEventListener("change",t),Ie.push({field:e,changeListener:t})})),s.querySelector(".edac-fix-settings--button--save").addEventListener("click",(()=>{Le(r.querySelector(".edac-fix-settings--fields"))})),document.addEventListener("edac-fix-settings-change",(()=>{s.querySelector("[aria-live]").innerText=""}))})(`<p class="modal-opening-message">${(0,Te.__)("These settings enable global fixes across your entire site. Pages may need to be resaved or a full site scan run to see fixes reflected in reports.","accessibility-checker")}</p>`,t),this.panelDescriptionFocusTrap.pause(),(e=>{const t=document.getElementById("edac-fixes-modal");t.classList.add("edac-fixes-modal--open"),t.setAttribute("aria-hidden","false"),t.setAttribute("aria-modal","true"),Array.from(document.body.children).forEach((e=>{"edac-fixes-modal"===e.id||e.classList.contains("edac-fixes-modal__overlay")||!0!==e.getAttribute("aria-hidden")&&(e.setAttribute("aria-hidden","true"),e.setAttribute("data-hidden-by-modal","true"))})),document.body.classList.add("edac-fixes-modal--open"),Ce=e;const n=t.querySelector(".edac-fixes-modal__body").querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');n&&setTimeout((()=>{n.focus()}),100),t.addEventListener("keydown",(e=>{if("Tab"===e.key){const n=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),i=n[0],s=n[n.length-1];e.shiftKey&&document.activeElement===i?(e.preventDefault(),s.focus()):e.shiftKey||document.activeElement!==s||(e.preventDefault(),i.focus())}}))})(e.target),document.addEventListener("edac-fixes-modal-closed",(()=>{this.panelDescriptionFocusTrap.unpause()}))}countIssues(e){let t=0;for(const n of this.issues)n.rule_type===e&&t++;return t}countIgnored(){let e=0;for(const t of this.issues)"1"===t.ignored&&e++;return e}showIssueCount(){const e=this.countIssues("error"),t=this.countIssues("warning"),n=this.countIgnored(),i=document.querySelector(".edac-highlight-panel-controls-summary");let s=(0,Te.__)("No issues detected.","accessibility-checker");(e>0||t>0||n>0)&&(s="",this.nextButton.disabled=!1,this.previousButton.disabled=!1,e>=0&&(s+=e+" "+(0,Te._n)("error","errors",e,"accessibility-checker")+", "),t>=0&&(s+=t+" "+(0,Te._n)("warning","warnings",t,"accessibility-checker")+", "),n>0?s+=(0,Te.__)("and","accessibility-checker")+" "+n+" "+(0,Te._n)("ignored issue","ignored issues",n,"accessibility-checker")+" "+(0,Te.__)("detected.","accessibility-checker"):s=s.slice(0,-2)+" "+(0,Te.__)("detected.","accessibility-checker")),i.textContent=s}highlightLandmark(e){try{const t=atob(e);let n=null;try{n=document.querySelector(t)}catch(e){}if(!n){const e=[t.replace(/:nth-child\(\d+\)/g,"").replace(/\s+>\s+/g," "),t.split(" > ").pop(),t.replace(/\.[^:\s>]+/g,"")];for(const t of e)if(t&&t.trim())try{if(n=document.querySelector(t.trim()),n)break}catch(e){}}if(n){this.removeLandmarkLabels(),n.classList.add("edac-highlight-element-selected"),n.classList.add("edac-landmark-highlight");const e=this.getLandmarkType(n),t=document.createElement("div");t.classList.add("edac-landmark-label"),t.textContent=(0,Te.sprintf)((0,Te.__)("Landmark: %s","accessibility-checker"),e),t.setAttribute("aria-hidden","true"),t.style.cssText="\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tbackground: #072446;\n\t\t\t\t\tcolor: white;\n\t\t\t\t\tpadding: 4px 8px;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t\tborder-radius: 3px;\n\t\t\t\t\tz-index: 99998;\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\tfont-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n\t\t\t\t\tline-height: 1;\n\t\t\t\t\tbox-shadow: 0 2px 4px rgba(0,0,0,0.2);\n\t\t\t\t";const i=n.getBoundingClientRect();t.style.left=i.left+window.scrollX-0+"px",t.style.top=i.top+window.scrollY-0+"px",document.body.appendChild(t),n.setAttribute("data-edac-landmark-label-id",Date.now()),t.setAttribute("data-edac-landmark-for",n.getAttribute("data-edac-landmark-label-id")),n.offsetWidth<20&&n.classList.add("edac-highlight-element-selected-min-width"),n.offsetHeight<5&&n.classList.add("edac-highlight-element-selected-min-height");const s=n.getBoundingClientRect().top+window.scrollY-75;window.scrollTo({top:s,behavior:"smooth"})}}catch(e){}}getLandmarkType(e){const t=e.getAttribute("role");if(t)switch(t.toLowerCase()){case"banner":return"Header";case"navigation":return"Navigation";case"main":return"Main";case"complementary":return"Complementary";case"contentinfo":return"Footer";case"search":return"Search";case"form":return"Form";case"region":return"Region";default:return t.charAt(0).toUpperCase()+t.slice(1)}switch(e.tagName.toLowerCase()){case"header":return"Header";case"nav":return"Navigation";case"main":return"Main";case"aside":return"Complementary";case"footer":return"Footer";case"section":return e.getAttribute("aria-label")||e.getAttribute("aria-labelledby")||e.querySelector("h1, h2, h3, h4, h5, h6")?"Region":"Section";case"form":return e.getAttribute("aria-label")||e.getAttribute("aria-labelledby")?"Form":"Form (unlabeled)";default:return"Landmark"}}removeLandmarkLabels(){document.querySelectorAll(".edac-landmark-label").forEach((e=>{e.remove()}));document.querySelectorAll(".edac-landmark-highlight").forEach((e=>{e.classList.remove("edac-landmark-highlight"),e.removeAttribute("data-edac-landmark-label-id")}))}kickoffScan(){const e={elementCount:document.body.getElementsByTagName("*").length,contentLength:document.body.innerText.length},t=this,n="edac-accessibility-checker-scanner-script";if(document.getElementById(n))t._runScanOrShowError(e);else{const i=document.createElement("script");i.src=window.edacFrontendHighlighterApp?.scannerBundleUrl||"/wp-content/plugins/accessibility-checker/build/pageScanner.bundle.js",i.id=n,i.onload=function(){setTimeout((()=>{t._runScanOrShowError(e)}),100)},i.onerror=function(){t.showWait(!1),t.showScanError("Failed to load scanner script.")},document.head.appendChild(i)}}_runScanOrShowError(e){window.runAccessibilityScan?this.runAccessibilityScanAndSave(e):(this.showWait(!1),this.showScanError((0,Te.__)("Scanner function not found.","accessibility-checker")))}runAccessibilityScanAndSave(e){const t=this,n=document.querySelector(".edac-highlight-panel-controls-summary");n&&(n.textContent=(0,Te.__)("Scanning...","accessibility-checker"),n.classList.remove("edac-error")),window.runAccessibilityScan().then((n=>{const i=window.edacFrontendHighlighterApp&&window.edacFrontendHighlighterApp.postID,s=window.edacFrontendHighlighterApp&&window.edacFrontendHighlighterApp.restNonce;return i&&s?n&&n.violations&&0!==n.violations.length?void t.saveScanResults(i,s,n.violations,e):(t.showWait(!1),void t.showScanError((0,Te.__)("No violations found, skipping save.","accessibility-checker"))):(t.showWait(!1),void t.showScanError((0,Te.__)("Missing postId or nonce.","accessibility-checker")))})).catch((()=>{t.showWait(!1),t.showScanError((0,Te.__)("Accessibility scan error.","accessibility-checker"))}))}saveScanResults(e,t,n,i){const s=this;fetch("/wp-json/accessibility-checker/v1/post-scan-results/"+e,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":t},body:JSON.stringify({violations:n,isSkipped:!1,isFailure:!1,densityMetrics:i})}).then((e=>e.json())).then((e=>{s.showWait(!1),e&&e.success||s.showScanError((0,Te.__)("Saving failed.","accessibility-checker"))})).catch((()=>{s.showWait(!1),s.showScanError((0,Te.__)("Error saving scan results.","accessibility-checker"))}))}rescanPage(){this._isRescanning||(this._isRescanning=!0,this.removeHighlightButtons(),this.kickoffScan(),setTimeout((()=>{this._isRescanning=!1,this.panelOpen()}),5e3))}clearIssues(){if(!confirm((0,Te.__)("This will clear all issues for this post. A save will be required to trigger a fresh scan of the post content. Do you want to continue?","accessibility-checker")))return;if(!this.clearIssuesButton)return;if(!edacFrontendHighlighterApp?.edacUrl||!edacFrontendHighlighterApp?.postID){const e=document.querySelector(".edac-highlight-panel-controls-summary");return void(e&&(e.textContent=(0,Te.__)("Error: Missing required parameters.","accessibility-checker"),e.classList.add("edac-error")))}this.clearIssuesButton.disabled=!0,this.clearIssuesButton.textContent=(0,Te.__)("Clearing...","accessibility-checker");const e=document.querySelector(".edac-highlight-panel-controls-summary");fetch(`${edacFrontendHighlighterApp.edacUrl}/wp-json/accessibility-checker/v1/clear-issues/${edacFrontendHighlighterApp.postID}`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":edacFrontendHighlighterApp.restNonce},body:JSON.stringify({id:edacFrontendHighlighterApp.postID,flush:!0})}).then((t=>{t.ok?(this.removeHighlightButtons(),this.issues=[],this.showIssueCount(),e&&(e.textContent=(0,Te.__)("Issues cleared successfully.","accessibility-checker"),e.classList.remove("edac-error"))):e&&(e.textContent=(0,Te.__)("Failed to clear issues.","accessibility-checker"),e.classList.add("edac-error"))})).catch((()=>{e&&(e.textContent=(0,Te.__)("An error occurred while clearing issues.","accessibility-checker"),e.classList.add("edac-error"))})).finally((()=>{this.clearIssuesButton.disabled=!1,this.clearIssuesButton.textContent=(0,Te.__)("Clear Issues","accessibility-checker")}))}showScanError(e){const t=document.querySelector(".edac-highlight-panel-controls-summary");t&&(t.textContent=e,t.classList.add("edac-error"))}}let Be=!1;const Re=()=>{Be||(new Oe,window.edacFrontendHighlighterApp?.userCanFix&&Fe(),Be=!0)};["DOMContentLoaded","load"].forEach((e=>{window.addEventListener(e,Re)}))})()})(); -
accessibility-checker/tags/1.37.0/build/frontendHighlighterApp.bundle.js.LICENSE.txt
r3340594 r3448940 8 8 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 9 9 */ 10 11 /*! *****************************************************************************12 Copyright (c) Microsoft Corporation.13 14 Permission to use, copy, modify, and/or distribute this software for any15 purpose with or without fee is hereby granted.16 17 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH18 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY19 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,20 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM21 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR22 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR23 PERFORMANCE OF THIS SOFTWARE.24 ***************************************************************************** */ -
accessibility-checker/tags/1.37.0/build/pageScanner.bundle.js
r3425603 r3448940 1 1 /*! For license information please see pageScanner.bundle.js.LICENSE.txt */ 2 (()=>{var e={609 :function(e,t,r){var n,a;e=r.nmd(e),function o(i){var u=i,l=i.document;function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var c=c||{};function d(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}c.version="4.8.2",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===s(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c),d.prototype=Object.create(Error.prototype),d.prototype.constructor=d;var p=["node"],f=["relatedNodes"],m=["node"],h=["variant"],D=["matches"],g=["chromium"],v=["noImplicit"],b=["noPresentational"],y=["precision","format","inGamut"],F=["space"],w=["algorithm"],E=["method"],C=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],A=["environmentData"],k=["environmentData"],N=["environmentData"],_=["environmentData"],T=["environmentData"];function B(e,t,r){return B=I()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&S(a,r.prototype),a},B.apply(null,arguments)}function R(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function O(e){var t=I();return function(){var r,n=P(e);if(t){var a=P(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return M(e)}(this,r)}}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}function L(e,t,r){q(e,t),t.set(e,r)}function j(e,t){q(e,t),t.add(e)}function q(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function z(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,H(e,t,"get"))}function V(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function $(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,H(e,t,"set"),r),r}function H(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function U(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function G(e){return function(e){if(Array.isArray(e))return ae(e)}(e)||W(e)||ne(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y.apply(this,arguments)}function K(e,t){return Z(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,_x,o,i=[],_n=!0,u=!1;try{if(_x=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;_n=!1}else for(;!(_n=(n=_x.call(r)).done)&&(i.push(n.value),i.length!==t);_n=!0);}catch(e){u=!0,a=e}finally{try{if(!_n&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return i}}(e,t)||ne(e,t)||X()}function X(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Z(e){if(Array.isArray(e))return e}function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,te(n.key),n)}}function ee(e,t,r){return t&&Q(e.prototype,t),r&&Q(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function te(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function re(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ne(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function ne(e,t){if(e){if("string"==typeof e)return ae(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ae(e,t):void 0}}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}!function(){var e,t,o,S,I=Object.create,P=Object.defineProperty,q=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty,Q=Object.getOwnPropertyNames,ae=Object.getOwnPropertyDescriptor,oe=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},ie=function(e,t){for(var r in t)P(e,r,{get:t[r],enumerable:!0})},ue=function(e){return function(e,t,r){if(t&&"object"===s(t)||"function"==typeof t){var n,a=re(Q(t));try{var o=function(){var a=n.value;H.call(e,a)||"default"===a||P(e,a,{get:function(){return t[a]},enumerable:!(r=ae(t,a))||r.enumerable})};for(a.s();!(n=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e}((t=P(null!=e?I(q(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),P(t,"__esModule",{value:!0})),e);var t},le=function(e,t,r){return function(e,t,r){t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==s(t)?t+"":t,r),r},se=oe((function(e,t){"use strict";t.exports=function(){}})),ce=oe((function(e,t){"use strict";var r=se()();t.exports=function(e){return e!==r&&null!==e}})),de=oe((function(e,t){"use strict";var r=ce(),n=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return n.call(arguments,(function(e){r(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)})),t}})),pe=oe((function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&(1===e(10)&&-1===e(-20))}})),fe=oe((function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}})),me=oe((function(e,t){"use strict";t.exports=pe()()?Math.sign:fe()})),he=oe((function(e,t){"use strict";var r=me(),n=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*a(n(e)):e}})),De=oe((function(e,t){"use strict";var r=he(),n=Math.max;t.exports=function(e){return n(0,r(e))}})),ge=oe((function(e,t){"use strict";var r=De();t.exports=function(e,t,n){var a;return isNaN(e)?(a=t)>=0?n&&a?a-1:a:1:!1!==e&&r(e)}})),ve=oe((function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),be=oe((function(e,t){"use strict";var r=ce();t.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}})),ye=oe((function(e,t){"use strict";var r=ve(),n=be(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(l,s){var c,d=arguments[2],p=arguments[3];return l=Object(n(l)),r(s),c=i(l),p&&c.sort("function"==typeof p?a.call(p,l):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,(function(e,r){return u.call(l,e)?o.call(s,d,l[e],e,l,r):t}))}}})),Fe=oe((function(e,t){"use strict";t.exports=ye()("forEach")})),we=oe((function(){})),Ee=oe((function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}})),Ce=oe((function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),xe=oe((function(e,t){"use strict";var r=ce(),n=Object.keys;t.exports=function(e){return n(r(e)?Object(e):e)}})),Ae=oe((function(e,t){"use strict";t.exports=Ce()()?Object.keys:xe()})),ke=oe((function(e,t){"use strict";var r=Ae(),n=be(),a=Math.max;t.exports=function(e,t){var o,i,u,l=a(arguments.length,2);for(e=Object(n(e)),u=function(r){try{e[r]=t[r]}catch(e){o||(o=e)}},i=1;i<l;++i)r(t=arguments[i]).forEach(u);if(void 0!==o)throw o;return e}})),Ne=oe((function(e,t){"use strict";t.exports=Ee()()?Object.assign:ke()})),_e=oe((function(e,t){"use strict";var r=ce(),n={function:!0,object:!0};t.exports=function(e){return r(e)&&n[s(e)]||!1}})),Te=oe((function(e,t){"use strict";var r=Ne(),n=_e(),a=ce(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),u=arguments[1],l=arguments[2];return a(l)||n(u)&&(l=u,u=null),a(l)&&r(i,l),a(u)&&(i.code=u),o&&o(i,t.exports),i}})),Be=oe((function(e,t){"use strict";var r=be(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var u,l=Object(r(t));if(e=Object(r(e)),o(l).forEach((function(r){try{n(e,r,a(t,r))}catch(e){u=e}})),"function"==typeof i&&i(l).forEach((function(r){try{n(e,r,a(t,r))}catch(e){u=e}})),void 0!==u)throw u;return e}})),Re=oe((function(e,t){"use strict";var r,n,a,o,i,u=De(),l=function(e,t){return t};try{Object.defineProperty(l,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===l.length?(r={configurable:!0,writable:!1,enumerable:!1},n=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(r.value=t,n(e,"length",r))}):(o=Be(),i=[],a=function(e){var t,r=0;if(i[e])return i[e];for(t=[];e--;)t.push("a"+(++r).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var r;if(t=u(t),e.length===t)return e;r=a(t)(e);try{o(r,e)}catch(e){}return r})})),Se=oe((function(e,t){"use strict";t.exports=function(e){return null!=e}})),Oe=oe((function(e,t){"use strict";var r=Se(),n={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,s(e))}})),Me=oe((function(e,t){"use strict";var r=Oe();t.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),Ie=oe((function(e,t){"use strict";var r=Me();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}})),Pe=oe((function(e,t){"use strict";var r=Ie(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!r(e)&&!n.test(a.call(e))}})),Le=oe((function(e,t){"use strict";var r="razdwatrzy";t.exports=function(){return"function"==typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}})),je=oe((function(e,t){"use strict";var r=String.prototype.indexOf;t.exports=function(e){return r.call(this,e,arguments[1])>-1}})),qe=oe((function(e,t){"use strict";t.exports=Le()()?String.prototype.contains:je()})),ze=oe((function(e,t){"use strict";var r=Se(),n=Pe(),a=Ne(),o=de(),i=qe(),u=t.exports=function(e,t){var n,u,l,s,c;return arguments.length<2||"string"!=typeof e?(s=t,t=e,e=null):s=arguments[2],r(e)?(n=i.call(e,"c"),u=i.call(e,"e"),l=i.call(e,"w")):(n=l=!0,u=!1),c={value:t,configurable:n,enumerable:u,writable:l},s?a(o(s),c):c};u.gs=function(e,t,u){var l,s,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],r(t)?n(t)?r(u)?n(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,r(e)?(l=i.call(e,"c"),s=i.call(e,"e")):(l=!0,s=!1),d={get:t,set:u,configurable:l,enumerable:s},c?a(o(c),d):d}})),Ve=oe((function(e,t){"use strict";var r,n,a,o,i,u,l,c=ze(),d=ve(),p=Function.prototype.apply,f=Function.prototype.call,m=Object.create,h=Object.defineProperty,D=Object.defineProperties,g=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){a.call(o,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var r,n,a,o;if(d(t),!g.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if(n=r[e],"object"===s(n))for(o=0;a=n[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},o=function(e){var t,r,n,a,o;if(g.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===s(a)){for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];for(a=a.slice(),t=0;n=a[t];++t)p.call(n,this,o)}else switch(arguments.length){case 1:f.call(a,this);break;case 2:f.call(a,this,arguments[1]);break;case 3:f.call(a,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];p.call(a,this,o)}},i={on:r=function(e,t){var r;return d(t),g.call(this,"__ee__")?r=this.__ee__:(r=v.value=m(null),h(this,"__ee__",v),v.value=null),r[e]?"object"===s(r[e])?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},once:n,off:a,emit:o},u={on:c(r),once:c(n),off:c(a),emit:c(o)},l=D({},u),t.exports=e=function(e){return null==e?m(l):D(Object(e),u)},e.methods=i})),$e=oe((function(e,t){"use strict";t.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&(t=r(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),He=oe((function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":s(globalThis))&&(!!globalThis&&globalThis.Array===Array)}})),Ue=oe((function(e,t){var r=function(){if("object"===("undefined"==typeof self?"undefined":s(self))&&self)return self;if("object"===(void 0===i?"undefined":s(i))&&i)return i;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()})),Ge=oe((function(e,t){"use strict";t.exports=He()()?globalThis:Ue()})),We=oe((function(e,t){"use strict";var r=Ge(),n={object:!0,symbol:!0};t.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!n[s(t.iterator)]&&(!!n[s(t.toPrimitive)]&&!!n[s(t.toStringTag)])}})),Ye=oe((function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===s(e)||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}})),Ke=oe((function(e,t){"use strict";var r=Ye();t.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}})),Xe=oe((function(e,t){"use strict";var r=ze(),n=Object.create,a=Object.defineProperty,o=Object.prototype,i=n(null);t.exports=function(e){for(var t,n,u=0;i[e+(u||"")];)++u;return i[e+=u||""]=!0,a(o,t="@@"+e,r.gs(null,(function(e){n||(n=!0,a(this,t,r(e)),n=!1)}))),t}})),Ze=oe((function(e,t){"use strict";var r=ze(),n=Ge().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))})}})),Je=oe((function(e,t){"use strict";var r=ze(),n=Ke(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:r((function(t){return a[t]?a[t]:a[t]=e(String(t))})),keyFor:r((function(e){var t;for(t in n(e),a)if(a[t]===e)return t}))})}})),Qe=oe((function(e,t){"use strict";var r,n,a,o=ze(),i=Ke(),u=Ge().Symbol,l=Xe(),c=Ze(),d=Je(),p=Object.create,f=Object.defineProperties,m=Object.defineProperty;if("function"==typeof u)try{String(u()),a=!0}catch(e){}else u=null;n=function(e){if(this instanceof n)throw new TypeError("Symbol is not a constructor");return r(e)},t.exports=r=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?u(t):(r=p(n.prototype),t=void 0===t?"":String(t),f(r,{__description__:o("",t),__name__:o("",l(t))}))},c(r),d(r),f(n.prototype,{constructor:o(r),toString:o("",(function(){return this.__name__}))}),f(r.prototype,{toString:o((function(){return"Symbol ("+i(this).__description__+")"})),valueOf:o((function(){return i(this)}))}),m(r.prototype,r.toPrimitive,o("",(function(){var e=i(this);return"symbol"===s(e)?e:e.toString()}))),m(r.prototype,r.toStringTag,o("c","Symbol")),m(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),m(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]))})),et=oe((function(e,t){"use strict";t.exports=We()()?Ge().Symbol:Qe()})),tt=oe((function(e,t){"use strict";var r=Object.prototype.toString,n=r.call(function(){return arguments}());t.exports=function(e){return r.call(e)===n}})),rt=oe((function(e,t){"use strict";var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&n(r.call(e))}})),nt=oe((function(e,t){"use strict";var r=Object.prototype.toString,n=r.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===s(e)&&(e instanceof String||r.call(e)===n)||!1}})),at=oe((function(e,t){"use strict";var r=et().iterator,n=tt(),a=rt(),o=De(),i=ve(),u=be(),l=ce(),s=nt(),c=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},f=Object.defineProperty;t.exports=function(e){var t,m,h,D,g,v,b,y,F,w,E=arguments[1],C=arguments[2];if(e=Object(u(e)),l(E)&&i(E),this&&this!==Array&&a(this))t=this;else{if(!E){if(n(e))return 1!==(g=e.length)?Array.apply(null,e):((D=new Array(1))[0]=e[0],D);if(c(e)){for(D=new Array(g=e.length),m=0;m<g;++m)D[m]=e[m];return D}}D=[]}if(!c(e))if(void 0!==(F=e[r])){for(b=i(F).call(e),t&&(D=new t),y=b.next(),m=0;!y.done;)w=E?d.call(E,C,y.value,m):y.value,t?(p.value=w,f(D,m,p)):D[m]=w,y=b.next(),++m;g=m}else if(s(e)){for(g=e.length,t&&(D=new t),m=0,h=0;m<g;++m)w=e[m],m+1<g&&(v=w.charCodeAt(0))>=55296&&v<=56319&&(w+=e[++m]),w=E?d.call(E,C,w,h):w,t?(p.value=w,f(D,h,p)):D[h]=w,++h;g=h}if(void 0===g)for(g=o(e.length),t&&(D=new t(g)),m=0;m<g;++m)w=E?d.call(E,C,e[m],m):e[m],t?(p.value=w,f(D,m,p)):D[m]=w;return t&&(p.value=null,D.length=g),D}})),ot=oe((function(e,t){"use strict";t.exports=$e()()?Array.from:at()})),it=oe((function(e,t){"use strict";var r=ot(),n=Array.isArray;t.exports=function(e){return n(e)?e:r(e)}})),ut=oe((function(e,t){"use strict";var r,n=it(),a=ce(),o=ve(),i=Array.prototype.slice;r=function(e){return this.map((function(t,r){return t?t(e[r]):e[r]})).concat(i.call(e,this.length))},t.exports=function(e){return(e=n(e)).forEach((function(e){a(e)&&o(e)})),r.bind(e)}})),lt=oe((function(e,t){"use strict";var r=ve();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}})),st=oe((function(e,t){"use strict";var r=Te(),n=Re(),a=ze(),o=Ve().methods,i=ut(),u=lt(),l=Function.prototype.apply,s=Function.prototype.call,c=Object.create,d=Object.defineProperties,p=o.on,f=o.emit;t.exports=function(e,t,o){var m,h,D,g,v,b,y,F,w,E,C,x,A,k,N,_=c(null);return h=!1!==t?t:isNaN(e.length)?1:e.length,o.normalizer&&(E=u(o.normalizer),D=E.get,g=E.set,v=E.delete,b=E.clear),null!=o.resolvers&&(N=i(o.resolvers)),k=D?n((function(t){var n,a,o=arguments;if(N&&(o=N(o)),null!==(n=D(o))&&hasOwnProperty.call(_,n))return C&&m.emit("get",n,o,this),_[n];if(a=1===o.length?s.call(e,this,o[0]):l.call(e,this,o),null===n){if(null!==(n=D(o)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=g(o)}else if(hasOwnProperty.call(_,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return _[n]=a,x&&m.emit("set",n,null,a),a}),h):0===t?function(){var t;if(hasOwnProperty.call(_,"data"))return C&&m.emit("get","data",arguments,this),_.data;if(t=arguments.length?l.call(e,this,arguments):s.call(e,this),hasOwnProperty.call(_,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return _.data=t,x&&m.emit("set","data",null,t),t}:function(t){var n,a,o=arguments;if(N&&(o=N(arguments)),a=String(o[0]),hasOwnProperty.call(_,a))return C&&m.emit("get",a,o,this),_[a];if(n=1===o.length?s.call(e,this,o[0]):l.call(e,this,o),hasOwnProperty.call(_,a))throw r("Circular invocation","CIRCULAR_INVOCATION");return _[a]=n,x&&m.emit("set",a,null,n),n},m={original:e,memoized:k,profileName:o.profileName,get:function(e){return N&&(e=N(e)),D?D(e):String(e[0])},has:function(e){return hasOwnProperty.call(_,e)},delete:function(e){var t;hasOwnProperty.call(_,e)&&(v&&v(e),t=_[e],delete _[e],A&&m.emit("delete",e,t))},clear:function(){var e=_;b&&b(),_=c(null),m.emit("clear",e)},on:function(e,t){return"get"===e?C=!0:"set"===e?x=!0:"delete"===e&&(A=!0),p.call(this,e,t)},emit:f,updateEnv:function(){e=m.original}},y=D?n((function(e){var t,r=arguments;N&&(r=N(r)),null!==(t=D(r))&&m.delete(t)}),h):0===t?function(){return m.delete("data")}:function(e){return N&&(e=N(arguments)[0]),m.delete(e)},F=n((function(){var e,r=arguments;return 0===t?_.data:(N&&(r=N(r)),e=D?D(r):String(r[0]),_[e])})),w=n((function(){var e,r=arguments;return 0===t?m.has("data"):(N&&(r=N(r)),null!==(e=D?D(r):String(r[0]))&&m.has(e))})),d(k,{__memoized__:a(!0),delete:a(y),clear:a(m.clear),_get:a(F),_has:a(w)}),m}})),ct=oe((function(e,t){"use strict";var r=ve(),n=Fe(),a=we(),o=st(),i=ge();t.exports=function e(t){var u,l,s;if(r(t),(u=Object(arguments[1])).async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!u.force?t:(l=i(u.length,t.length,u.async&&a.async),s=o(t,l,u),n(a,(function(e,t){u[t]&&e(u[t],s,u)})),e.__profiler__&&e.__profiler__(s),s.updateEnv(),s.memoized)}})),dt=oe((function(e,t){"use strict";t.exports=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}})),pt=oe((function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var r=String(t[0]),n=0,a=e;--a;)r+=""+t[++n];return r}:function(){return""}}})),ft=oe((function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&(!e({})&&e(NaN)&&!e(34))}})),mt=oe((function(e,t){"use strict";t.exports=function(e){return e!=e}})),ht=oe((function(e,t){"use strict";t.exports=ft()()?Number.isNaN:mt()})),Dt=oe((function(e,t){"use strict";var r=ht(),n=De(),a=be(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,u=Math.abs,l=Math.floor;t.exports=function(e){var t,s,c,d;if(!r(e))return o.apply(this,arguments);for(s=n(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?l(c):n(this.length)-l(u(c));t<s;++t)if(i.call(this,t)&&(d=this[t],r(d)))return t;return-1}})),gt=oe((function(e,t){"use strict";var r=Dt(),n=Object.create;t.exports=function(){var e=0,t=[],a=n(null);return{get:function(e){var n,a=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;a<i-1;){if(-1===(n=r.call(o[0],e[a])))return null;o=o[1][n],++a}return-1===(n=r.call(o[0],e[a]))?null:o[1][n]||null}return null},set:function(n){var o,i=0,u=t,l=n.length;if(0===l)u[l]=++e;else{for(u[l]||(u[l]=[[],[]]),u=u[l];i<l-1;)-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1,u[1].push([[],[]])),u=u[1][o],++i;-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1),u[1][o]=++e}return a[e]=n,e},delete:function(e){var n,o=0,i=t,u=a[e],l=u.length,s=[];if(0===l)delete i[l];else if(i=i[l]){for(;o<l-1;){if(-1===(n=r.call(i[0],u[o])))return;s.push(i,n),i=i[1][n],++o}if(-1===(n=r.call(i[0],u[o])))return;for(e=i[1][n],i[0].splice(n,1),i[1].splice(n,1);!i[0].length&&s.length;)n=s.pop(),(i=s.pop())[0].splice(n,1),i[1].splice(n,1)}delete a[e]},clear:function(){t=[],a=n(null)}}}})),vt=oe((function(e,t){"use strict";var r=Dt();t.exports=function(){var e=0,t=[],n=[];return{get:function(e){var a=r.call(t,e[0]);return-1===a?null:n[a]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var a=r.call(n,e);-1!==a&&(t.splice(a,1),n.splice(a,1))},clear:function(){t=[],n=[]}}}})),bt=oe((function(e,t){"use strict";var r=Dt(),n=Object.create;t.exports=function(e){var t=0,a=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,i=a;o<e-1;){if(-1===(n=r.call(i[0],t[o])))return null;i=i[1][n],++o}return-1===(n=r.call(i[0],t[o]))?null:i[1][n]||null},set:function(n){for(var i,u=0,l=a;u<e-1;)-1===(i=r.call(l[0],n[u]))&&(i=l[0].push(n[u])-1,l[1].push([[],[]])),l=l[1][i],++u;return-1===(i=r.call(l[0],n[u]))&&(i=l[0].push(n[u])-1),l[1][i]=++t,o[t]=n,t},delete:function(t){for(var n,i=0,u=a,l=[],s=o[t];i<e-1;){if(-1===(n=r.call(u[0],s[i])))return;l.push(u,n),u=u[1][n],++i}if(-1!==(n=r.call(u[0],s[i]))){for(t=u[1][n],u[0].splice(n,1),u[1].splice(n,1);!u[0].length&&l.length;)n=l.pop(),(u=l.pop())[0].splice(n,1),u[1].splice(n,1);delete o[t]}},clear:function(){a=[[],[]],o=n(null)}}}})),yt=oe((function(e,t){"use strict";var r=ve(),n=Fe(),a=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return r(t),n(e,(function(e,r,n,u){o[r]=a.call(t,i,e,r,n,u)})),o}})),Ft=oe((function(e,t){"use strict";var r=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var t,n,a=l.createTextNode(""),o=0;return new e((function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(a.data=o=++o%2;n;)e=n.shift(),n.length||(n=null),e()})).observe(a,{characterData:!0}),function(e){r(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,a.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":s(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(r(e))};if("object"===(void 0===l?"undefined":s(l))&&l){if("function"==typeof MutationObserver)return n(MutationObserver);if("function"==typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(r(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":s(setTimeout))?function(e){setTimeout(r(e),0)}:null}()})),wt=oe((function(){"use strict";var e=ot(),t=yt(),r=Be(),n=Re(),a=Ft(),o=Array.prototype.slice,i=Function.prototype.apply,u=Object.create;we().async=function(l,s){var c,d,p,f=u(null),m=u(null),h=s.memoized,D=s.original;s.memoized=n((function(e){var t=arguments,r=t[t.length-1];return"function"==typeof r&&(c=r,t=o.call(t,0,-1)),h.apply(d=this,p=t)}),h);try{r(s.memoized,h)}catch(e){}s.on("get",(function(e){var t,r,n;if(c){if(f[e])return"function"==typeof f[e]?f[e]=[f[e],c]:f[e].push(c),void(c=null);t=c,r=d,n=p,c=d=p=null,a((function(){var a;hasOwnProperty.call(m,e)?(a=m[e],s.emit("getasync",e,n,r),i.call(t,a.context,a.args)):(c=t,d=r,p=n,h.apply(r,n))}))}})),s.original=function(){var t,r,n,o;return c?(t=e(arguments),r=function t(r){var n,u,l=t.id;if(null!=l){if(delete t.id,n=f[l],delete f[l],n)return u=e(arguments),s.has(l)&&(r?s.delete(l):(m[l]={context:this,args:u},s.emit("setasync",l,"function"==typeof n?1:n.length))),"function"==typeof n?o=i.call(n,this,u):n.forEach((function(e){o=i.call(e,this,u)}),this),o}else a(i.bind(t,this,arguments))},n=c,c=d=p=null,t.push(r),o=i.call(D,this,t),r.cb=n,c=r,o):i.call(D,this,arguments)},s.on("set",(function(e){c?(f[e]?"function"==typeof f[e]?f[e]=[f[e],c.cb]:f[e].push(c.cb):f[e]=c.cb,delete c.cb,c.id=e,c=null):s.delete(e)})),s.on("delete",(function(e){var t;hasOwnProperty.call(f,e)||m[e]&&(t=m[e],delete m[e],s.emit("deleteasync",e,o.call(t.args,1)))})),s.on("clear",(function(){var e=m;m=u(null),s.emit("clearasync",t(e,(function(e){return o.call(e.args,1)})))}))}})),Et=oe((function(e,t){"use strict";var r=Array.prototype.forEach,n=Object.create;t.exports=function(e){var t=n(null);return r.call(arguments,(function(e){t[e]=!0})),t}})),Ct=oe((function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}})),xt=oe((function(e,t){"use strict";var r=Ct();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),At=oe((function(e,t){"use strict";var r=be(),n=xt();t.exports=function(e){return n(r(e))}})),kt=oe((function(e,t){"use strict";var r=Ct();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),Nt=oe((function(e,t){"use strict";var r=kt(),n=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t=t.replace(n,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),_t=oe((function(e,t){function r(e){return!!e&&("object"===s(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=r,t.exports.default=r})),Tt=oe((function(){"use strict";var e=yt(),t=Et(),r=At(),n=Nt(),a=_t(),o=Ft(),i=Object.create,u=t("then","then:finally","done","done:finally");we().promise=function(t,l){var s=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=r(t),!u[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");l.on("set",(function(e,r,n){var i=!1;if(!a(n))return c[e]=n,void l.emit("setasync",e,1);s[e]=1,d[e]=n;var u=function(t){var r=s[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete s[e],c[e]=t,l.emit("setasync",e,r))},p=function(){i=!0,s[e]&&(delete s[e],delete d[e],l.delete(e))},f=t;if(f||(f="then"),"then"===f){var m=function(){o(p)};"function"==typeof(n=n.then((function(e){o(u.bind(this,e))}),m)).finally&&n.finally(m)}else if("done"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(u,p)}else if("done:finally"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(u),n.finally(p)}})),l.on("get",(function(e,t,r){var n;if(s[e])++s[e];else{n=d[e];var i=function(){l.emit("getasync",e,t,r)};a(n)?"function"==typeof n.done?n.done(i):n.then((function(){o(i)})):i()}})),l.on("delete",(function(e){if(delete d[e],s[e])delete s[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],l.emit("deleteasync",e,[t])}})),l.on("clear",(function(){var t=c;c=i(null),s=i(null),d=i(null),l.emit("clearasync",e(t,(function(e){return[e]})))}))}})),Bt=oe((function(){"use strict";var e=ve(),t=Fe(),r=we(),n=Function.prototype.apply;r.dispose=function(a,o,i){var u;if(e(a),i.async&&r.async||i.promise&&r.promise)return o.on("deleteasync",u=function(e,t){n.call(a,null,t)}),void o.on("clearasync",(function(e){t(e,(function(e,t){u(t,e)}))}));o.on("delete",u=function(e,t){a(t)}),o.on("clear",(function(e){t(e,(function(e,t){u(t,e)}))}))}})),Rt=oe((function(e,t){"use strict";t.exports=2147483647})),St=oe((function(e,t){"use strict";var r=De(),n=Rt();t.exports=function(e){if((e=r(e))>n)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),Ot=oe((function(){"use strict";var e=ot(),t=Fe(),r=Ft(),n=_t(),a=St(),o=we(),i=Function.prototype,u=Math.max,l=Math.min,s=Object.create;o.maxAge=function(c,d,p){var f,m,h,D;(c=a(c))&&(f=s(null),m=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+m,(function(e){f[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof f[e].unref&&f[e].unref(),D&&(D[e]&&"nextTick"!==D[e]&&clearTimeout(D[e]),D[e]=setTimeout((function(){delete D[e]}),h),"function"==typeof D[e].unref&&D[e].unref())})),d.on("delete"+m,(function(e){clearTimeout(f[e]),delete f[e],D&&("nextTick"!==D[e]&&clearTimeout(D[e]),delete D[e])})),p.preFetch&&(h=!0===p.preFetch||isNaN(p.preFetch)?.333:u(l(Number(p.preFetch),1),0))&&(D={},h=(1-h)*c,d.on("get"+m,(function(t,a,o){D[t]||(D[t]="nextTick",r((function(){var r;"nextTick"===D[t]&&(delete D[t],d.delete(t),p.async&&(a=e(a)).push(i),r=d.memoized.apply(o,a),p.promise&&n(r)&&("function"==typeof r.done?r.done(i,i):r.then(i,i)))})))}))),d.on("clear"+m,(function(){t(f,(function(e){clearTimeout(e)})),f={},D&&(t(D,(function(e){"nextTick"!==e&&clearTimeout(e)})),D={})})))}})),Mt=oe((function(e,t){"use strict";var r=De(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=n(null),l=n(null),s=0;return e=r(e),{hit:function(r){var n=l[r],c=++s;if(u[c]=r,l[r]=c,!n){if(++o<=e)return;return r=u[i],t(r),r}if(delete u[n],i===n)for(;!a.call(u,++i););},delete:t=function(e){var t=l[e];if(t&&(delete u[t],delete l[e],--o,i===t)){if(!o)return s=0,void(i=1);for(;!a.call(u,++i););}},clear:function(){o=0,i=1,u=n(null),l=n(null),s=0}}}})),It=oe((function(){"use strict";var e=De(),t=Mt(),r=we();r.max=function(n,a,o){var i,u,l;(n=e(n))&&(u=t(n),i=o.async&&r.async||o.promise&&r.promise?"async":"",a.on("set"+i,l=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+i,l),a.on("delete"+i,u.delete),a.on("clear"+i,u.clear))}})),Pt=oe((function(){"use strict";var e=ze(),t=we(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,o,i){var u,l;u=r(null),l=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+l,(function(e,t){u[e]=t||1})),o.on("get"+l,(function(e){++u[e]})),o.on("delete"+l,(function(e){delete u[e]})),o.on("clear"+l,(function(){u={}})),n(o.memoized,{deleteRef:e((function(){var e=o.get(arguments);return null===e?null:u[e]?! --u[e]&&(o.delete(e),!0):null})),getRefCount:e((function(){var e=o.get(arguments);return null===e?0:u[e]?u[e]:0}))})}})),Lt=oe((function(e,t){"use strict";var r=de(),n=ge(),a=ct();t.exports=function(e){var t,o=r(arguments[1]);return o.normalizer||0!==(t=o.length=n(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=dt():t>1&&(o.normalizer=pt()(t)):o.normalizer=!1===t?gt()():1===t?vt()():bt()(t)),o.async&&wt(),o.promise&&Tt(),o.dispose&&Bt(),o.maxAge&&Ot(),o.max&&It(),o.refCounter&&Pt(),a(e,o)}})),jt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var r=t.length,n="",a=0;a<r;){var o=t.charAt(a);if(e.identSpecialChars[o])n+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")n+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var u=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&u)+65536}n+="\\"+i.toString(16)+" "}a++}return n},e.escapeStr=function(t){for(var r,n=t.length,a="",o=0;o<n;){var i=t.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":void 0!==(r=e.strReplacementsRev[i])&&(i=r),a+=i,o++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}})),qt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt();e.parseCssSelector=function(e,r,n,a,o,i){var u=e.length,l="";function s(n,a){var o="";for(r++,l=e.charAt(r);r<u;){if(l===n)return r++,o;if("\\"===l){r++;var i=void 0;if((l=e.charAt(r))===n)o+=n;else if(void 0!==(i=a[l]))o+=i;else{if(t.isHex(l)){var s=l;for(r++,l=e.charAt(r);t.isHex(l);)s+=l,r++,l=e.charAt(r);" "===l&&(r++,l=e.charAt(r)),o+=String.fromCharCode(parseInt(s,16));continue}o+=l}}else o+=l;r++,l=e.charAt(r)}return o}function c(){var n="";for(l=e.charAt(r);r<u;){if(t.isIdent(l))n+=l;else{if("\\"!==l)return n;if(++r>=u)throw Error("Expected symbol but end of file reached.");if(l=e.charAt(r),t.identSpecialChars[l])n+=l;else{if(t.isHex(l)){var a=l;for(r++,l=e.charAt(r);t.isHex(l);)a+=l,r++,l=e.charAt(r);" "===l&&(r++,l=e.charAt(r)),n+=String.fromCharCode(parseInt(a,16));continue}n+=l}}r++,l=e.charAt(r)}return n}function d(){l=e.charAt(r);for(var t=!1;" "===l||"\t"===l||"\n"===l||"\r"===l||"\f"===l;)t=!0,r++,l=e.charAt(r);return t}function p(){var t=f();if(!t)return null;var n=t;for(l=e.charAt(r);","===l;){if(r++,d(),"selectors"!==n.type&&(n={type:"selectors",selectors:[t]}),!(t=f()))throw Error('Rule expected after ",".');n.selectors.push(t)}return n}function f(){d();var t={type:"ruleSet"},n=m();if(!n)return null;for(var a=t;n&&(n.type="rule",a.rule=n,a=n,d(),l=e.charAt(r),!(r>=u||","===l||")"===l));)if(o[l]){var i=l;if(r++,d(),!(n=m()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=m())&&(n.nestingOperator=null);return t}function m(){for(var o=null;r<u;)if("*"===(l=e.charAt(r)))r++,(o=o||{}).tagName="*";else if(t.isIdentStart(l)||"\\"===l)(o=o||{}).tagName=c();else if("."===l)r++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===l)r++,(o=o||{}).id=c();else if("["===l){r++,d();var f={name:c()};if(d(),"]"===l)r++;else{var m="";if(a[l]&&(m=l,r++,l=e.charAt(r)),r>=u)throw Error('Expected "=" but end of file reached.');if("="!==l)throw Error('Expected "=" but "'+l+'" found.');f.operator=m+"=",r++,d();var h="";if(f.valueType="string",'"'===l)h=s('"',t.doubleQuotesEscapeChars);else if("'"===l)h=s("'",t.singleQuoteEscapeChars);else if(i&&"$"===l)r++,h=c(),f.valueType="substitute";else{for(;r<u&&"]"!==l;)h+=l,r++,l=e.charAt(r);h=h.trim()}if(d(),r>=u)throw Error('Expected "]" but end of file reached.');if("]"!==l)throw Error('Expected "]" but "'+l+'" found.');r++,f.value=h}((o=o||{}).attrs=o.attrs||[]).push(f)}else{if(":"!==l)break;r++;var D=c(),g={name:D};if("("===l){r++;var v="";if(d(),"selector"===n[D])g.valueType="selector",v=p();else{if(g.valueType=n[D]||"string",'"'===l)v=s('"',t.doubleQuotesEscapeChars);else if("'"===l)v=s("'",t.singleQuoteEscapeChars);else if(i&&"$"===l)r++,v=c(),g.valueType="substitute";else{for(;r<u&&")"!==l;)v+=l,r++,l=e.charAt(r);v=v.trim()}d()}if(r>=u)throw Error('Expected ")" but end of file reached.');if(")"!==l)throw Error('Expected ")" but "'+l+'" found.');r++,g.value=v}((o=o||{}).pseudos=o.pseudos||[]).push(g)}return o}return function(){var t=p();if(r<u)throw Error('Rule expected but "'+e.charAt(r)+'" found.');return t}()}})),zt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt();e.renderEntity=function e(r){var n="";switch(r.type){case"ruleSet":for(var a=r.rule,o=[];a;)a.nestingOperator&&o.push(a.nestingOperator),o.push(e(a)),a=a.rule;n=o.join(" ");break;case"selectors":n=r.selectors.map(e).join(", ");break;case"rule":r.tagName&&(n="*"===r.tagName?"*":t.escapeIdentifier(r.tagName)),r.id&&(n+="#"+t.escapeIdentifier(r.id)),r.classNames&&(n+=r.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),r.attrs&&(n+=r.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),r.pseudos&&(n+=r.pseudos.map((function(r){return r.valueType?"selector"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+e(r.value)+")":"substitute"===r.valueType?":"+t.escapeIdentifier(r.name)+"($"+r.value+")":"numeric"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+r.value+")":":"+t.escapeIdentifier(r.name)+"("+t.escapeIdentifier(r.value)+")":":"+t.escapeIdentifier(r.name)})).join(""));break;default:throw Error('Unknown entity type: "'+r.type+'".')}return n}})),Vt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=qt(),r=zt(),n=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.ruleNestingOperators[a]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.ruleNestingOperators[a]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.attrEqualityMods[a]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.attrEqualityMods[a]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return r.renderEntity(e).trim()},e}();e.CssSelectorParser=n})),$t=oe((function(e,t){!function(){"use strict";var n={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":s(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==u)return u;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),n.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,(function(e){return t[e]||e})):""}},void 0!==t&&t.exports?t.exports=n:void 0===(a=function(){return n}.call(e,r,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},l=/$^/;function c(e,t,r){return("string"==typeof t?t:t.toString()).replace(e.define||l,(function(t,n,a,o){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in r||(":"===a?(e.defineParams&&o.replace(e.defineParams,(function(e,t,a){r[n]={arg:t,text:a}})),n in r||(r[n]=o)):new Function("def","def['"+n+"']="+o)(r)),""})).replace(e.use||l,(function(t,n){e.useParams&&(n=n.replace(e.useParams,(function(e,t,n,a){if(r[n]&&r[n].arg&&a){var o=(n+":"+a).replace(/'|\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[n].text.replace(new RegExp("(^|[^\\w$])"+r[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}})));var a=new Function("def","return "+n)(r);return a?c(e,a,r):a}))}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}n.template=function(e,t,r){var a,i,u=(t=t||n.templateSettings).append?o.append:o.split,s=0,p=t.use||t.define?c(t,e,r||{}):e;p=("var out='"+(t.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(t.interpolate||l,(function(e,t){return u.start+d(t)+u.end})).replace(t.encode||l,(function(e,t){return a=!0,u.startencode+d(t)+u.end})).replace(t.conditional||l,(function(e,t,r){return t?r?"';}else if("+d(r)+"){out+='":"';}else{out+='":r?"';if("+d(r)+"){out+='":"';}out+='"})).replace(t.iterate||l,(function(e,t,r,n){return t?(s+=1,i=n||"i"+s,t=d(t),"';var arr"+s+"="+t+";if(arr"+s+"){var "+r+","+i+"=-1,l"+s+"=arr"+s+".length-1;while("+i+"<l"+s+"){"+r+"=arr"+s+"["+i+"+=1];out+='"):"';} } out+='"})).replace(t.evaluate||l,(function(e,t){return"';"+d(t)+"out+='"}))+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(t.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=n.encodeHTMLSource(t.doNotSkipEncoded)),p="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+n.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+p);try{return new Function(t.varname,p)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+p),e}},n.compile=function(e,t){return n.template(e,null,t)}}()})),Ht=oe((function(e,t){var o;o=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,n=void 0,a=void 0,o=function(e,t){D[r]=e,D[r+1]=t,2===(r+=2)&&(a?a(g):w())},c=void 0!==i?i:void 0,d=c||{},p=d.MutationObserver||d.WebKitMutationObserver,f="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),m="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(g,1)}}var D=new Array(1e3);function g(){for(var e=0;e<r;e+=2)(0,D[e])(D[e+1]),D[e]=void 0,D[e+1]=void 0;r=0}var v,b,y,F,w=void 0;function E(e,t){var r=this,n=new this.constructor(A);void 0===n[x]&&j(n);var a=r._state;if(a){var i=arguments[a-1];o((function(){return P(a,n,i,r._result)}))}else M(r,n,e,t);return n}function C(e){if(e&&"object"===s(e)&&e.constructor===this)return e;var t=new this(A);return B(t,e),t}f?w=function(){return process.nextTick(g)}:p?(b=0,y=new p(g),F=l.createTextNode(""),y.observe(F,{characterData:!0}),w=function(){F.data=b=++b%2}):m?((v=new MessageChannel).port1.onmessage=g,w=function(){return v.port2.postMessage(0)}):w=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(n=e.runOnLoop||e.runOnContext)?function(){n(g)}:h()}catch(e){return h()}}():h();var x=Math.random().toString(36).substring(2);function A(){}var k=void 0,N=1,_=2;function T(t,r,n){r.constructor===t.constructor&&n===E&&r.constructor.resolve===C?function(e,t){t._state===N?S(e,t._result):t._state===_?O(e,t._result):M(t,void 0,(function(t){return B(e,t)}),(function(t){return O(e,t)}))}(t,r):void 0===n?S(t,r):e(n)?function(e,t,r){o((function(e){var n=!1,a=function(e,t,r,n){try{e.call(t,r,n)}catch(e){return e}}(r,t,(function(r){n||(n=!0,t!==r?B(e,r):S(e,r))}),(function(t){n||(n=!0,O(e,t))}),e._label);!n&&a&&(n=!0,O(e,a))}),e)}(t,r,n):S(t,r)}function B(e,t){if(e===t)O(e,new TypeError("You cannot resolve a promise with itself"));else if(a=s(n=t),null===n||"object"!==a&&"function"!==a)S(e,t);else{var r=void 0;try{r=t.then}catch(t){return void O(e,t)}T(e,t,r)}var n,a}function R(e){e._onerror&&e._onerror(e._result),I(e)}function S(e,t){e._state===k&&(e._result=t,e._state=N,0!==e._subscribers.length&&o(I,e))}function O(e,t){e._state===k&&(e._state=_,e._result=t,o(R,e))}function M(e,t,r,n){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+N]=r,a[i+_]=n,0===i&&e._state&&o(I,e)}function I(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,a=void 0,o=e._result,i=0;i<t.length;i+=3)n=t[i],a=t[i+r],n?P(r,n,a,o):a(o);e._subscribers.length=0}}function P(t,r,n,a){var o=e(n),i=void 0,u=void 0,l=!0;if(o){try{i=n(a)}catch(e){l=!1,u=e}if(r===i)return void O(r,new TypeError("A promises callback cannot return that same promise."))}else i=a;r._state!==k||(o&&l?B(r,i):!1===l?O(r,u):t===N?S(r,i):t===_&&O(r,i))}var L=0;function j(e){e[x]=L++,e._state=void 0,e._result=void 0,e._subscribers=[]}var q=function(){function e(e,r){this._instanceConstructor=e,this.promise=new e(A),this.promise[x]||j(this.promise),t(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?S(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&S(this.promise,this._result))):O(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===C){var a=void 0,o=void 0,i=!1;try{a=e.then}catch(e){i=!0,o=e}if(a===E&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(r===z){var u=new r(A);i?O(u,o):T(u,e,a),this._willSettleAt(u,t)}else this._willSettleAt(new r((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;n._state===k&&(this._remaining--,e===_?O(n,r):this._result[t]=r),0===this._remaining&&S(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;M(e,void 0,(function(e){return r._settledAt(N,t,e)}),(function(e){return r._settledAt(_,t,e)}))},e}(),z=function(){function t(e){this[x]=L++,this._result=this._state=void 0,this._subscribers=[],A!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){B(e,t)}),(function(t){O(e,t)}))}catch(t){O(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var r=this,n=r.constructor;return e(t)?r.then((function(e){return n.resolve(t()).then((function(){return e}))}),(function(e){return n.resolve(t()).then((function(){throw e}))})):r.then(t,t)},t}();return z.prototype.then=E,z.all=function(e){return new q(this,e).promise},z.race=function(e){var r=this;return t(e)?new r((function(t,n){for(var a=e.length,o=0;o<a;o++)r.resolve(e[o]).then(t,n)})):new r((function(e,t){return t(new TypeError("You must pass an array to race."))}))},z.resolve=C,z.reject=function(e){var t=new this(A);return O(t,e),t},z._setScheduler=function(e){a=e},z._setAsap=function(e){o=e},z._asap=o,z.polyfill=function(){var e=void 0;if(void 0!==u)e=u;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=z},z.Promise=z,z},"object"===s(e)&&void 0!==t?t.exports=o():void 0===(a="function"==typeof(n=o)?n.call(e,r,e,t):n)||(t.exports=a)})),Ut=oe((function(e){var t,r,n=(t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return r.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,l=Math.min,c=Math.pow,d=Math.round;function p(e,t,r){return e<t?t:e>r?r:e}var f,m=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,r=[];for(t in e)n.HasOwnProperty(e,t)&&r.push(t);return r};function h(e){if(m&&f){var t,r=m(e);for(t=0;t<r.length;t+=1)f(e,r[t],{value:e[r[t]],writable:!1,enumerable:!1,configurable:!1})}}function D(e,t){var r=32-t;return e<<r>>r}function g(e,t){var r=32-t;return e<<r>>>r}function v(e){return[255&e]}function b(e){return D(e[0],8)}function y(e){return[255&e]}function F(e){return g(e[0],8)}function w(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function C(e){return D(e[0]<<8|e[1],16)}function x(e){return[e>>8&255,255&e]}function A(e){return g(e[0]<<8|e[1],16)}function k(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function N(e){return D(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function _(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function T(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function B(e,t,r){var n,s,d,p,f,m,h,D=(1<<t-1)-1;function g(e){var t=i(e),r=e-t;return r<.5?t:r>.5||t%2?t+1:t}for(e!=e?(s=(1<<t)-1,d=c(2,r-1),n=0):e===1/0||e===-1/0?(s=(1<<t)-1,d=0,n=e<0?1:0):0===e?(s=0,d=0,n=1/e==-1/0?1:0):(n=e<0,(e=o(e))>=c(2,1-D)?(s=l(i(u(e)/a),1023),(d=g(e/c(2,s)*c(2,r)))/c(2,r)>=2&&(s+=1,d=1),s>D?(s=(1<<t)-1,d=0):(s+=D,d-=c(2,r))):(s=0,d=g(e/c(2,1-D-r)))),f=[],p=r;p;p-=1)f.push(d%2?1:0),d=i(d/2);for(p=t;p;p-=1)f.push(s%2?1:0),s=i(s/2);for(f.push(n?1:0),f.reverse(),m=f.join(""),h=[];m.length;)h.push(parseInt(m.substring(0,8),2)),m=m.substring(8);return h}function R(e,t,r){var n,a,o,i,u,l,s,d,p=[];for(n=e.length;n;n-=1)for(o=e[n-1],a=8;a;a-=1)p.push(o%2?1:0),o>>=1;return p.reverse(),i=p.join(""),u=(1<<t-1)-1,l=parseInt(i.substring(0,1),2)?-1:1,s=parseInt(i.substring(1,1+t),2),d=parseInt(i.substring(1+t),2),s===(1<<t)-1?0===d?l*(1/0):NaN:s>0?l*c(2,s-u)*(1+d/c(2,r)):0!==d?l*c(2,-(u-1))*(d/c(2,r)):l<0?-0:0}function S(e){return R(e,11,52)}function O(e){return B(e,11,52)}function M(e){return R(e,8,23)}function I(e){return B(e,8,23)}f=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,r){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return n.HasProperty(r,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,r.get),n.HasProperty(r,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,r.set),n.HasProperty(r,"value")&&(e[t]=r.value),e},function(){function t(e){if((e=n.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;h(this)}function r(){}function a(e,a,o){var i;return i=function(e,r,a){var o,u,l,c;if(arguments.length&&"number"!=typeof arguments[0])if("object"===s(arguments[0])&&arguments[0].constructor===i)for(o=arguments[0],this.length=o.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)this._setter(l,o._getter(l));else if("object"!==s(arguments[0])||(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0]))){if("object"!==s(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(a),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(u=arguments[0],this.length=n.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)c=u[l],this._setter(l,Number(c));else{if(this.length=n.ToInt32(arguments[0]),a<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=i,h(this),function(e){if(f){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)r(t)}function r(t){f(e,t,{get:function(){return e._getter(t)},set:function(r){e._setter(t,r)},enumerable:!0,configurable:!1})}}(this)},i.prototype=new r,i.prototype.BYTES_PER_ELEMENT=e,i.prototype._pack=a,i.prototype._unpack=o,i.BYTES_PER_ELEMENT=e,i.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=n.ToUint32(e))>=this.length)){for(var t=[],r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},i.prototype.get=i.prototype._getter,i.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=n.ToUint32(e))<this.length){var r,a,o=this._pack(t);for(r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)this.buffer._bytes[a]=o[r]}},i.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var r,a,o,i,u,l,c,d,p,f;if("object"===s(arguments[0])&&arguments[0].constructor===this.constructor){if(r=arguments[0],(o=n.ToUint32(arguments[1]))+r.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(f=[],u=0,l=r.byteOffset;u<p;u+=1,l+=1)f[u]=r.buffer._bytes[l];for(u=0,c=d;u<p;u+=1,c+=1)this.buffer._bytes[c]=f[u]}else for(u=0,l=r.byteOffset,c=d;u<p;u+=1,l+=1,c+=1)this.buffer._bytes[c]=r.buffer._bytes[l]}else{if("object"!==s(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(a=arguments[0],i=n.ToUint32(a.length),(o=n.ToUint32(arguments[1]))+i>this.length)throw new RangeError("Offset plus length of array is out of range");for(u=0;u<i;u+=1)l=a[u],this._setter(o+u,Number(l))}},i.prototype.subarray=function(e,t){e=n.ToInt32(e),t=n.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=p(e,0,this.length);var r=(t=p(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},i}e.ArrayBuffer=e.ArrayBuffer||t;var o=a(1,v,b),i=a(1,y,F),u=a(1,w,F),l=a(2,E,C),c=a(2,x,A),d=a(4,k,N),m=a(4,_,T),D=a(4,I,M),g=a(8,O,S);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||i,e.Uint8ClampedArray=e.Uint8ClampedArray||u,e.Int16Array=e.Int16Array||l,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||m,e.Float32Array=e.Float32Array||D,e.Float64Array=e.Float64Array||g}(),function(){function t(e,t){return n.IsCallable(e.get)?e.get(t):e[t]}var r,a=(r=new e.Uint16Array([4660]),18===t(new e.Uint8Array(r.buffer),0));function o(t,r,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===n.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:n.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");h(this)}function i(r){return function(o,i){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u,l=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),s=[];for(u=0;u<r.BYTES_PER_ELEMENT;u+=1)s.push(t(l,u));return Boolean(i)===Boolean(a)&&s.reverse(),t(new r(new e.Uint8Array(s).buffer),0)}}function u(r){return function(o,i,u){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var l,s=new r([i]),c=new e.Uint8Array(s.buffer),d=[];for(l=0;l<r.BYTES_PER_ELEMENT;l+=1)d.push(t(c,l));Boolean(u)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT).set(d)}}o.prototype.getUint8=i(e.Uint8Array),o.prototype.getInt8=i(e.Int8Array),o.prototype.getUint16=i(e.Uint16Array),o.prototype.getInt16=i(e.Int16Array),o.prototype.getUint32=i(e.Uint32Array),o.prototype.getInt32=i(e.Int32Array),o.prototype.getFloat32=i(e.Float32Array),o.prototype.getFloat64=i(e.Float64Array),o.prototype.setUint8=u(e.Uint8Array),o.prototype.setInt8=u(e.Int8Array),o.prototype.setUint16=u(e.Uint16Array),o.prototype.setInt16=u(e.Int16Array),o.prototype.setUint32=u(e.Uint32Array),o.prototype.setInt32=u(e.Int32Array),o.prototype.setFloat32=u(e.Float32Array),o.prototype.setFloat64=u(e.Float64Array),e.DataView=e.DataView||o}()})),Gt=oe((function(e){!function(e){"use strict";if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap"+"_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!a(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+s(e))}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",(function(e){if(r(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)})),n(e.prototype,"get",(function(e){if(r(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),n(e.prototype,"has",(function(e){if(r(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),n(e.prototype,"set",(function(e,t){if(r(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(n(e,this._id,[e,t]),this)})),n(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==u?u:e)})),Wt=oe((function(e,t){var r=function(e){return e&&e.Math==Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":s(globalThis))&&globalThis)||r("object"==(void 0===i?"undefined":s(i))&&i)||r("object"==("undefined"==typeof self?"undefined":s(self))&&self)||r("object"==(void 0===u?"undefined":s(u))&&u)||function(){return this}()||Function("return this")()})),Yt=oe((function(e,t){t.exports=function(e){try{return!!e()}catch(e){return!0}}})),Kt=oe((function(e,t){var r=Yt();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),Xt=oe((function(e,t){var r=Kt(),n=Function.prototype,a=n.apply,o=n.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":s(Reflect))&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})})),Zt=oe((function(e,t){var r=Kt(),n=Function.prototype,a=n.call,o=r&&n.bind.bind(a,a);t.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}})),Jt=oe((function(e,t){var r=Zt(),n=r({}.toString),a=r("".slice);t.exports=function(e){return a(n(e),8,-1)}})),Qt=oe((function(e,t){var r=Jt(),n=Zt();t.exports=function(e){if("Function"===r(e))return n(e)}})),er=oe((function(e,t){var r="object"==(void 0===l?"undefined":s(l))&&l.all,n=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),tr=oe((function(e,t){var r=er(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),rr=oe((function(e,t){var r=Yt();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),nr=oe((function(e,t){var r=Kt(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),ar=oe((function(e){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),or=oe((function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),ir=oe((function(e,t){var r=Zt(),n=Yt(),a=Jt(),o=Object,i=r("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i(e,""):o(e)}:o})),ur=oe((function(e,t){t.exports=function(e){return null==e}})),lr=oe((function(e,t){var r=ur(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),sr=oe((function(e,t){var r=ir(),n=lr();t.exports=function(e){return r(n(e))}})),cr=oe((function(e,t){var r=tr(),n=er(),a=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==s(e)?null!==e:r(e)||e===a}:function(e){return"object"==s(e)?null!==e:r(e)}})),dr=oe((function(e,t){t.exports={}})),pr=oe((function(e,t){var r=dr(),n=Wt(),a=tr(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e])||o(n[e]):r[e]&&r[e][t]||n[e]&&n[e][t]}})),fr=oe((function(e,t){var r=Zt();t.exports=r({}.isPrototypeOf)})),mr=oe((function(e,t){var r=pr();t.exports=r("navigator","userAgent")||""})),hr=oe((function(e,t){var r,n,a=Wt(),o=mr(),i=a.process,u=a.Deno,l=i&&i.versions||u&&u.version,s=l&&l.v8;s&&(n=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),Dr=oe((function(e,t){var r=hr(),n=Yt();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),gr=oe((function(e,t){var r=Dr();t.exports=r&&!Symbol.sham&&"symbol"==s(Symbol.iterator)})),vr=oe((function(e,t){var r=pr(),n=tr(),a=fr(),o=gr(),i=Object;t.exports=o?function(e){return"symbol"==s(e)}:function(e){var t=r("Symbol");return n(t)&&a(t.prototype,i(e))}})),br=oe((function(e,t){var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}})),yr=oe((function(e,t){var r=tr(),n=br(),a=TypeError;t.exports=function(e){if(r(e))return e;throw a(n(e)+" is not a function")}})),Fr=oe((function(e,t){var r=yr(),n=ur();t.exports=function(e,t){var a=e[t];return n(a)?void 0:r(a)}})),wr=oe((function(e,t){var r=nr(),n=tr(),a=cr(),o=TypeError;t.exports=function(e,t){var i,u;if("string"===t&&n(i=e.toString)&&!a(u=r(i,e)))return u;if(n(i=e.valueOf)&&!a(u=r(i,e)))return u;if("string"!==t&&n(i=e.toString)&&!a(u=r(i,e)))return u;throw o("Can't convert object to primitive value")}})),Er=oe((function(e,t){t.exports=!0})),Cr=oe((function(e,t){var r=Wt(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}})),xr=oe((function(e,t){var r=Wt(),n=Cr(),a="__core-js_shared__",o=r[a]||n(a,{});t.exports=o})),Ar=oe((function(e,t){var r=Er(),n=xr();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),kr=oe((function(e,t){var r=lr(),n=Object;t.exports=function(e){return n(r(e))}})),Nr=oe((function(e,t){var r=Zt(),n=kr(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(n(e),t)}})),_r=oe((function(e,t){var r=Zt(),n=0,a=Math.random(),o=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+a,36)}})),Tr=oe((function(e,t){var r=Wt(),n=Ar(),a=Nr(),o=_r(),i=Dr(),u=gr(),l=n("wks"),s=r.Symbol,c=s&&s.for,d=u?s:s&&s.withoutSetter||o;t.exports=function(e){if(!a(l,e)||!i&&"string"!=typeof l[e]){var t="Symbol."+e;i&&a(s,e)?l[e]=s[e]:l[e]=u&&c?c(t):d(t)}return l[e]}})),Br=oe((function(e,t){var r=nr(),n=cr(),a=vr(),o=Fr(),i=wr(),u=Tr(),l=TypeError,s=u("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var u,c=o(e,s);if(c){if(void 0===t&&(t="default"),u=r(c,e,t),!n(u)||a(u))return u;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}})),Rr=oe((function(e,t){var r=Br(),n=vr();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),Sr=oe((function(e,t){var r=Wt(),n=cr(),a=r.document,o=n(a)&&n(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}})),Or=oe((function(e,t){var r=rr(),n=Yt(),a=Sr();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),Mr=oe((function(e){var t=rr(),r=nr(),n=ar(),a=or(),o=sr(),i=Rr(),u=Nr(),l=Or(),s=Object.getOwnPropertyDescriptor;e.f=t?s:function(e,t){if(e=o(e),t=i(t),l)try{return s(e,t)}catch(e){}if(u(e,t))return a(!r(n.f,e,t),e[t])}})),Ir=oe((function(e,t){var r=Yt(),n=tr(),a=/#|\.prototype\./,o=function(e,t){var a=u[i(e)];return a==s||a!=l&&(n(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",s=o.POLYFILL="P";t.exports=o})),Pr=oe((function(e,t){var r=Qt(),n=yr(),a=Kt(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}})),Lr=oe((function(e,t){var r=rr(),n=Yt();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),jr=oe((function(e,t){var r=cr(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw a(n(e)+" is not an object")}})),qr=oe((function(e){var t=rr(),r=Or(),n=Lr(),a=jr(),o=Rr(),i=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:s in r?r[s]:n[s],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),zr=oe((function(e,t){var r=rr(),n=qr(),a=or();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),Vr=oe((function(e,t){"use strict";var r=Wt(),n=Xt(),a=Qt(),o=tr(),i=Mr().f,u=Ir(),l=dr(),c=Pr(),d=zr(),p=Nr(),f=function(e){var t=function t(r,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,a)}return new e(r,a,o)}return n(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var n,m,h,D,g,v,b,y,F=e.target,w=e.global,E=e.stat,C=e.proto,x=w?r:E?r[F]:(r[F]||{}).prototype,A=w?l:l[F]||d(l,F,{})[F],k=A.prototype;for(h in t)n=!u(w?h:F+(E?".":"#")+h,e.forced)&&x&&p(x,h),g=A[h],n&&(v=e.dontCallGetSet?(y=i(x,h))&&y.value:x[h]),D=n&&v?v:t[h],n&&s(g)==s(D)||(b=e.bind&&n?c(D,r):e.wrap&&n?f(D):C&&o(D)?a(D):D,(e.sham||D&&D.sham||g&&g.sham)&&d(b,"sham",!0),d(A,h,b),C&&(p(l,m=F+"Prototype")||d(l,m,{}),d(l[m],h,D),e.real&&k&&!k[h]&&d(k,h,D)))}})),$r=oe((function(){Vr()({target:"Object",stat:!0},{hasOwn:Nr()})})),Hr=oe((function(e,t){$r();var r=dr();t.exports=r.Object.hasOwn})),Ur=oe((function(e,t){var r=Hr();t.exports=r})),Gr=oe((function(e,t){var r=Ur();t.exports=r})),Wr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>"};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;Wr[t]=r,Wr[t+"_PRIO"]=n,Wr[t+"_GROUP"]=a,Wr.results[n]=r,Wr.resultGroups[n]=a,Wr.resultGroupMap[r]=a})),Object.freeze(Wr.results),Object.freeze(Wr.resultGroups),Object.freeze(Wr.resultGroupMap),Object.freeze(Wr);var Yr=Wr;var Kr=function(){"object"===("undefined"==typeof console?"undefined":s(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},Xr=/[\t\r\n\f]/g,Zr=function(){function e(){J(this,e),this.parent=void 0}return ee(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var r=" "+e+" ";return(" "+t+" ").replace(Xr," ").indexOf(r)>=0}}]),e}(),Jr={};ie(Jr,{DqElement:function(){return Zn},aggregate:function(){return Qr},aggregateChecks:function(){return on},aggregateNodeResults:function(){return ln},aggregateResult:function(){return cn},areStylesSet:function(){return dn},assert:function(){return pn},checkHelper:function(){return Jn},clone:function(){return Qn},closest:function(){return ha},collectResultsFromFrames:function(){return fo},contains:function(){return mo},convertSelector:function(){return pa},cssParser:function(){return ra},deepMerge:function(){return ho},escapeSelector:function(){return mn},extendMetaData:function(){return Do},filterHtmlAttrs:function(){return pm},finalizeRuleResult:function(){return un},findBy:function(){return so},getAllChecks:function(){return lo},getAncestry:function(){return Vn},getBaseLang:function(){return Gp},getCheckMessage:function(){return tf},getCheckOption:function(){return rf},getEnvironmentData:function(){return nf},getFlattenedTree:function(){return $p},getFrameContexts:function(){return Ef},getFriendlyUriEnd:function(){return gn},getNodeAttributes:function(){return bn},getNodeFromTree:function(){return Yn},getPreloadConfig:function(){return im},getRootNode:function(){return yo},getRule:function(){return Cf},getScroll:function(){return Af},getScrollState:function(){return Nf},getSelector:function(){return qn},getSelectorData:function(){return On},getShadowSelector:function(){return Cn},getStandards:function(){return _f},getStyleSheetFactory:function(){return Bf},getXpath:function(){return Hn},injectStyle:function(){return Rf},isHidden:function(){return Sf},isHtmlElement:function(){return Of},isNodeInContext:function(){return Mf},isShadowRoot:function(){return vo},isValidLang:function(){return Cm},isXHTML:function(){return En},matchAncestry:function(){return Pf},matches:function(){return na},matchesExpression:function(){return ma},matchesSelector:function(){return yn},memoize:function(){return wn},mergeResults:function(){return po},nodeLookup:function(){return jf},nodeSerializer:function(){return uo},nodeSorter:function(){return Lf},parseCrossOriginStylesheet:function(){return Gf},parseSameOriginStylesheet:function(){return qf},parseStylesheet:function(){return zf},performanceTimer:function(){return Yf},pollyfillElementsFromPoint:function(){return Kf},preload:function(){return am},preloadCssom:function(){return Qf},preloadMedia:function(){return nm},processMessage:function(){return ef},publishMetaData:function(){return um},querySelectorAll:function(){return sm},querySelectorAllFilter:function(){return Jf},queue:function(){return wa},respondable:function(){return eo},ruleShouldRun:function(){return dm},select:function(){return mm},sendCommandToFrame:function(){return ro},setScrollState:function(){return Dm},shadowSelect:function(){return gm},shadowSelectAll:function(){return bm},shouldPreload:function(){return om},toArray:function(){return fn},tokenList:function(){return Ip},uniqueArray:function(){return Xf},uuid:function(){return Ia},validInputTypes:function(){return Fm},validLangs:function(){return Em}});var Qr=function(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map((function(t){return e.indexOf(t)})).sort();return e[n.pop()]},en=Yr.CANTTELL_PRIO,tn=Yr.FAIL_PRIO,rn=[];rn[Yr.PASS_PRIO]=!0,rn[Yr.CANTTELL_PRIO]=null,rn[Yr.FAIL_PRIO]=!1;var nn=["any","all","none"];function an(e,t){return nn.reduce((function(r,n){return r[n]=(e[n]||[]).map((function(e){return t(e,n)})),r}),{})}var on=function(e){var t=Object.assign({},e);an(t,(function(e,t){var r=void 0===e.result?-1:rn.indexOf(e.result);e.priority=-1!==r?r:Yr.CANTTELL_PRIO,"none"===t&&(e.priority===Yr.PASS_PRIO?e.priority=Yr.FAIL_PRIO:e.priority===Yr.FAIL_PRIO&&(e.priority=Yr.PASS_PRIO))}));var r={all:t.all.reduce((function(e,t){return Math.max(e,t.priority)}),0),none:t.none.reduce((function(e,t){return Math.max(e,t.priority)}),0),any:t.any.reduce((function(e,t){return Math.min(e,t.priority)}),4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return nn.forEach((function(e){t[e]=t[e].filter((function(n){return n.priority===t.priority&&n.priority===r[e]})),t[e].forEach((function(e){return n.push(e.impact)}))})),[en,tn].includes(t.priority)?t.impact=Qr(Yr.impact,n):t.impact=null,an(t,(function(e){delete e.result,delete e.priority})),t.result=Yr.results[t.priority],delete t.priority,t};function un(e){var t=c._audit.rules.find((function(t){return t.id===e.id}));return t&&t.impact&&e.nodes.forEach((function(e){["any","all","none"].forEach((function(r){(e[r]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,ln(e.nodes)),delete e.nodes,e}var ln=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return on(e);if(Array.isArray(e.node))return un(e);throw new TypeError("Invalid Result type")})))&&e.length){var r=e.map((function(e){return e.result}));t.result=Qr(Yr.results,r,t.result)}else t.result="inapplicable";Yr.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){var r=Yr.resultGroupMap[e.result];t[r].push(e)}));var n=Yr.FAIL_GROUP;if(0===t[n].length&&(n=Yr.CANTTELL_GROUP),t[n].length>0){var a=t[n].map((function(e){return e.impact}));t.impact=Qr(Yr.impact,a)||null}else t.impact=null;return t};function sn(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Yr.resultGroups.forEach((function(e){delete n[e]})),e[r].push(n)}var cn=function(e){var t={};return Yr.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?sn(t,e,Yr.CANTTELL_GROUP):e.result===Yr.NA?sn(t,e,Yr.NA_GROUP):Yr.resultGroups.forEach((function(r){Array.isArray(e[r])&&e[r].length>0&&sn(t,e,r)}))})),t};var dn=function e(t,r,n){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o<r.length;++o){var u=r[o];if(a.getPropertyValue(u.property)===u.value)return!0}return!(!t.parentNode||t.nodeName.toUpperCase()===n.toUpperCase())&&e(t.parentNode,r,n)};var pn=function(e,t){if(!e)throw new Error(t)};var fn=function(e){return Array.prototype.slice.call(e)};var mn=function(e){for(var t,r=String(e),n=r.length,a=-1,o="",i=r.charCodeAt(0);++a<n;)0!=(t=r.charCodeAt(a))?o+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":(0!=a||1!=n||45!=t)&&(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?r.charAt(a):"\\"+r.charAt(a):o+="�";return o};function hn(e,t){return[e.substring(0,t),e.substring(t)]}function Dn(e){return e.replace(/\s+$/,"")}var gn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=void 0===n?25:n,o=function(e){var t=e,r="",n="",a="",o="",i="";if(e.includes("#")){var u=K(hn(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var l=K(hn(e,e.indexOf("?")),2);e=l[0],o=l[1]}if(e.includes("://")){var s=K(e.split("://"),2);r=s[0];var c=K(hn(e=s[1],e.indexOf("/")),2);n=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=K(hn(e=e.substr(2),e.indexOf("/")),2);n=d[0],e=d[1]}if("www."===n.substr(0,4)&&(n=n.substr(4)),n&&n.includes(":")){var p=K(hn(n,n.indexOf(":")),2);n=p[0],a=p[1]}return{original:t,protocol:r,domain:n,port:a,path:e,query:o,hash:i}}(e),i=o.path,u=o.domain,l=o.hash,s=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(l)return s&&(s+l).length<=a?Dn(s+l):s.length<2&&l.length>2&&l.length<=a?Dn(l):void 0;if(u&&u.length<a&&i.length<=1)return Dn(u+i);if(i==="/"+s&&u&&r&&u!==r&&(u+i).length<=a)return Dn(u+i);var c=s.lastIndexOf(".");return(-1===c||c>1)&&(-1!==c||s.length>2)&&s.length<=a&&!s.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(s)?Dn(s):void 0}};var vn,bn=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},yn=function(e,t){return vn&&e[vn]||(vn=function(e){var t,r,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length;for(t=0;t<a;t++)if(e[r=n[t]])return r}(e)),!!e[vn]&&e[vn](t)},Fn=ue(Lt());c._memoizedFns=[];var wn=function(e){var t=(0,Fn.default)(e);return c._memoizedFns.push(t),t},En=wn((function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName}));function Cn(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||l;if(11!==n.nodeType)return e(t,r,n);for(var a=[];11===n.nodeType;){if(!n.host)return"";a.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return a.unshift({elm:t,doc:n}),a.map((function(t){return e(t.elm,r,t.doc)}))}var xn=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow"],An=31,kn=/([\\"])/g,Nn=/(\r\n|\r|\n)/g;function Tn(e){return e.replace(kn,"\\$1").replace(Nn,"\\a ")}function Bn(e,t){var r,n=t.name;if(-1!==n.indexOf("href")||-1!==n.indexOf("src")){var a=gn(e.getAttribute(n));r=a?mn(t.name)+'$="'+Tn(a)+'"':mn(t.name)+'="'+Tn(e.getAttribute(n))+'"'}else r=mn(n)+'="'+Tn(t.value)+'"';return r}function Rn(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Sn(e){return!xn.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<An)}function On(e){for(var t={classes:{},tags:{},attributes:{}},r=(e=Array.isArray(e)?e:[e]).slice(),n=[],a=function(){var e=r.pop(),a=e.actualNode;if(a.querySelectorAll){var o=a.nodeName;t.tags[o]?t.tags[o]++:t.tags[o]=1,a.classList&&Array.from(a.classList).forEach((function(e){var r=mn(e);t.classes[r]?t.classes[r]++:t.classes[r]=1})),a.hasAttributes()&&Array.from(bn(a)).filter(Sn).forEach((function(e){var r=Bn(a,e);r&&(t.attributes[r]?t.attributes[r]++:t.attributes[r]=1)}))}for(e.children.length&&(n.push(r),r=e.children.slice());!r.length&&n.length;)r=n.pop()};r.length;)a();return t}function Mn(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[];return r.find((function(r){return r!==e&&yn(r,t)}))?":nth-child("+(1+r.indexOf(e))+")":""}function In(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||l,r="#"+mn(e.getAttribute("id")||"");return r.match(/player_uid_/)||1!==t.querySelectorAll(r).length?void 0:r}}function Pn(e){var t=En(l);return mn(t?e.localName:e.nodeName.toLowerCase())}function Ln(e,t){var r,n="",a=function(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach((function(t){var o=mn(t);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"})})),r.sort(Rn)}(e,t),o=function(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(bn(e)).filter(Sn).forEach((function(t){var o=Bn(e,t);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"})})),r.sort(Rn)}(e,t);return a.length&&1===a[0].count?r=[a[0]]:o.length&&1===o[0].count?(r=[o[0]],n=Pn(e)):((r=a.concat(o)).sort(Rn),(r=r.slice(0,3)).some((function(e){return"class"===e.species}))?r.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):n=Pn(e)),n+r.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function jn(e,t,r){if(!c._selectorData)throw new Error("Expect axe._selectorData to be set up");var n,a,o=t.toRoot,i=void 0!==o&&o;do{var u=In(e);u||(u=Ln(e,c._selectorData),u+=Mn(e,u)),n=n?u+" > "+n:u,a=a?a.filter((function(e){return yn(e,n)})):Array.from(r.querySelectorAll(n)),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}function qn(e,t){return Cn(jn,e,t)}function zn(e){var t=e.nodeName.toLowerCase(),r=e.parentElement;if(!r)return t;var n="";if("head"!==t&&"body"!==t&&r.children.length>1){var a=Array.prototype.indexOf.call(r.children,e)+1;n=":nth-child(".concat(a,")")}return zn(r)+" > "+t+n}function Vn(e,t){return Cn(zn,e,t)}function $n(e,t){var r,n;if(!e)return[];if(!t&&9===e.nodeType)return t=[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=$n(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do{1===r.nodeType&&r.nodeName===e.nodeName&&n++,r=r.previousSibling}while(r);1===n&&(n=null)}else if(e.nextSibling){r=e.nextSibling;do{1===r.nodeType&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling)}while(r)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&mn(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a)}return t}var Hn=function(e){return function(e){return e.reduce((function(e,t){return t.id?"/".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")}),"")}($n(e))},Un={},Gn={set:function(e,t){!function(e){pn("string"==typeof e,"key must be a string, "+s(e)+" given"),pn(""!==e,"key must not be empty")}(e),Un[e]=t},get:function(e,t){if(function(e){pn("function"==typeof e||void 0===e,"creator must be a function or undefined, "+s(e)+" given")}(t),e in Un)return Un[e];if("function"==typeof t){var r=t();return pn(void 0!==r,"Cache creator function should not return undefined"),this.set(e,r),Un[e]}},clear:function(){Un={}}};var Wn=Gn;var Yn=function(e,t){var r=t||e;return Wn.get("nodeMap")?Wn.get("nodeMap").get(r):null},Kn="DqElm.RunOptions";function Xn(e){var t,r,n,a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o||(o=null!==(n=Wn.get(Kn))&&void 0!==n?n:{});(this.spec=u,e instanceof Zr?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=Yn(e)),this.fromFrame=(null===(t=this.spec.selector)||void 0===t?void 0:t.length)>1,this._includeElementInJson=o.elementRef,o.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(r=this._virtualNode)||void 0===r?void 0:r.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml)||(this.source=null!==(a=this.spec.source)&&void 0!==a?a:function(e){if(null==e||!e.outerHTML)return"";var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),function(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}(t||"")}(this._element))}Xn.prototype={get selector(){return this.spec.selector||[qn(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Vn(this.element)]},get xpath(){return this.spec.xpath||[Hn(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},Xn.fromFrame=function(e,t,r){var n=Xn.mergeSpecs(e,r);return new Xn(r.element,t,n)},Xn.mergeSpecs=function(e,t){return Y({},e,{selector:[].concat(G(t.selector),G(e.selector)),ancestry:[].concat(G(t.ancestry),G(e.ancestry)),xpath:[].concat(G(t.xpath),G(e.xpath)),nodeIndexes:[].concat(G(t.nodeIndexes),G(e.nodeIndexes)),fromFrame:!0})},Xn.setRunOptions=function(e){var t=e.elementRef,r=e.absolutePaths;Wn.set(Kn,{elementRef:t,absolutePaths:r})};var Zn=Xn;var Jn=function(e,t,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==!1?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof Zr?[t]:fn(t),e.relatedNodes=[],t.forEach((function(t){if(t instanceof Zr&&(t=t.actualNode),t instanceof i.Node){var r=new Zn(t);e.relatedNodes.push(r)}})))}}};function Qn(e){return ea(e,new Map)}function ea(e,t){var r,n;if(null===e||"object"!==s(e))return e;if(null!==(r=i)&&void 0!==r&&r.Node&&e instanceof i.Node||null!==(n=i)&&void 0!==n&&n.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach((function(e){a.push(ea(e,t))})),a}var o={};for(var u in t.set(e,o),e)o[u]=ea(e[u],t);return o}var ta=new(ue(Vt()).CssSelectorParser);ta.registerSelectorPseudos("not"),ta.registerSelectorPseudos("is"),ta.registerNestingOperators(">"),ta.registerAttrEqualityMods("^","$","*","~");var ra=ta;function na(e,t){return pa(t).some((function(t){return ma(e,t)}))}function aa(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every((function(t){return e.hasClass(t.value)}))}(e,t)&&function(e,t){return!t.attributes||t.attributes.every((function(t){var r=e.attr(t.key);return null!==r&&t.test(r)}))}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(r=e,!((n=t).pseudos&&!n.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return ma(r,e)}));if("is"===e.name)return e.expressions.some((function(e){return ma(r,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var r,n}var oa,ia=(oa=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(oa,"\\")}),ua=/\\/g;function la(e){if(e)return e.map((function(e){var t,r,n=e.name.replace(ua,""),a=(e.value||"").replace(ua,"");switch(e.operator){case"^=":r=new RegExp("^"+ia(a));break;case"$=":r=new RegExp(ia(a)+"$");break;case"~=":r=new RegExp("(^|\\s)"+ia(a)+"(\\s|$)");break;case"|=":r=new RegExp("^"+ia(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:n,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}}))}function sa(e){if(e)return e.map((function(e){return{value:e=e.replace(ua,""),regexp:new RegExp("(^|\\s)"+ia(e)+"(\\s|$)")}}))}function ca(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=da(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function da(e){return e.map((function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:la(r.attrs),classes:sa(r.classNames),pseudos:ca(r.pseudos)}),r=r.rule;return t}))}function pa(e){var t=ra.parse(e);return da(t=t.selectors?t.selectors:[t])}function fa(e,t,r,n){if(!e)return!1;for(var a=Array.isArray(t)?t[r]:t,o=aa(e,a);!o&&n&&e.parent;)o=aa(e=e.parent,a);if(r>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&fa(e.parent,t,r-1," "===a.combinator)}return o}function ma(e,t,r){return fa(e,t,t.length-1,r)}var ha=function(e,t){for(;e;){if(na(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Da(){}function ga(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var va,ba,ya,Fa,wa=function(){var e,t=[],r=0,n=0,a=Da,o=!1,i=function(t){e=t,setTimeout((function(){null!=e&&Kr("Uncaught error (of queue)",e)}),1)},u=i;function l(e){return function(r){t[e]=r,(n-=1)||a===Da||(o=!0,a(t))}}function c(e){return a=Da,u(e),t}var d={defer:function(a){if("object"===s(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(ga(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++n,function(){for(var e=t.length;r<e;r++){var n=t[r];try{n.call(null,l(r),c)}catch(e){c(e)}}}(),d}},then:function(r){if(ga(r),a!==Da)throw new Error("queue `then` already set");return e||(a=r,n||(o=!0,a(t))),d},catch:function(t){if(ga(t),u!==i)throw new Error("queue `catch` already set");return e?(t(e),e=null):u=t,d},abort:c};return d},Ea=i.crypto||i.msCrypto;!ba&&Ea&&Ea.getRandomValues&&(ya=new Uint8Array(16),ba=function(){return Ea.getRandomValues(ya),ya}),ba||(Fa=new Array(16),ba=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),Fa[t]=e>>>((3&t)<<3)&255;return Fa});for(var Ca="function"==typeof i.Buffer?i.Buffer:Array,xa=[],Aa={},ka=0;ka<256;ka++)xa[ka]=(ka+256).toString(16).substr(1),Aa[xa[ka]]=ka;function Na(e,t){var r=t||0,n=xa;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var _a=ba(),Ta=[1|_a[0],_a[1],_a[2],_a[3],_a[4],_a[5]],Ba=16383&(_a[6]<<8|_a[7]),Ra=0,Sa=0;function Oa(e,t,r){var n=t&&r||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:Ba,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:Sa+1,l=i-Ra+(u-Sa)/1e4;if(l<0&&null==e.clockseq&&(o=o+1&16383),(l<0||i>Ra)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ra=i,Sa=u,Ba=o;var s=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[n++]=s>>>24&255,a[n++]=s>>>16&255,a[n++]=s>>>8&255,a[n++]=255&s;var c=i/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=255&c,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=o>>>8|128,a[n++]=255&o;for(var d=e.node||Ta,p=0;p<6;p++)a[n+p]=d[p];return t||Na(a)}function Ma(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new Ca(16):null,e=null);var a=(e=e||{}).random||(e.rng||ba)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[n+o]=a[o];return t||Na(a)}(va=Ma).v1=Oa,va.v4=Ma,va.parse=function(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){a<16&&(t[n+a++]=Aa[e])}));a<16;)t[n+a++]=0;return t},va.unparse=Na,va.BufferClass=Ca,c._uuid=Oa();var Ia=Ma,Pa=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function La(e){var t;try{t=JSON.parse(e)}catch(e){return}if(null!==(r=t)&&"object"===s(r)&&"string"==typeof r.channelId&&r.source===ja()){var r,n=t,a=n.topic,o=n.channelId,u=n.messageId,l=n.keepalive;return{topic:a,message:"object"===s(t.error)?function(e){var t=e.message||"Unknown error occurred",r=Pa.includes(e.name)?e.name:"Error",n=i[r]||Error;e.stack&&(t+="\n"+e.stack.replace(e.message,""));return new n(t)}(t.error):t.payload,messageId:u,channelId:o,keepalive:!!l}}}function ja(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function qa(e){Va(e),pn(i.parent===e,"Source of the response must be the parent window.")}function za(e){Va(e),pn(e.parent===i,"Respondable target must be a frame in the current window")}function Va(e){pn(i!==e,"Messages can not be sent to the same window.")}var $a={};var Ha=[];function Ua(){var e="".concat(Ma(),":").concat(Ma());return Ha.includes(e)?Ua():(Ha.push(e),e)}function Ga(e,t,r,n){if(r?qa(e):za(e),t.message instanceof Error&&!r)return c.log(t.message),!1;var a=function(e){var t=e.topic,r=e.channelId,n=e.message,a={channelId:r,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:ja()};return n instanceof Error?a.error={name:n.name,message:n.message,stack:n.stack}:a.payload=n,JSON.stringify(a)}(Y({messageId:Ua()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length)&&("function"==typeof n&&function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];pn(!$a[e],"A replyHandler already exists for this message channel."),$a[e]={replyHandler:t,sendToParent:r}}(t.channelId,n,r),o.forEach((function(t){try{e.postMessage(a,t)}catch(r){if(r instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw r}})),!0)}function Wa(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(n,a,o){Ga(e,{channelId:t,message:n,keepalive:a},r,o)}}function Ya(e,t){var r,n=e.origin,a=e.data,o=e.source;try{var u=La(a)||{},l=u.channelId,s=u.message,d=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(n)||(r=d,Ha.includes(r)||(Ha.push(r),0)))return;if(s instanceof Error&&o.parent!==i)return c.log(s),!1;try{if(u.topic){var p=Wa(o,l);qa(o),t(u,p)}else!function(e,t){var r=t.channelId,n=t.message,a=t.keepalive,o=function(e){return $a[e]}(r)||{},i=o.replyHandler,u=o.sendToParent;if(!i)return;u?qa(e):za(e);var l=Wa(e,r,u);!a&&r&&function(e){delete $a[e]}(r);try{i(n,a,l)}catch(e){c.log(e),l(e,a)}}(o,u)}catch(e){!function(e,t,r){if(!e.parent!==i)return c.log(t);try{Ga(e,{topic:null,channelId:r,message:t,messageId:Ua(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,l)}}catch(e){return c.log(e),!1}}var Ka,Xa,Za={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){Ya(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,r){return"function"==typeof i.addEventListener&&Ga(e,t,!1,r)}};function Ja(e){e.updateMessenger(Za)}var Qa={};function eo(e,t,r,n,a){var o={topic:t,message:r,channelId:"".concat(Ma(),":").concat(Ma()),keepalive:n};return Xa(e,o,a)}function to(e,t){var r=e.topic,n=e.message,a=e.keepalive,o=Qa[r];if(o)try{o(n,a,t)}catch(e){c.log(e),t(e,a)}}function ro(e,t,r,n){var a,o,i=e.contentWindow,u=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return Kr("Frame does not have a content window",e),void r(null);if(0!==u){var l=setTimeout((function(){l=setTimeout((function(){t.debug?n(ao("No response from frame",e)):r(null)}),0)}),u);eo(i,"axe.ping",null,void 0,(function(){clearTimeout(l),no(e,t,r,n)}))}else no(e,t,r,n)}function no(e,t,r,n){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,l=setTimeout((function(){n(ao("Axe in frame timed out",e))}),i);eo(u,"axe.start",t,void 0,(function(e){clearTimeout(l),e instanceof Error==!1?r(e):n(e)}))}function ao(e,t){var r;return c._tree&&(r=qn(t)),new Error(e+": "+(r||t))}eo.updateMessenger=function(e){var t=e.open,r=e.post;pn("function"==typeof t,"open callback must be a function"),pn("function"==typeof r,"post callback must be a function"),Ka&&Ka();var n=t(to);n?(pn("function"==typeof n,"open callback must return a cleanup function"),Ka=n):Ka=null,Xa=r},eo.subscribe=function(e,t){pn("function"==typeof t,"Subscriber callback must be a function"),pn(!Qa[e],"Topic ".concat(e," is already registered to.")),Qa[e]=t},eo.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},Ja(eo);var oo=null,io={update:function(e){pn("object"===s(e),"serializer must be an object"),oo=e},toSpec:function(e){return io.dqElmToSpec(new Zn(e))},dqElmToSpec:function(e,t){var r;return e instanceof Zn==!1?e:(t&&(e=function(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,o=!1!==t.selectors||r;return e=new Zn(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}(e,t)),"function"==typeof(null===(r=oo)||void 0===r?void 0:r.toSpec)?oo.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var r;return"function"==typeof(null===(r=oo)||void 0===r?void 0:r.mergeSpecs)?oo.mergeSpecs(e,t):Zn.mergeSpecs(e,t)},mapRawResults:function(e){return e.map((function(e){return Y({},e,{nodes:io.mapRawNodeResults(e.nodes)})}))},mapRawNodeResults:function(e){return null==e?void 0:e.map((function(e){var t=e.node,r=U(e,p);r.node=io.dqElmToSpec(t);for(var n=0,a=["any","all","none"];n<a.length;n++){var o=a[n];r[o]=r[o].map((function(e){var t=e.relatedNodes,r=U(e,f);return r.relatedNodes=t.map(io.dqElmToSpec),r}))}return r}))}},uo=io;var lo=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])};var so=function(e,t,r){if(Array.isArray(e))return e.find((function(e){return null!==e&&"object"===s(e)&&Object.hasOwn(e,t)&&e[t]===r}))};function co(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),n=0;n<r;n++){var a=null==e?void 0:e[n],o=null==t?void 0:t[n];if("number"!=typeof a||isNaN(a))return 0===n?1:-1;if("number"!=typeof o||isNaN(o))return 0===n?-1:1;if(a!==o)return a-o}return 0}var po=function(e,t){var r=[];return e.forEach((function(e){var t,n=(t=e)&&t.results?Array.isArray(t.results)?t.results.length?t.results:null:[t.results]:null;if(n&&n.length){var a=function(e){if(e.frameElement)return uo.toSpec(e.frameElement);if(e.frameSpec)return e.frameSpec;return null}(e);n.forEach((function(e){e.nodes&&a&&function(e,t,r){e.forEach((function(e){e.node=uo.mergeSpecs(e.node,r),lo(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return uo.mergeSpecs(e,r)}))}))}))}(e.nodes,0,a);var t=so(r,"id",e.id);t?e.nodes.length&&function(e,t){for(var r=t[0].node,n=0;n<e.length;n++){var a=e[n].node,o=co(a.nodeIndexes,r.nodeIndexes);if(o>0||0===o&&r.selector.length<a.selector.length)return void e.splice.apply(e,[n,0].concat(G(t)))}e.push.apply(e,G(t))}(t.nodes,e.nodes):r.push(e)}))}})),r.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return co(e.node.nodeIndexes,t.node.nodeIndexes)}))})),r};function fo(e,t,r,n,a,o){t=Y({},t,{elementRef:!1});var i=wa();e.frames.forEach((function(e){var a=e.node,o=U(e,m);i.defer((function(e,i){ro(a,{options:t,command:r,parameter:n,context:o},(function(t){return e(t?{results:t,frameElement:a}:null)}),i)}))})),i.then((function(e){a(po(e,t))})).catch(o)}function mo(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var ho=function e(){for(var t={},r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return n.forEach((function(r){if(r&&"object"===s(r)&&!Array.isArray(r))for(var n=0,a=Object.keys(r);n<a.length;n++){var o=a[n];!t.hasOwnProperty(o)||"object"!==s(r[o])||Array.isArray(t[o])?t[o]=r[o]:t[o]=e(t[o],r[o])}})),t};var Do=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(r){e[r]=null;try{e[r]=t[r](e)}catch(e){}}))},go=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];var vo=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(go.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1},bo={};ie(bo,{createGrid:function(){return vi},findElmsInContext:function(){return wo},findNearbyElms:function(){return ki},findUp:function(){return Co},findUpVirtual:function(){return Eo},focusDisabled:function(){return Oi},getComposedParent:function(){return Uo},getElementByReference:function(){return Li},getElementCoordinates:function(){return Wo},getElementStack:function(){return $i},getModalDialog:function(){return _i},getOverflowHiddenAncestors:function(){return ko},getRootNode:function(){return Fo},getScrollOffset:function(){return Go},getTabbableElements:function(){return Hi},getTargetRects:function(){return Yi},getTargetSize:function(){return Ki},getTextElementStack:function(){return Sl},getViewportSize:function(){return Yo},getVisibleChildTextRects:function(){return Rl},hasContent:function(){return jl},hasContentVirtual:function(){return Ll},hasLangText:function(){return ql},idrefs:function(){return Zi},insertedIntoFocusOrder:function(){return zl},isCurrentPageLink:function(){return Pi},isFocusable:function(){return Gi},isHTML5:function(){return Ul},isHiddenForEveryone:function(){return Vo},isHiddenWithCSS:function(){return Hl},isInTabOrder:function(){return Wi},isInTextBlock:function(){return Xl},isInert:function(){return Ti},isModalOpen:function(){return Zl},isMultiline:function(){return Jl},isNativelyFocusable:function(){return Ui},isNode:function(){return Ql},isOffscreen:function(){return Ko},isOpaque:function(){return Dp},isSkipLink:function(){return gp},isVisible:function(){return wp},isVisibleOnScreen:function(){return Zo},isVisibleToScreenReaders:function(){return Yu},isVisualContent:function(){return Ml},reduceToElementsBelowFloating:function(){return Ep},shadowElementsFromPoint:function(){return kp},urlPropsFromAttribute:function(){return Tp},visuallyContains:function(){return Cp},visuallyOverlaps:function(){return Bp},visuallySort:function(){return ji}});var yo=function(e){var t=e.getRootNode&&e.getRootNode()||l;return t===e&&(t=l),t},Fo=yo;var wo=function(e){var t,r=e.context,n=e.value,a=e.attr,o=e.elm,i=void 0===o?"":o,u=mn(n);return t=9===r.nodeType||11===r.nodeType?r:Fo(r),Array.from(t.querySelectorAll(i+"["+a+"="+u+"]"))};var Eo=function(e,t){var r;if(r=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest){var n=e.actualNode.closest(t);return n||null}do{(r=r.assignedSlot?r.assignedSlot:r.parentNode)&&11===r.nodeType&&(r=r.host)}while(r&&!yn(r,t)&&r!==l.documentElement);return r&&yn(r,t)?r:null};var Co=function(e,t){return Eo(Yn(e),t)};function xo(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var Ao=wn((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Ao(e.parent))):t})),ko=Ao,No=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,_o=/(\w+)\((\d+)/;function To(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Bo(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Ro(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function So(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Oo(e){return"true"===e.attr("aria-hidden")}function Mo(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Io(e){var t=Af(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===r||0===n)}function Po(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.boundingClientRect,r=ko(e);return!!r.length&&r.some((function(e){var r=e.boundingClientRect;return r.width<2||r.height<2||!xo(t,r)}))}function Lo(e){var t=e.getComputedStylePropertyValue("clip").match(No),r=e.getComputedStylePropertyValue("clip-path").match(_o);if(t&&5===t.length){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function jo(e,t){var r=ha(e,"map");if(!r)return!0;var n=r.attr("name");if(!n)return!0;var a=yo(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=sm(c._tree,'img[usemap="#'.concat(mn(n),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function qo(e){var t;if("details"!==(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName))return!1;if("summary"===e.props.nodeName&&e.parent.children.find((function(e){return"summary"===e.props.nodeName}))===e)return!1;return!e.parent.hasAttr("open")}var zo=[Bo,Ro,So,qo];function Vo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=void 0!==n&&n;return e=jf(e).vNode,r?$o(e,a):Ho(e,a)}var $o=wn((function(e,t){return!!To(e)||!!e.actualNode&&(!!zo.some((function(r){return r(e,{isAncestor:t})}))||!e.actualNode.isConnected)})),Ho=wn((function(e,t){return!!$o(e,t)||!!e.parent&&Ho(e.parent,!0)}));var Uo=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null};var Go=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}};var Wo=function(e){var t=Go(l),r=t.left,n=t.top,a=e.getBoundingClientRect();return{top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}};var Yo=function(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var n=t.body;return{width:n.clientWidth,height:n.clientHeight}};var Ko=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=jf(e).domNode;if(t){var r,n=l.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(l.body||n).getPropertyValue("direction"),u=Wo(t);if(u.bottom<0&&(function(e,t){for(e=Uo(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=Uo(e)}return!0}(t,u.bottom)||"absolute"===a.position))return!0;if(0===u.left&&0===u.right)return!1;if("ltr"===o){if(u.right<=0)return!0}else if(r=Math.max(n.scrollWidth,Yo(i).width),u.left>=r)return!0;return!1}},Xo=[Mo,Io,Po,Lo,Ko];function Zo(e){return e=jf(e).vNode,Jo(e)}var Jo=wn((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!jo(e,Jo):!Vo(e,{skipAncestors:!0,isAncestor:t})&&((!e.actualNode||!Xo.some((function(r){return r(e,{isAncestor:t})})))&&(!e.parent||Jo(e.parent,!0)))}));function Qo(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,r,n-o,a-r)}function ei(e,t){var r=e.x,n=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return n>=a&&r<=o&&n<=i&&r>=u}var ti={};function ri(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return r>=n||a>=o?null:new i.DOMRect(r,a,n-r,o-a)}function ni(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new i.DOMPoint(t+n/2,r+a/2)}ie(ti,{getBoundingRect:function(){return Qo},getIntersectionRect:function(){return ri},getOffset:function(){return ii},getRectCenter:function(){return ni},hasVisualOverlap:function(){return si},isPointInRect:function(){return ei},rectHasMinimumSize:function(){return oi},rectsOverlap:function(){return xo},splitRects:function(){return ci}});var ai=.05;function oi(e,t){var r=t.width,n=t.height;return r+ai>=e&&n+ai>=e}function ii(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,n=Yi(e),a=Yi(t);if(!n.length||!a.length)return 0;var o,i=ni(n.reduce(Qo)),u=1/0,l=re(a);try{for(l.s();!(o=l.n()).done;){var s=o.value;if(ei(i,s))return 0;var c=li(i,ui(i,s));u=Math.min(u,c)}}catch(e){l.e(e)}finally{l.f()}if(oi(2*r,Ki(t)))return u;var d=li(i,ni(a.reduce(Qo)))-r;return Math.max(0,Math.min(u,d))}function ui(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function li(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function si(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return!(r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top)&&ji(e,t)>0}function ci(e,t){var r,n=[e],a=re(t);try{var o=function(){var e=r.value;n=n.reduce((function(t,r){return t.concat(function(e,t){var r=e.top,n=e.left,a=e.bottom,o=e.right,i=r<t.bottom&&a>t.top,u=n<t.right&&o>t.left,l=[];di(t.top,r,a)&&u&&l.push({top:r,left:n,bottom:t.top,right:o});di(t.right,n,o)&&i&&l.push({top:r,left:t.right,bottom:a,right:o});di(t.bottom,r,a)&&u&&l.push({top:t.bottom,right:o,bottom:a,left:n});di(t.left,n,o)&&i&&l.push({top:r,left:n,bottom:a,right:t.left});if(0===l.length){if(c=t,(s=e).top>=c.top&&s.left>=c.left&&s.bottom<=c.bottom&&s.right<=c.right)return[];l.push(e)}var s,c;return l.map(pi)}(r,e))}),[])};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return n}var di=function(e,t,r){return e>t&&e<r};function pi(e){return new i.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var fi=0,mi=.1,hi=.2,Di=.3,gi=0;function vi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Wn.get("gridCreated")&&!r)return Yr.gridSize;if(Wn.set("gridCreated",!0),!r){var n,a=Yn(l.documentElement);if(a||(a=new Op(l.documentElement)),gi=0,a._stackingOrder=[wi(fi,gi++,null)],null!==(n=t)&&void 0!==n||(t=new xi),Ci(t,a),Af(a.actualNode)){var o=new xi(a);a._subGrid=o}}for(var u=l.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),s=r?u.nextNode():u.currentNode;s;){var d=Yn(s);d&&d.parent?r=d.parent:s.assignedSlot?r=Yn(s.assignedSlot):s.parentElement?r=Yn(s.parentElement):s.parentNode&&Yn(s.parentNode)&&(r=Yn(s.parentNode)),d||(d=new c.VirtualNode(s,r)),d._stackingOrder=Fi(d,r,gi++);var p=Ei(d,r),f=p?p._subGrid:t;if(Af(d.actualNode)){var m=new xi(d);d._subGrid=m}var h=d.boundingClientRect;0!==h.width&&0!==h.height&&Zo(s)&&Ci(f,d),vo(s)&&vi(s.shadowRoot,f,d),s=u.nextNode()}return Yr.gridSize}function bi(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if("fixed"===r||"sticky"===r)return!0;if("auto"!==n&&"static"!==r)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var l=e.getComputedStylePropertyValue("will-change");if("transform"===l||"opacity"===l)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var s=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(s)||!("auto"===n||!yi(t))}function yi(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function Fi(e,t,r){var n=t._stackingOrder.slice();if(bi(e,t)){var a=n.findIndex((function(e){var t=e.stackLevel;return[fi,hi,Di].includes(t)}));-1!==a&&n.splice(a,n.length-a)}var o=function(e,t){var r=function(e,t){var r=e.getComputedStylePropertyValue("position");if("static"===r&&!yi(t))return"auto";return e.getComputedStylePropertyValue("z-index")}(e,t);if(!["auto","0"].includes(r))return parseInt(r);if("static"!==e.getComputedStylePropertyValue("position"))return Di;if("none"!==e.getComputedStylePropertyValue("float"))return hi;if(bi(e,t))return mi;return null}(e,t);return null!==o&&n.push(wi(o,r,e)),n}function wi(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function Ei(e,t){for(var r=null,n=[e];t;){if(Af(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Yn(t.actualNode.parentElement||t.actualNode.parentNode)}return n.forEach((function(e){return e._scrollRegionParent=r})),r}function Ci(e,t){var r=ko(t);t.clientRects.forEach((function(n){var a,o=r.reduce((function(e,t){return e&&ri(e,t.boundingClientRect)}),n);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,(function(e){e.includes(t)||e.push(t)}))}}))}var xi=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;J(this,e),this.container=t,this.cells=[]}return ee(e,[{key:"toGridIndex",value:function(e){return Math.floor(e/Yr.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,r,n=e.x,a=e.y;pn(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(n);pn(ei({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(r=u[i-u._negativeIndex])&&void 0!==r?r:[]}},{key:"loopGridPosition",value:function(e,t){var r=e,n=r.left,a=r.right,o=r.top,i=r.bottom;this.boundaries&&(e=Qo(this.boundaries,e)),this.boundaries=e,Ai(this.cells,o,i,(function(e,r){Ai(e,n,a,(function(e,n){t(e,{row:r,col:n})}))}))}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),r=this.toGridIndex(r+o-1),n=this.toGridIndex(n+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,r-a,n-t)}}]),e}();function Ai(e,t,r,n){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var o=0;o<e._negativeIndex-t;o++)e.splice(0,0,[]);e._negativeIndex=t}for(var i=t-e._negativeIndex,u=r-e._negativeIndex,l=i;l<=u;l++){var s,c;null!==(c=e[s=l])&&void 0!==c||(e[s]=[]),n(e[l],l+e._negativeIndex)}}function ki(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(vi(),null===(t=e._grid)||void 0===t||null===(r=t.cells)||void 0===r||!r.length)return[];var a=e.boundingClientRect,o=e._grid,i=Ni(e),u=o.getGridPositionOfRect(a,n),l=[];return o.loopGridPosition(u,(function(t){var r,n=re(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;a&&a!==e&&!l.includes(a)&&i===Ni(a)&&l.push(a)}}catch(e){n.e(e)}finally{n.f()}})),l}var Ni=wn((function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||Ni(e.parent))})),_i=wn((function(){var e;if(!c._tree)return null;var t=Jf(c._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return l.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&Zo(e)}));if(!t.length)return null;var r=t.find((function(e){var t=e.boundingClientRect;return l.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)}));return r||(null!==(e=t.find((function(e){var t,r=null!==(t=function(e){vi();var t=c._tree[0]._grid,r=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(!t)return;for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var o=0;o<a.length;o++){var u=a[o];if(u)for(var l=0;l<u.length;l++){var s=u[l],d=ri(s.boundingClientRect,r);if("html"!==s.props.nodeName&&s!==e&&"none"!==s.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:s,rect:d}}}}}(e))&&void 0!==t?t:{},n=r.vNode,a=r.rect;return!!n&&!l.elementsFromPoint(a.left+1,a.top+1).includes(n.actualNode)})))&&void 0!==e?e:null)}));function Ti(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Bi(e,n):Ri(e,n)}var Bi=wn((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var r=_i();if(r&&!mo(r,e))return!0}return!1})),Ri=wn((function(e,t){return!!Bi(e,t)||!!e.parent&&Ri(e.parent,!0)})),Si=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];var Oi=function(e){var t,r=jf(e).vNode;if(t=r.props.nodeName,Si.includes(t)&&r.hasAttr("disabled")||Ti(r))return!0;for(var n=r.parent,a=[],o=!1;n&&n.shadowId===r.shadowId&&!o&&(a.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){o=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(o=!0),n=n.parent}return a.forEach((function(e){return e._inDisabledFieldset=o})),!!o||"area"!==r.props.nodeName&&(!!r.actualNode&&Vo(r))},Mi=/^\/\#/,Ii=/^#[!/]/;function Pi(e){var t,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(Mi.test(r))return!0;var n=e.hash,a=e.protocol,o=e.hostname,u=e.port,l=e.pathname;if(Ii.test(n))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var s,c=i.location.origin+i.location.pathname;return s=o?"".concat(a,"//").concat(o).concat(u?":".concat(u):""):i.location.origin,(s+=l?("/"!==l[0]?"/":"")+l:i.location.pathname)===c}var Li=function(e,t){var r=e.getAttribute(t);if(!r)return null;if("href"===t&&!Pi(e))return null;-1!==r.indexOf("#")&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=l.getElementById(r);return n||((n=l.getElementsByName(r)).length?n[0]:null)};function ji(e,t){vi();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(void 0===t._stackingOrder[n])return-1;if(void 0===e._stackingOrder[n])return 1;if(t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return-1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,o=t.actualNode;if(a.getRootNode&&a.getRootNode()!==o.getRootNode()){for(var u=[];a;)u.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;o&&!u.find((function(e){return e.root===o.getRootNode()}));)o=o.getRootNode().host;if((a=u.find((function(e){return e.root===o.getRootNode()})).node)===o)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var l=i.Node,s=l.DOCUMENT_POSITION_FOLLOWING,c=l.DOCUMENT_POSITION_CONTAINS,d=l.DOCUMENT_POSITION_CONTAINED_BY,p=a.compareDocumentPosition(o),f=p&s?1:-1,m=p&c||p&d,h=qi(e),D=qi(t);return h===D||m?f:D-h}function qi(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:zi(e)?1:0}function zi(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=zi(e.parent);return e._isFloated=t,t}function Vi(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=ni(t),a=e.getCellFromPoint(n)||[],o=Math.floor(n.x),i=Math.floor(n.y),u=a.filter((function(e){return e.clientRects.some((function(e){var t=e.left,r=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&i<Math.floor(r+e.height)&&i>=Math.floor(r)}))})),s=e.container;return s&&(u=Vi(s._grid,s.boundingClientRect,!0).concat(u)),r||(u=u.sort(ji).map((function(e){return e.actualNode})).concat(l.documentElement).filter((function(e,t,r){return r.indexOf(e)===t}))),u}var $i=function(e){vi();var t=Yn(e),r=t._grid;return r?Vi(r,t.boundingClientRect):[]};var Hi=function(e){return sm(e,"*").filter((function(e){var t=e.isFocusable,r=e.actualNode.getAttribute("tabindex");return(r=r&&!isNaN(parseInt(r,10))?parseInt(r):null)?t&&r>=0:t}))};var Ui=function(e){var t=jf(e).vNode;if(!t||Oi(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!sm(t,"summary").length}return!1};function Gi(e){var t=jf(e).vNode;if(1!==t.props.nodeType)return!1;if(Oi(t))return!1;if(Ui(t))return!0;var r=t.attr("tabindex");return!(!r||isNaN(parseInt(r,10)))}function Wi(e){var t=jf(e).vNode;return 1===t.props.nodeType&&(!(parseInt(t.attr("tabindex",10))<=-1)&&Gi(t))}var Yi=wn((function(e){var t=e.boundingClientRect,r=ki(e).filter((function(t){return si(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return e.actualNode.contains(t.actualNode)&&!Wi(t)}(e,t)}));if(!r.length)return[t];var n=r.map((function(e){return e.boundingClientRect}));return ci(t,n)}));var Ki=wn((function(e,t){return function(e,t){return e.reduce((function(e,r){var n=oi(t,e);return n!==oi(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r}))}(Yi(e),t)}));var Xi={};ie(Xi,{accessibleText:function(){return Ji},accessibleTextVirtual:function(){return yl},autocomplete:function(){return Cl},formControlValue:function(){return ll},formControlValueMethods:function(){return il},hasUnicode:function(){return vl},isHumanInterpretable:function(){return El},isIconLigature:function(){return bl},isValidAutocomplete:function(){return xl},label:function(){return _l},labelText:function(){return dl},labelVirtual:function(){return Nl},nativeElementType:function(){return Tl},nativeTextAlternative:function(){return Dl},nativeTextMethods:function(){return hl},removeUnicode:function(){return wl},sanitize:function(){return vu},subtreeText:function(){return cl},titleText:function(){return Hu},unsupported:function(){return Wu},visible:function(){return kl},visibleTextNodes:function(){return Bl},visibleVirtual:function(){return Xu}});var Zi=function(e,t){e=e.actualNode||e;try{var r=Fo(e),n=[],a=e.getAttribute(t);if(a){a=Ip(a);for(var o=0;o<a.length;o++)n.push(r.getElementById(a[o]))}return n}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}};var Ji=function(e,t){return yl(Yn(e),t)};var Qi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=jf(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||t.inLabelledByContext||t.inControlContext||!r.attr("aria-labelledby")?"":Zi(r,"aria-labelledby").filter((function(e){return e})).reduce((function(e,n){var a=Ji(n,Y({inLabelledByContext:!0,startNode:t.startNode||r},t));return e?"".concat(e," ").concat(a):a}),"")};function eu(e){var t=jf(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var tu={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},ru={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},nu={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},au={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ou={ariaAttrs:tu,ariaRoles:Y({},ru,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:nu,cssColors:au},iu=Y({},ou);var uu=iu;var lu=function(e){var t=uu.ariaRoles[e];return!!t&&!!t.unsupported};var su=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=void 0!==n&&n,o=uu.ariaRoles[e],i=lu(e);return!(!o||a&&i)&&(!!r||"abstract"!==o.type)};var cu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(1!==(e=e instanceof Zr?e:Yn(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(r?Ip(o):[o]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&su(e,{allowAbstract:n})}))||null};var du=function(e){return Object.keys(uu.htmlElms).filter((function(t){var r=uu.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):!!r.variant&&(!(!r.variant.default||!r.variant.default.contentTypes)&&r.variant.default.contentTypes.includes(e))}))};var pu=function(){return Wn.get("globalAriaAttrs",(function(){return Object.keys(uu.ariaAttrs).filter((function(e){return uu.ariaAttrs[e].global}))}))};var fu=wn((function(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var o=r[n].cells;t[n]=t[n]||[];for(var i=0,u=0,l=o.length;u<l;u++)for(var s=0;s<o[u].colSpan;s++){for(var c=o[u].getAttribute("rowspan"),d=0===parseInt(c)||0===o[u].rowspan?r.length:o[u].rowSpan,p=0;p<d;p++){for(t[n+p]=t[n+p]||[];t[n+p][i];)i++;t[n+p][i]=o[u]}i++}}return t}));var mu=wn((function(e,t){var r,n;for(t||(t=fu(Co(e,"table"))),r=0;r<t.length;r++)if(t[r]&&-1!==(n=t[r].indexOf(e)))return{x:n,y:r}}));function hu(e){var t=jf(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),o=r.attr("role");if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===o)return"col";if("rowheader"===o)return"row";if("col"===a||"row"===a)return a;if("th"!==r.props.nodeName)return!1;if(!r.actualNode)return"auto";var i=fu(Co(n,"table")),u=mu(n,i);return i[u.y].every((function(e){return"TH"===e.nodeName.toUpperCase()}))?"col":i.map((function(e){return e[u.x]})).every((function(e){return e&&"TH"===e.nodeName.toUpperCase()}))?"row":"auto"}var Du=function(e){return-1!==["col","auto"].indexOf(hu(e))};var gu=function(e){return["row","auto"].includes(hu(e))};var vu=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},bu=function(){return Wn.get("sectioningElementSelector",(function(){return du("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , main:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]"}))};function yu(e){var t=vu(Qi(e)),r=vu(eu(e));return!(!t&&!r)}var Fu={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:"complementary",body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return ha(e,bu())?null:"contentinfo"},form:function(e){return yu(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return ha(e,bu())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),r=pu().find((function(t){return e.hasAttr(t)}));return!t||r||Gi(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var r=Zi(e.actualNode,"list").filter((function(e){return!!e}))[0];t=r&&"datalist"===r.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return yu(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=ha(e,"table"),r=cu(t);return["grid","treegrid"].includes(r)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return Du(e)?"columnheader":gu(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"};var wu=function(e,t){var r=s(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===r)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e};var Eu=function(e,t){return wu(!!yl(e),t)};var Cu=function(e,t){if("object"!==s(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(r){return wu(e(r),t[r])}))};var xu=function(e,t){return e=jf(e).vNode,Cu((function(t){return e.attr(t)}),t)};function Au(e,t){return!!t(e)}var ku=function(e,t){return wu(cu(e),t)};var Nu=function(e,t){return wu(Pu(e),t)};var _u=function(e,t){return e=jf(e).vNode,wu(e.props.nodeName,t)};var Tu=function(e,t){return e=jf(e).vNode,Cu((function(t){return e.props[t]}),t)};var Bu=function(e,t){return wu(Vu(e),t)},Ru={hasAccessibleName:Eu,attributes:xu,condition:Au,explicitRole:ku,implicitRole:Nu,nodeName:_u,properties:Tu,semanticRole:Bu};var Su=function e(t,r){return t=jf(t).vNode,Array.isArray(r)?r.some((function(r){return e(t,r)})):"string"==typeof r?na(t,r):Object.keys(r).every((function(e){if(!Ru[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var n=Ru[e],a=r[e];return n(t,a)}))};var Ou=function(e,t){return Su(e,t)};Ou.hasAccessibleName=Eu,Ou.attributes=xu,Ou.condition=Au,Ou.explicitRole=ku,Ou.fromDefinition=Su,Ou.fromFunction=Cu,Ou.fromPrimative=wu,Ou.implicitRole=Nu,Ou.nodeName=_u,Ou.properties=Tu,Ou.semanticRole=Bu;var Mu=Ou;var Iu=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,r=void 0!==t&&t,n=uu.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var a=n.variant,o=U(n,h);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],l=u.matches,s=U(u,D),c=Array.isArray(l)?l:[l],d=0;d<c.length&&r;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return n;if(Mu(e,l))for(var p in s)s.hasOwnProperty(p)&&(o[p]=s[p])}for(var f in a.default)a.default.hasOwnProperty(f)&&void 0===o[f]&&(o[f]=a.default[f]);return o};var Pu=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=e instanceof Zr?e:Yn(e);if(e=r.actualNode,!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=r.props.nodeName,a=Fu[n];return!a&&t?Iu(r).chromiumRole||null:"function"==typeof a?a(r):a||null},Lu={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function ju(e,t){var r=Lu[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=cu(e.parent,t);return["none","presentation"].includes(n)&&!zu(e.parent)?n:n?null:ju(e.parent,t)}function qu(e,t){var r=t.chromium,n=U(t,g),a=Pu(e,{chromium:r});if(!a)return null;var o=ju(e,n);return o||a}function zu(e){return pu().some((function(t){return e.hasAttr(t)}))||Gi(e)}var Vu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noPresentational,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,n=U(t,v),a=jf(e).vNode;if(1!==a.props.nodeType)return null;var o=cu(a,n);return o?["presentation","none"].includes(o)&&zu(a)?r?null:qu(a,n):o:r?null:qu(a,n)}(e,U(t,b));return r&&["presentation","none"].includes(n)?null:n},$u=["iframe"];var Hu=function(e){var t=jf(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Ou(t,$u)&&["none","presentation"].includes(Vu(t))?"":t.attr("title"):""};var Uu=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof Zr?e:Yn(e)).props.nodeType)return!1;var r=Vu(e),n=uu.ariaRoles[r];return!(!n||!n.nameFromContent)||!t&&(!n||["presentation","none"].includes(r))};var Gu=function(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Zi(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return c.utils.getNodeFromTree(e)}));return[].concat(G(r),G(n))}return G(r)},Wu={accessibleNameFromFieldValue:["progressbar"]};function Yu(e){return e=jf(e).vNode,Ku(e)}var Ku=wn((function(e,t){return!Oo(e)&&!Ti(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!jo(e,Ku):!Vo(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||Ku(e.parent,!0)))}));var Xu=function e(t,r,n){var a=jf(t).vNode,o=r?Yu:Zo,i=!t.actualNode||t.actualNode&&o(t),u=a.children.map((function(t){var a=t.props,o=a.nodeType,u=a.nodeValue;if(3===o){if(u&&i)return u}else if(!n)return e(t,r)})).join("");return vu(u)},Zu=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];var Ju=function(e){var t=(e=e instanceof Zr?e:Yn(e)).props.nodeName;return"textarea"===t||"input"===t&&!Zu.includes((e.attr("type")||"").toLowerCase())};var Qu=function(e){return"select"===(e=e instanceof Zr?e:Yn(e)).props.nodeName};var el=function(e){return"textbox"===cu(e)};var tl=function(e){return"listbox"===cu(e)};var rl=function(e){return"combobox"===cu(e)},nl=["progressbar","scrollbar","slider","spinbutton"];var al=function(e){var t=cu(e);return nl.includes(t)},ol=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],il={nativeTextboxValue:function(e){var t=jf(e).vNode;if(Ju(t))return t.props.value||"";return""},nativeSelectValue:function(e){var t=jf(e).vNode;if(!Qu(t))return"";var r=sm(t,"option"),n=r.filter((function(e){return e.props.selected}));n.length||n.push(r[0]);return n.map((function(e){return Xu(e)})).join(" ")||""},ariaTextboxValue:function(e){var t=jf(e),r=t.vNode,n=t.domNode;if(!el(r))return"";return!n||n&&!Vo(n)?Xu(r,!0):n.textContent},ariaListboxValue:ul,ariaComboboxValue:function(e,t){var r=jf(e).vNode;if(!rl(r))return"";var n=Gu(r).filter((function(e){return"listbox"===Vu(e)}))[0];return n?ul(n,t):""},ariaRangeValue:function(e){var t=jf(e).vNode;if(!al(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}};function ul(e,t){var r=jf(e).vNode;if(!tl(r))return"";var n=Gu(r).filter((function(e){return"option"===Vu(e)&&"true"===e.attr("aria-selected")}));return 0===n.length?"":yl(n[0],t)}var ll=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode,n=Wu.accessibleNameFromFieldValue||[],a=Vu(e);if(t.startNode===e||!ol.includes(a)||n.includes(a))return"";var o=Object.keys(il).map((function(e){return il[e]})).reduce((function(r,n){return r||n(e,t)}),"");return t.debug&&Kr(o||"{empty-value}",r,t),o};var sl=du("phrasing").concat(["#text"]);var cl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=yl.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,o=n.inControlContext,i=n.inLabelledByContext,u=Vu(e),l=Iu(e,{noMatchAccessibleName:!0}).contentTypes;return r(e,t)||1!==e.props.nodeType||null!=l&&l.includes("embedded")||ol.includes(u)?"":t.subtreeDescendant||t.inLabelledByContext||Uu(e,{strict:a})?(a||(t=Y({subtreeDescendant:!o&&!i},t)),Gu(e).reduce((function(e,r){return function(e,t,r){var n=t.props.nodeName,a=yl(t,r);if(!a)return e;sl.includes(n)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a));return e+a}(e,r,t)}),"")):""};var dl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=yl.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var n,a=Y({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return wo({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=ha(e,"label");return i?(n=[].concat(G(o),[i.actualNode])).sort(Lf):n=o,n.map((function(e){return Ji(e,a)})).filter((function(e){return""!==e})).join(" ")},pl={submit:"Submit",image:"Submit",reset:"Reset",button:""};function fl(e,t){return t.attr(e)||""}function ml(e,t,r){var n=t.actualNode,a=[e=e.toLowerCase(),n.nodeName.toLowerCase()].join(","),o=n.querySelector(a);return o&&o.nodeName.toLowerCase()===e?Ji(o,r):""}var hl={valueText:function(e){return e.actualNode.value||""},buttonDefaultText:function(e){var t=e.actualNode;return pl[t.type]||""},tableCaptionText:ml.bind(null,"caption"),figureText:ml.bind(null,"figcaption"),svgTitleText:ml.bind(null,"title"),fieldsetLegendText:ml.bind(null,"legend"),altText:fl.bind(null,"alt"),tableSummaryText:fl.bind(null,"summary"),titleText:Hu,subtreeText:cl,labelText:dl,singleSpace:function(){return" "},placeholderText:fl.bind(null,"placeholder")};function Dl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Vu(e)))return"";var n=function(e){var t=Iu(e,{noMatchAccessibleName:!0});return(t.namingMethods||[]).map((function(e){return hl[e]}))}(e),a=n.reduce((function(r,n){return r||n(e,t)}),"");return t.debug&&c.log(a||"{empty-value}",r,t),a}var gl=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g};var vl=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,o=!1;return r&&(o||(o=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g.test(e))),n&&(o||(o=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function bl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!vu(n)||vl(n,{emoji:!0,nonBmp:!0}))return!1;var a=Wn.get("canvasContext",(function(){return l.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),o=a.canvas,u=Wn.get("fonts",(function(){return{}})),s=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[s]||(u[s]={occurrences:0,numLigatures:0});var c=u[s];if(c.occurrences>=r){if(c.numLigatures/c.occurrences==1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,p="".concat(d,"px ").concat(s);a.font=p;var f=n.charAt(0),m=a.measureText(f).width;if(0===m)return c.numLigatures++,!0;if(m<30){var h=30/m;m*=h,p="".concat(d*=h,"px ").concat(s)}o.width=m,o.height=d,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(f,0,0);var D=new Uint32Array(a.getImageData(0,0,m,d).data.buffer);if(!D.some((function(e){return e})))return c.numLigatures++,!0;a.clearRect(0,0,m,d),a.fillText(n,0,0);var g=new Uint32Array(a.getImageData(0,0,m,d).data.buffer),v=D.reduce((function(e,t,r){return 0===t&&0===g[r]||0!==t&&0!==g[r]?e:++e}),0),b=n.split("").reduce((function(e,t){return e+a.measureText(t).width}),0),y=a.measureText(n).width;return v/D.length>=t&&1-y/b>=t&&(c.numLigatures++,!0)}function yl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){t.startNode||(t=Y({startNode:e},t));1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=Y({includeHidden:!Yu(e)},t));return t}(e,t),function(e,t){if(!e)return!1;if(1!==e.props.nodeType||t.includeHidden)return!1;return!Yu(e)}(e,t))return"";if(function(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(r=t.occurrenceThreshold)&&void 0!==r?r:t.occuranceThreshold;if(3!==e.props.nodeType||!n)return!1;return bl(e,a,o)}(e,t))return"";var r=[Qi,eu,Dl,ll,cl,Fl,Hu].reduce((function(r,n){return t.startNode===e&&(r=vu(r)),""!==r?r:n(e,t)}),"");return t.debug&&c.log(r||"{empty-value}",e.actualNode,t),r}function Fl(e){return 3!==e.props.nodeType?"":e.props.nodeValue}yl.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var wl=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e};var El=function(e){if(!e.length)return 0;if(["x","i"].includes(e))return 0;var t=wl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return vu(t)?1:0},Cl={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};var xl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,n=void 0!==r&&r,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,u=void 0===i?[]:i,l=t.qualifiers,s=void 0===l?[]:l,c=t.standaloneTerms,d=void 0===c?[]:c,p=t.qualifiedTerms,f=void 0===p?[]:p;if(e=e.toLowerCase().trim(),(o=o.concat(Cl.stateTerms)).includes(e)||""===e)return!0;s=s.concat(Cl.qualifiers),u=u.concat(Cl.locations),d=d.concat(Cl.standaloneTerms),f=f.concat(Cl.qualifiedTerms);var m=e.split(/\s+/g);if("webauthn"===m[m.length-1]&&(m.pop(),0===m.length))return!1;if(!n&&(m[0].length>8&&"section-"===m[0].substr(0,8)&&m.shift(),u.includes(m[0])&&m.shift(),s.includes(m[0])&&(m.shift(),d=[]),1!==m.length))return!1;var h=m[m.length-1];return d.includes(h)||f.includes(h)};var Al=function(e){var t;return e.attr("aria-labelledby")&&(t=Zi(e.actualNode,"aria-labelledby").map((function(e){var t=Yn(e);return t?Xu(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=vu(t))?t:null};var kl=function(e,t,r){return e=Yn(e),Xu(e,t,r)};var Nl=function(e){var t,r;if(r=Al(e))return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=mn(e.attr("id"));if(r=(t=Fo(e.actualNode).querySelector('label[for="'+n+'"]'))&&kl(t,!0))return r}return(r=(t=ha(e,"label"))&&Xu(t,!0))||null};var _l=function(e){return e=Yn(e),Nl(e)},Tl=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}];var Bl=function e(t){var r=Zo(t),n=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?r&&n.push(t):n=n.concat(e(t))})),n},Rl=wn((function(e){var t=Yn(e),r=t.boundingClientRect,n=[],a=ko(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==vu(e.nodeValue)){var t=function(e){var t=l.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some((function(e){return!ei(ni(e),t)}))})(t,r)||n.push.apply(n,G(function(e,t){var r=[];return e.forEach((function(e){if(!(e.width<1||e.height<1)){var n=t.reduce((function(e,t){return e&&ri(e,t.boundingClientRect)}),e);n&&r.push(n)}})),r}(t,a)))}})),n.length?n:[r]}));var Sl=function(e){vi();var t=Yn(e)._grid;return t?Rl(e).map((function(e){return Vi(t,e)})):[]},Ol=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];var Ml=function(e){var t=jf(e).vNode,r=c.commons.aria.getExplicitRole(t);if(r)return-1!==Ol.indexOf(r);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},Il=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Pl(e){return!Il.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var Ll=function e(t,r,n){return Pl(t)||Ml(t.actualNode)||!n&&!!Al(t)||!r&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))};var jl=function(e,t,r){return e=Yn(e),Ll(e,t,r)};function ql(e){return!(void 0!==e.children&&!Pl(e))||(1===e.props.nodeType&&Ml(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&ql(e)&&!Vo(e)})))}var zl=function(e){return parseInt(e.getAttribute("tabindex"),10)>-1&&Gi(e)&&!Ui(e)};function Vl(e,t){var r=jf(e),n=r.vNode,a=r.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=$l(a,t)),n._isHiddenWithCSS):$l(a,t)}function $l(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=i.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var n=["hidden","collapse"],a=r.getPropertyValue("visibility");if(n.includes(a)&&!t)return!0;if(n.includes(a)&&t&&n.includes(t))return!0;var o=Uo(e);return!(!o||n.includes(a))&&Vl(o,a)}var Hl=Vl;var Ul=function(e){var t=e.doctype;return null!==t&&("html"===t.name&&!t.publicId&&!t.systemId)};var Gl=function(e){var t;(e instanceof Zr||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var r=uu.ariaRoles[e];return(null==r?void 0:r.type)||null};function Wl(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return Wl(e,t)}))}var Yl=["block","list-item","table","flex","grid","inline-block"];function Kl(e){var t=i.getComputedStyle(e).getPropertyValue("display");return Yl.includes(t)||"table-"===t.substr(0,6)}var Xl=function(e,t){if(Kl(e))return!1;var r=function(e){for(var t=Uo(e);t&&!Kl(t);)t=Uo(t);return Yn(t)}(e),n="",a="",o=0;return Wl(r,(function(t){if(2===o)return!1;if(3===t.nodeType&&(n+=t.nodeValue),1===t.nodeType){var r=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(r))0===o?(n="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===Gl(t))return a+=t.textContent,!1}}})),n=vu(n),null!=t&&t.noLengthCompare?0!==n.length:(a=vu(a),n.length>a.length)};var Zl=function(e){var t=(e=e||{}).modalPercent||.75;if(Wn.get("isModalOpen"))return Wn.get("isModalOpen");if(Jf(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",Zo).length)return Wn.set("isModalOpen",!0),!0;for(var r=Yo(i),n=r.width*t,a=r.height*t,o=(r.width-n)/2,u=(r.height-a)/2,d=[{x:o,y:u},{x:r.width-o,y:u},{x:r.width/2,y:r.height/2},{x:o,y:r.height-u},{x:r.width-o,y:r.height-u}].map((function(e){return Array.from(l.elementsFromPoint(e.x,e.y))})),p=function(e){var t=d[e].find((function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=n&&parseInt(t.height,10)>=a&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)}));if(t&&d.every((function(e){return e.includes(t)})))return Wn.set("isModalOpen",!0),{v:!0}},f=0;f<d.length;f++){var m=p(f);if("object"===s(m))return m.v}Wn.set("isModalOpen",void 0)};function Jl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n,a=0,o=0,i=re(r.getClientRects());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==o)return!0;a=u.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var Ql=function(e){return e instanceof i.Node},es="color.incompleteData",ts={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var r=Wn.get(es,(function(){return{}}));return t&&(r[e]=t),r[e]},get:function(e){var t=Wn.get(es);return null==t?void 0:t[e]},clear:function(){Wn.set(es,{})}},rs=ts;var ns=function(e,t){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return rs.set("bgColor","imgNode"),!0;var n=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==n;if(a){var o=/gradient/.test(n);rs.set("bgColor",o?"bgGradient":"bgImage")}return a},as={};ie(as,{Colorjs:function(){return tp},CssSelectorParser:function(){return os.CssSelectorParser},doT:function(){return is.default},emojiRegexText:function(){return gl},memoize:function(){return us.default}});var os=ue(Vt()),is=ue($t()),us=ue(Lt());function ls(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map((function(e){return[e]})));var n=t[0].length,a=t[0].map((function(e,r){return t.map((function(e){return e[r]}))})),o=e.map((function(e){return a.map((function(t){var r=0;if(!Array.isArray(e)){var n,a=re(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;r+=e*o}}catch(e){a.e(e)}finally{a.f()}return r}for(var i=0;i<e.length;i++)r+=e[i]*(t[i]||0);return r}))}));return 1===r&&(o=o[0]),1===n?o.map((function(e){return e[0]})):o}function ss(e){return"string"===cs(e)}function cs(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function ds(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return+e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function ps(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,r=e.match(/^([a-z]+)\((.+?)\)$/i);if(r){var n=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function(e,r){/%$/.test(r)?(r=new Number(r.slice(0,-1)/100)).type="<percentage>":/deg$/.test(r)?((r=new Number(+r.slice(0,-3))).type="<angle>",r.unit="deg"):t.test(r)&&((r=new Number(r)).type="<number>"),e.startsWith("/")&&((r=r instanceof Number?r:new Number(r)).alpha=!0),n.push(r)})),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:n}}}}function fs(e){return e[e.length-1]}function ms(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function hs(e,t,r){return(r-e)/(t-e)}function Ds(e,t,r){return ms(t[0],t[1],hs(e[0],e[1],r))}function gs(e){return e.map((function(e){return e.split("|").map((function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var r=new String(t[1]);return r.range=[+t[2],+t[3]],r}return e}))}))}var vs=Object.freeze({__proto__:null,isString:ss,type:cs,toPrecision:ds,parseFunction:ps,last:fs,interpolate:ms,interpolateInv:hs,mapRange:Ds,parseCoordGrammar:gs,multiplyMatrices:ls}),bs=function(){function e(){J(this,e)}return ee(e,[{key:"add",value:function(e,t,r){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),e}(),ys=new bs,Fs={gamut_mapping:"lch.c",precision:5,deltaE:"76"},ws={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function Es(e){return Array.isArray(e)?e:ws[e]}function Cs(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=Es(e),t=Es(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(ys.run("chromatic-adaptation-start",a),a.M||(a.W1===ws.D65&&a.W2===ws.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===ws.D50&&a.W2===ws.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),ys.run("chromatic-adaptation-end",a),a.M)return ls(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var xs=(e=new WeakSet,t=new WeakMap,o=new WeakSet,function(){function r(n){var a,i,u,l,s,c,d;J(this,r),j(this,o),j(this,e),L(this,t,{writable:!0,value:void 0}),this.id=n.id,this.name=n.name,this.base=n.base?r.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var p=null!==(a=n.coords)&&void 0!==a?a:this.base.coords;this.coords=p;var f=null!==(i=null!==(u=n.white)&&void 0!==u?u:this.base.white)&&void 0!==i?i:"D65";for(var m in this.white=Es(f),this.formats=null!==(l=n.formats)&&void 0!==l?l:{},this.formats){var h=this.formats[m];h.type||(h.type="function"),h.name||(h.name=m)}!n.cssId||null!==(s=this.formats.functions)&&void 0!==s&&s.color?null===(c=this.formats)||void 0===c||!c.color||null!==(d=this.formats)&&void 0!==d&&d.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,$(this,t,V(this,o,ks).call(this).reverse()),ys.run("colorspace-init-end",this)}return ee(r,[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,r=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var n=Object.values(this.coords);return e.every((function(e,t){var a=n[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=K(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-r)&&(void 0===u||e<=u+r)}return!0}))}},{key:"cssId",get:function(){var e,t;return(null===(e=this.formats.functions)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===s(t)?t=V(this,e,As).call(this,t):(r="default"===t?Object.values(this.formats)[0]:this.formats[t])?r=V(this,e,As).call(this,r):null;var r}},{key:"to",value:function(e,n){if(1===arguments.length){var a=[e.space,e.coords];e=a[0],n=a[1]}if(this===(e=r.get(e)))return n;n=n.map((function(e){return Number.isNaN(e)?0:e}));for(var o,i,u=z(this,t),l=z(e,t),s=0;s<u.length&&u[s]===l[s];s++)o=u[s],i=s;if(!o)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var c=u.length-1;c>i;c--)n=u[c].toBase(n);for(var d=i+1;d<l.length;d++)n=l[d].fromBase(n);return n}},{key:"from",value:function(e,t){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],t=n[1]}return(e=r.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var r,n=this.coords[t],a=n.range||n.refRange;e.push(null!==(r=null==a?void 0:a.min)&&void 0!==r?r:0)}return e}}],[{key:"all",get:function(){return G(new Set(Object.values(r.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var r,n=re(t.aliases);try{for(n.s();!(r=n.n()).done;){var a=r.value;this.register(a,t)}}catch(e){n.e(e)}finally{n.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof r)return e;if("string"===cs(e)){var t=r.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];if(a.length)return r.get.apply(r,a);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var n,a,o=cs(e);if("string"===o)if(e.includes(".")){var i=K(e.split("."),2);n=i[0],a=i[1]}else n=void 0,a=e;else if(Array.isArray(e)){var u=K(e,2);n=u[0],a=u[1]}else n=e.space,a=e.coordId;if((n=r.get(n))||(n=t),!n)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(o=cs(a))||"string"===o&&a>=0){var l=Object.entries(n.coords)[a];if(l)return Y({space:n,id:l[0],index:a},l[1])}n=r.get(n);var s=a.toLowerCase(),c=0;for(var d in n.coords){var p,f=n.coords[d];if(d.toLowerCase()===s||(null===(p=f.name)||void 0===p?void 0:p.toLowerCase())===s)return Y({space:n,id:d,index:c},f);c++}throw new TypeError('No "'.concat(a,'" coordinate found in ').concat(n.name,". Its coordinates are: ").concat(Object.keys(n.coords).join(", ")))}}]),r}());function As(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=gs(e.coords);var t=Object.entries(this.coords).map((function(t,r){var n=K(t,2),a=(n[0],n[1]),o=e.coordGrammar[r][0],i=a.range||a.refRange,u=o.range,l="";return"<percentage>"==o?(u=[0,100],l="%"):"<angle>"==o&&(l="deg"),{fromRange:i,toRange:u,suffix:l}}));e.serializeCoords=function(e,r){return e.map((function(e,n){var a=t[n],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=Ds(o,i,e)),e=ds(e,r),u&&(e+=u),e}))}}return e}function ks(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Ns=xs;le(Ns,"registry",{}),le(Ns,"DEFAULT_FORMAT",{type:"functions",name:"color"});var _s=new Ns({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),Ts=function(e){R(r,e);var t=O(r);function r(e){var n,a,o,i;(J(this,r),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=_s),e.toXYZ_M&&e.fromXYZ_M)&&(null!==(o=e.toBase)&&void 0!==o||(e.toBase=function(t){var r=ls(e.toXYZ_M,t);return a.white!==a.base.white&&(r=Cs(a.white,a.base.white,r)),r}),null!==(i=e.fromBase)&&void 0!==i||(e.fromBase=function(t){return t=Cs(a.base.white,a.white,t),ls(e.fromXYZ_M,t)}));return null!==(n=e.referred)&&void 0!==n||(e.referred="display"),a=t.call(this,e)}return ee(r)}(Ns);function Bs(e){var t,r={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(ys.run("parse-start",r),r.color)return r.color;if(r.parsed=ps(r.str),r.parsed){var n=function(){var e=r.parsed.name;if("color"===e){var t,n=r.parsed.args.shift(),a=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=re(Ns.all);try{for(o.s();!(t=o.n()).done;){var i,u=t.value,l=u.getFormat("color");if(l)if(n===l.id||null!==(i=l.ids)&&void 0!==i&&i.includes(n)){var c=function(){var e=Object.keys(u.coords).length,t=Array(e).fill(0);return t.forEach((function(e,n){return t[n]=r.parsed.args[n]||0})),{v:{v:{spaceId:u.id,coords:t,alpha:a}}}}();if("object"===s(c))return c.v}}}catch(e){o.e(e)}finally{o.f()}var d="";if(n in Ns.registry){var p,f,m,h=null===(p=Ns.registry[n].formats)||void 0===p||null===(f=p.functions)||void 0===f||null===(m=f.color)||void 0===m?void 0:m.id;h&&(d="Did you mean color(".concat(h,")?"))}throw new TypeError("Cannot parse color(".concat(n,"). ")+(d||"Missing a plugin?"))}var D,g=re(Ns.all);try{var v=function(){var t=D.value,n=t.getFormat(e);if(n&&"function"===n.type){var a=1;(n.lastAlpha||fs(r.parsed.args).alpha)&&(a=r.parsed.args.pop());var o=r.parsed.args;return n.coordGrammar&&Object.entries(t.coords).forEach((function(t,r){var a,i=K(t,2),u=i[0],l=i[1],s=n.coordGrammar[r],c=null===(a=o[r])||void 0===a?void 0:a.type;if(!(s=s.find((function(e){return e==c})))){var d=l.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(e,"()"))}var p=s.range;"<percentage>"===c&&(p||(p=[0,1]));var f=l.range||l.refRange;p&&f&&(o[r]=Ds(p,f,o[r]))})),{v:{v:{spaceId:t.id,coords:o,alpha:a}}}}};for(g.s();!(D=g.n()).done;){var b=v();if("object"===s(b))return b.v}}catch(e){g.e(e)}finally{g.f()}}();if("object"===s(n))return n.v}else{var a,o=re(Ns.all);try{for(o.s();!(a=o.n()).done;){var i=a.value;for(var u in i.formats){var l=i.formats[u];if("custom"===l.type&&(!l.test||l.test(r.str))){var c,d=l.parse(r.str);if(d)return null!==(c=d.alpha)&&void 0!==c||(d.alpha=1),d}}}}catch(e){o.e(e)}finally{o.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function Rs(e){if(!e)throw new TypeError("Empty color reference");ss(e)&&(e=Bs(e));var t=e.space||e.spaceId;return t instanceof Ns||(e.space=Ns.get(t)),void 0===e.alpha&&(e.alpha=1),e}function Ss(e,t){return(t=Ns.get(t)).from(e)}function Os(e,t){var r=Ns.resolveCoord(t,e.space),n=r.space,a=r.index;return Ss(e,n)[a]}function Ms(e,t,r){return t=Ns.get(t),e.coords=t.to(e.space,r),e}function Is(e,t,r){if(e=Rs(e),2===arguments.length&&"object"===cs(arguments[1])){var n=arguments[1];for(var a in n)Is(e,a,n[a])}else{"function"==typeof r&&(r=r(Os(e,t)));var o=Ns.resolveCoord(t,e.space),i=o.space,u=o.index,l=Ss(e,i);l[u]=r,Ms(e,i,l)}return e}var Ps=new Ns({id:"xyz-d50",name:"XYZ D50",white:"D50",base:_s,fromBase:function(e){return Cs(_s.white,"D50",e)},toBase:function(e){return Cs("D50",_s.white,e)},formats:{color:{}}}),Ls=216/24389,js=24/116,qs=24389/27,zs=ws.D50,Vs=new Ns({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:zs,base:Ps,fromBase:function(e){var t=e.map((function(e,t){return e/zs[t]})),r=t.map((function(e){return e>Ls?Math.cbrt(e):(qs*e+16)/116}));return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>js?Math.pow(t[0],3):(116*t[0]-16)/qs,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/qs,t[2]>js?Math.pow(t[2],3):(116*t[2]-16)/qs].map((function(e,t){return e*zs[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function $s(e){return(e%360+360)%360}var Hs=new Ns({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Vs,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),$s(t)]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];return n<0&&(n=0),isNaN(a)&&(a=0),[r,n*Math.cos(a*Math.PI/180),n*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Us=Math.pow(25,7),Gs=Math.PI,Ws=180/Gs,Ys=Gs/180;function Ks(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.kL,a=void 0===n?1:n,o=r.kC,i=void 0===o?1:o,u=r.kH,l=void 0===u?1:u,s=K(Vs.from(e),3),c=s[0],d=s[1],p=s[2],f=Hs.from(Vs,[c,d,p])[1],m=K(Vs.from(t),3),h=m[0],D=m[1],g=m[2],v=Hs.from(Vs,[h,D,g])[1];f<0&&(f=0),v<0&&(v=0);var b=(f+v)/2,y=Math.pow(b,7),F=.5*(1-Math.sqrt(y/(y+Us))),w=(1+F)*d,E=(1+F)*D,C=Math.sqrt(Math.pow(w,2)+Math.pow(p,2)),x=Math.sqrt(Math.pow(E,2)+Math.pow(g,2)),A=0===w&&0===p?0:Math.atan2(p,w),k=0===E&&0===g?0:Math.atan2(g,E);A<0&&(A+=2*Gs),k<0&&(k+=2*Gs);var N,_=h-c,T=x-C,B=(k*=Ws)-(A*=Ws),R=A+k,S=Math.abs(B);C*x==0?N=0:S<=180?N=B:B>180?N=B-360:B<-180?N=B+360:console.log("the unthinkable has happened");var O,M=2*Math.sqrt(x*C)*Math.sin(N*Ys/2),I=(c+h)/2,P=(C+x)/2,L=Math.pow(P,7);O=C*x==0?R:S<=180?R/2:R<360?(R+360)/2:(R-360)/2;var j=Math.pow(I-50,2),q=1+.015*j/Math.sqrt(20+j),z=1+.045*P,V=1;V-=.17*Math.cos((O-30)*Ys),V+=.24*Math.cos(2*O*Ys),V+=.32*Math.cos((3*O+6)*Ys);var $=1+.015*P*(V-=.2*Math.cos((4*O-63)*Ys)),H=30*Math.exp(-1*Math.pow((O-275)/25,2)),U=2*Math.sqrt(L/(L+Us)),G=-1*Math.sin(2*H*Ys)*U,W=Math.pow(_/(a*q),2);return W+=Math.pow(T/(i*z),2),W+=Math.pow(M/(l*$),2),W+=G*(T/(i*z))*(M/(l*$)),Math.sqrt(W)}function Xs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===r?75e-6:r;e=Rs(e),t=Ns.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:n})}function Zs(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Js(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method,n=void 0===r?Fs.gamut_mapping:r,a=t.space,o=void 0===a?e.space:a;if(ss(arguments[1])&&(o=arguments[1]),Xs(e,o=Ns.get(o),{epsilon:0}))return e;var i=Qs(e,o);if("clip"!==n&&!Xs(e,o)){var u=Js(Zs(i),{method:"clip",space:o});if(Ks(e,u)>2){for(var l=Ns.resolveCoord(n),s=l.space,c=l.id,d=Qs(i,s),p=(l.range||l.refRange)[0],f=Os(d,c);f-p>.01;){var m=Zs(d);Ks(d,m=Js(m,{space:o,method:"clip"}))-2<.01?p=Os(d,c):f=Os(d,c),Is(d,c,(p+f)/2)}i=Qs(d,o)}else i=u}if("clip"===n||!Xs(i,o,{epsilon:0})){var h=Object.values(o.coords).map((function(e){return e.range||[]}));i.coords=i.coords.map((function(e,t){var r=K(h[t],2),n=r[0],a=r[1];return void 0!==n&&(e=Math.max(n,e)),void 0!==a&&(e=Math.min(e,a)),e}))}return o!==e.space&&(i=Qs(i,e.space)),e.coords=i.coords,e}function Qs(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=Rs(e);var n=(t=Ns.get(t)).from(e),a={space:t,coords:n,alpha:e.alpha};return r&&(a=Js(a)),a}function ec(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?Fs.precision:o,u=a.format,l=void 0===u?"default":u,s=a.inGamut,c=void 0===s||s,d=U(a,y),p=l;l=null!==(t=null!==(r=(e=Rs(e)).space.getFormat(l))&&void 0!==r?r:e.space.getFormat("default"))&&void 0!==t?t:Ns.DEFAULT_FORMAT,c||(c=l.toGamut);var f=e.coords;if(f=f.map((function(e){return e||0})),c&&!Xs(e)&&(f=Js(Zs(e),!0===c?void 0:c).coords),"custom"===l.type){if(d.precision=i,!l.serialize)throw new TypeError("format ".concat(p," can only be used to parse colors, not for serialization"));n=l.serialize(f,e.alpha,d)}else{var m=l.name||"color";l.serializeCoords?f=l.serializeCoords(f,i):null!==i&&(f=f.map((function(e){return ds(e,i)})));var h=G(f);if("color"===m){var D,g=l.id||(null===(D=l.ids)||void 0===D?void 0:D[0])||e.space.id;h.unshift(g)}var v=e.alpha;null!==i&&(v=ds(v,i));var b=e.alpha<1&&!l.noAlpha?"".concat(l.commas?",":" /"," ").concat(v):"";n="".concat(m,"(").concat(h.join(l.commas?", ":" ")).concat(b,")")}return n}Js.returns="color",Qs.returns="color";var tc=new Ts({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),rc=1.09929682680944,nc=.018053968510807,ac=new Ts({id:"rec2020",name:"REC.2020",base:tc,toBase:function(e){return e.map((function(e){return e<4.5*nc?e/4.5:Math.pow((e+rc-1)/rc,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=nc?rc*Math.pow(e,.45)-(rc-1):4.5*e}))},formats:{color:{}}}),oc=new Ts({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),ic=new Ts({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),uc={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},lc=Array(3).fill("<percentage> | <number>[0, 255]"),sc=Array(3).fill("<number>[0, 255]"),cc=new Ts({id:"srgb",name:"sRGB",base:ic,fromBase:function(e){return e.map((function(e){var t=e<0?-1:1,r=e*t;return r>.0031308?t*(1.055*Math.pow(r,1/2.4)-.055):12.92*e}))},toBase:function(e){return e.map((function(e){var t=e<0?-1:1,r=e*t;return r<.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)}))},formats:{rgb:{coords:lc},rgb_number:{name:"rgb",commas:!0,coords:sc,noAlpha:!0},color:{},rgba:{coords:lc,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:sc},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===r||r;t<1&&e.push(t),e=e.map((function(e){return Math.round(255*e)}));var a=n&&e.every((function(e){return e%17==0}));return"#"+e.map((function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")})).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=uc.black,t.alpha=0):t.coords=uc[e],t.coords)return t}}}}),dc=new Ts({id:"p3",name:"P3",base:oc,fromBase:cc.fromBase,toBase:cc.toBase,formats:{color:{id:"display-p3"}}});if(Fs.display_space=cc,"undefined"!=typeof CSS&&CSS.supports)for(var pc=0,fc=[Vs,ac,dc];pc<fc.length;pc++){var mc=fc[pc],hc=mc.getMinCoords(),Dc=ec({space:mc,coords:hc,alpha:1});if(CSS.supports("color",Dc)){Fs.display_space=mc;break}}function gc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.space,n=void 0===r?Fs.display_space:r,a=U(t,F),o=ec(e,a);if("undefined"==typeof CSS||CSS.supports("color",o)||!Fs.display_space)(o=new String(o)).color=e;else{var i=Qs(e,n);(o=new String(ec(i,a))).color=i}return o}function vc(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",n=(r=Ns.get(r)).from(e),a=r.from(t);return Math.sqrt(n.reduce((function(e,t,r){var n=a[r];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)}),0))}function bc(e){return Os(e,[_s,"y"])}function yc(e,t){Is(e,[_s,"y"],t)}var Fc=Object.freeze({__proto__:null,getLuminance:bc,setLuminance:yc,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return bc(this)},set:function(e){yc(this,e)}})}});function wc(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function Ec(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}var Cc=216/24389,xc=24/116,Ac=24389/27,kc=ws.D65,Nc=new Ns({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:kc,base:_s,fromBase:function(e){var t=e.map((function(e,t){return e/kc[t]})),r=t.map((function(e){return e>Cc?Math.cbrt(e):(Ac*e+16)/116}));return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>xc?Math.pow(t[0],3):(116*t[0]-16)/Ac,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Ac,t[2]>xc?Math.pow(t[2],3):(116*t[2]-16)/Ac].map((function(e,t){return e*kc[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),_c=.5*Math.pow(5,.5)+.5;var Tc=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=Rs(e),t=Rs(t);var r=Math.max(bc(e),0),n=Math.max(bc(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return(r+.05)/(n+.05)},contrastAPCA:function(e,t){var r,n,a,o;t=Rs(t),e=Rs(e);var i=K((t=Qs(t,"srgb")).coords,3);n=i[0],a=i[1],o=i[2];var u=.2126729*Ec(n)+.7151522*Ec(a)+.072175*Ec(o),l=K((e=Qs(e,"srgb")).coords,3);n=l[0],a=l[1],o=l[2];var s=.2126729*Ec(n)+.7151522*Ec(a)+.072175*Ec(o),c=wc(u),d=wc(s),p=d>c;return r=Math.abs(d-c)<5e-4?0:p?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(r)<.1?0:r>0?r-.027:r+.027)},contrastMichelson:function(e,t){e=Rs(e),t=Rs(t);var r=Math.max(bc(e),0),n=Math.max(bc(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}var o=r+n;return 0===o?0:(r-n)/o},contrastWeber:function(e,t){e=Rs(e),t=Rs(t);var r=Math.max(bc(e),0),n=Math.max(bc(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return 0===n?5e4:(r-n)/n},contrastLstar:function(e,t){e=Rs(e),t=Rs(t);var r=Os(e,[Vs,"l"]),n=Os(t,[Vs,"l"]);return Math.abs(r-n)},contrastDeltaPhi:function(e,t){e=Rs(e),t=Rs(t);var r=Os(e,[Nc,"l"]),n=Os(t,[Nc,"l"]),a=Math.abs(Math.pow(r,_c)-Math.pow(n,_c)),o=Math.pow(a,1/_c)*Math.SQRT2-40;return o<7.5?0:o}});function Bc(e){var t=K(Ss(e,_s),3),r=t[0],n=t[1],a=r+15*n+3*t[2];return[4*r/a,9*n/a]}function Rc(e){var t=K(Ss(e,_s),3),r=t[0],n=t[1],a=r+n+t[2];return[r/a,n/a]}var Sc=Object.freeze({__proto__:null,uv:Bc,xy:Rc,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Bc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Rc(this)}})}});var Oc=Math.PI/180;var Mc=new Ns({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:_s,fromBase:function(e){return e.map((function(e){return Math.max(203*e,0)}))},toBase:function(e){return e.map((function(e){return Math.max(e/203,0)}))}}),Ic=1.15,Pc=.66,Lc=2610/Math.pow(2,14),jc=Math.pow(2,14)/2610,qc=3424/Math.pow(2,12),zc=2413/Math.pow(2,7),Vc=2392/Math.pow(2,7),$c=1.7*2523/Math.pow(2,5),Hc=Math.pow(2,5)/(1.7*2523),Uc=-.56,Gc=16295499532821565e-27,Wc=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Yc=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Kc=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Xc=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Zc=new Ns({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Mc,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=ls(Wc,[Ic*r-(Ic-1)*a,Pc*n-(Pc-1)*r,a]).map((function(e){var t=qc+zc*Math.pow(e/1e4,Lc),r=1+Vc*Math.pow(e/1e4,Lc);return Math.pow(t/r,$c)})),i=K(ls(Kc,o),3),u=i[0],l=i[1],s=i[2];return[(1+Uc)*u/(1+Uc*u)-Gc,l,s]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=ls(Xc,[(r+Gc)/(1+Uc-Uc*(r+Gc)),n,a]).map((function(e){var t=qc-Math.pow(e,Hc),r=Vc*Math.pow(e,Hc)-zc;return 1e4*Math.pow(t/r,jc)})),i=K(ls(Yc,o),3),u=i[0],l=i[1],s=i[2],c=(u+(Ic-1)*s)/Ic;return[c,(l+(Pc-1)*c)/Pc,s]},formats:{color:{}}}),Jc=new Ns({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Zc,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),$s(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}});var Qc=.8359375,ed=2413/128,td=18.6875,rd=2610/16384,nd=2523/32,ad=16384/2610,od=32/2523,id=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],ud=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],ld=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],sd=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],cd=new Ns({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:Mc,fromBase:function(e){return function(e){var t=e.map((function(e){var t=Qc+ed*Math.pow(e/1e4,rd),r=1+td*Math.pow(e/1e4,rd);return Math.pow(t/r,nd)}));return ls(ud,t)}(ls(id,e))},toBase:function(e){var t=function(e){var t=ls(ld,e),r=t.map((function(e){var t=Math.max(Math.pow(e,od)-Qc,0),r=ed-td*Math.pow(e,od);return 1e4*Math.pow(t/r,ad)}));return r}(e);return ls(sd,t)},formats:{color:{}}});var dd=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],pd=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],fd=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],md=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],hd=new Ns({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:_s,fromBase:function(e){var t=ls(dd,e).map((function(e){return Math.cbrt(e)}));return ls(fd,t)},toBase:function(e){var t=ls(md,e).map((function(e){return Math.pow(e,3)}));return ls(pd,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});var Dd=Object.freeze({__proto__:null,deltaE76:function(e,t){return vc(e,t,"lab")},deltaECMC:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.l,a=void 0===n?2:n,o=r.c,i=void 0===o?1:o,u=K(Vs.from(e),3),l=u[0],s=u[1],c=u[2],d=K(Hs.from(Vs,[l,s,c]),3),p=d[1],f=d[2],m=K(Vs.from(t),3),h=m[0],D=m[1],g=m[2],v=Hs.from(Vs,[h,D,g])[1];p<0&&(p=0),v<0&&(v=0);var b=l-h,y=p-v,F=s-D,w=c-g,E=Math.pow(F,2)+Math.pow(w,2)-Math.pow(y,2),C=.511;l>=16&&(C=.040975*l/(1+.01765*l));var x,A=.0638*p/(1+.0131*p)+.638;Number.isNaN(f)&&(f=0),x=f>=164&&f<=345?.56+Math.abs(.2*Math.cos((f+168)*Oc)):.36+Math.abs(.4*Math.cos((f+35)*Oc));var k=Math.pow(p,4),N=Math.sqrt(k/(k+1900)),_=A*(N*x+1-N),T=Math.pow(b/(a*C),2);return T+=Math.pow(y/(i*A),2),T+=E/Math.pow(_,2),Math.sqrt(T)},deltaE2000:Ks,deltaEJz:function(e,t){var r=K(Jc.from(e),3),n=r[0],a=r[1],o=r[2],i=K(Jc.from(t),3),u=i[0],l=i[1],s=i[2],c=n-u,d=a-l;Number.isNaN(o)&&Number.isNaN(s)?(o=0,s=0):Number.isNaN(o)?o=s:Number.isNaN(s)&&(s=o);var p=o-s,f=2*Math.sqrt(a*l)*Math.sin(p/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(f,2))},deltaEITP:function(e,t){var r=K(cd.from(e),3),n=r[0],a=r[1],o=r[2],i=K(cd.from(t),3),u=i[0],l=i[1],s=i[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(a-l,2)+Math.pow(o-s,2))},deltaEOK:function(e,t){var r=K(hd.from(e),3),n=r[0],a=r[1],o=r[2],i=K(hd.from(t),3),u=n-i[0],l=a-i[1],s=o-i[2];return Math.sqrt(Math.pow(u,2)+Math.pow(l,2)+Math.pow(s,2))}});function gd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ss(r)&&(r={method:r});var n=r,a=n.method,o=void 0===a?Fs.deltaE:a,i=U(n,E);for(var u in e=Rs(e),t=Rs(t),Dd)if("deltae"+o.toLowerCase()===u.toLowerCase())return Dd[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var vd=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Is(e,[Ns.get("oklch","lch"),"l"],(function(e){return e*(1+t)}))},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Is(e,[Ns.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function bd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[Rs(e),Rs(t)];if(e=a[0],t=a[1],"object"===cs(r)){var o=[.5,r];r=o[0],n=o[1]}var i=n;return Fd(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(r)}function yd(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(wd(e)){n=t;var a=K((r=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=n,i=o.maxDeltaE,u=o.deltaEMethod,l=o.steps,s=void 0===l?2:l,c=o.maxSteps,d=void 0===c?1e3:c,p=U(o,C);if(!r){var f=[Rs(e),Rs(t)];r=Fd(e=f[0],t=f[1],p)}var m=gd(e,t),h=i>0?Math.max(s,Math.ceil(m/i)+1):s,D=[];if(void 0!==d&&(h=Math.min(h,d)),1===h)D=[{p:.5,color:r(.5)}];else{var g=1/(h-1);D=Array.from({length:h},(function(e,t){var n=t*g;return{p:n,color:r(n)}}))}if(i>0)for(var v=D.reduce((function(e,t,r){if(0===r)return 0;var n=gd(t.color,D[r-1].color,u);return Math.max(e,n)}),0);v>i;){v=0;for(var b=1;b<D.length&&D.length<d;b++){var y=D[b-1],F=D[b],w=(F.p+y.p)/2,E=r(w);v=Math.max(v,gd(E,y.color),gd(E,F.color)),D.splice(b,0,{p:w,color:r(w)}),b++}}return D=D.map((function(e){return e.color}))}function Fd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(wd(e)){var n=e,a=t;return Fd.apply(void 0,G(n.rangeArgs.colors).concat([Y({},n.rangeArgs.options,a)]))}var o=r.space,i=r.outputSpace,u=r.progression,l=r.premultiplied;e=Rs(e),t=Rs(t),e=Zs(e),t=Zs(t);var s={colors:[e,t],options:r};if(o=o?Ns.get(o):Ns.registry[Fs.interpolationSpace]||e.space,i=i?Ns.get(i):o,e=Qs(e,o),t=Qs(t,o),e=Js(e),t=Js(t),o.coords.h&&"angle"===o.coords.h.type){var c=r.hue=r.hue||"shorter",d=[o,"h"],p=[Os(e,d),Os(t,d)],f=p[0],m=p[1],h=function(e,t){if("raw"===e)return t;var r=K(t.map($s),2),n=r[0],a=r[1],o=a-n;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(n+=360):"longer"===e?-180<o&&o<180&&(o>0?a+=360:n+=360):"shorter"===e&&(o>180?n+=360:o<-180&&(a+=360)),[n,a]}(c,[f,m]),D=K(h,2);f=D[0],m=D[1],Is(e,d,f),Is(t,d,m)}return l&&(e.coords=e.coords.map((function(t){return t*e.alpha})),t.coords=t.coords.map((function(e){return e*t.alpha}))),Object.assign((function(r){r=u?u(r):r;var n=e.coords.map((function(e,n){return ms(e,t.coords[n],r)})),a=ms(e.alpha,t.alpha,r),s={space:o,coords:n,alpha:a};return l&&(s.coords=s.coords.map((function(e){return e/a}))),i!==o&&(s=Qs(s,i)),s}),{rangeArgs:s})}function wd(e){return"function"===cs(e)&&!!e.rangeArgs}Fs.interpolationSpace="lab";var Ed=Object.freeze({__proto__:null,mix:bd,steps:yd,range:Fd,isRange:wd,register:function(e){e.defineFunction("mix",bd,{returns:"color"}),e.defineFunction("range",Fd,{returns:"function<color>"}),e.defineFunction("steps",yd,{returns:"array<color>"})}}),Cd=new Ns({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:cc,fromBase:function(e){var t=Math.max.apply(Math,G(e)),r=Math.min.apply(Math,G(e)),n=K(e,3),a=n[0],o=n[1],i=n[2],u=NaN,l=0,s=(r+t)/2,c=t-r;if(0!==c){switch(l=0===s||1===s?0:(t-s)/Math.min(s,1-s),t){case a:u=(o-i)/c+(o<i?6:0);break;case o:u=(i-a)/c+2;break;case i:u=(a-o)/c+4}u*=60}return[u,100*l,100*s]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];function o(e){var t=(e+r/30)%12,o=n*Math.min(a,1-a);return a-o*Math.max(-1,Math.min(t-3,9-t,1))}return(r%=360)<0&&(r+=360),n/=100,a/=100,[o(0),o(8),o(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),xd=new Ns({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:Cd,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)+(n/=100)*Math.min(a,1-a);return[r,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)*(1-(n/=100)/2);return[r,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),Ad=new Ns({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:xd,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];return[r,a*(100-n)/100,100-a]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(n/=100)+(a/=100);if(o>=1)return[r,0,100*(n/o)];var i=1-a;return[r,100*(0===i?0:1-n/i),100*i]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),kd=new Ts({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),Nd=new Ts({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:kd,toBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)}))},fromBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)}))},formats:{color:{id:"a98-rgb"}}}),_d=new Ts({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Ps,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),Td=1/512,Bd=new Ts({id:"prophoto",name:"ProPhoto",base:_d,toBase:function(e){return e.map((function(e){return e<.03125?e/16:Math.pow(e,1.8)}))},fromBase:function(e){return e.map((function(e){return e>=Td?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),Rd=new Ns({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:hd,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),$s(t)]},toBase:function(e){var t,r,n=K(e,3),a=n[0],o=n[1],i=n[2];return isNaN(i)?(t=0,r=0):(t=o*Math.cos(i*Math.PI/180),r=o*Math.sin(i*Math.PI/180)),[a,t,r]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Sd=2610/Math.pow(2,14),Od=Math.pow(2,14)/2610,Md=2523/Math.pow(2,5),Id=Math.pow(2,5)/2523,Pd=3424/Math.pow(2,12),Ld=2413/Math.pow(2,7),jd=2392/Math.pow(2,7),qd=new Ts({id:"rec2100pq",name:"REC.2100-PQ",base:tc,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,Id)-Pd,0)/(Ld-jd*Math.pow(e,Id)),Od)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),r=Pd+Ld*Math.pow(t,Sd),n=1+jd*Math.pow(t,Sd);return Math.pow(r/n,Md)}))},formats:{color:{id:"rec2100-pq"}}}),zd=.17883277,Vd=.28466892,$d=.55991073,Hd=3.7743,Ud=new Ts({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:tc,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*Hd:Math.exp((e-$d)/zd+Vd)/12*Hd}))},fromBase:function(e){return e.map((function(e){return(e/=Hd)<=1/12?Math.sqrt(3*e):zd*Math.log(12*e-Vd)+$d}))},formats:{color:{id:"rec2100-hlg"}}}),Gd={};function Wd(e){var t=e.id;e.toCone_M,e.fromCone_M;Gd[t]=arguments[0]}function Yd(e,t){var r=Gd[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],n=K(ls(r.toCone_M,e),3),a=n[0],o=n[1],i=n[2],u=K(ls(r.toCone_M,t),3),l=ls([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],r.toCone_M);return ls(r.fromCone_M,l)}ys.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=Yd(e.W1,e.W2,e.options.method))})),ys.add("chromatic-adaptation-end",(function(e){e.M||(e.M=Yd(e.W1,e.W2,e.options.method))})),Wd({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Wd({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),Wd({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),Wd({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(ws,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),ws.ACES=[.32168/.33767,1,.34065/.33767];var Kd=new Ts({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:ws.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),Xd=Math.pow(2,-16),Zd=-.35828683,Jd=(Math.log2(65504)+9.72)/17.52,Qd=new Ts({id:"acescc",name:"ACEScc",coords:{r:{range:[Zd,Jd],name:"Red"},g:{range:[Zd,Jd],name:"Green"},b:{range:[Zd,Jd],name:"Blue"}},referred:"scene",base:Kd,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-Xd):e<Jd?Math.pow(2,17.52*e-9.72):65504}))},fromBase:function(e){return e.map((function(e){return e<=0?(Math.log2(Xd)+9.72)/17.52:e<Xd?(Math.log2(Xd+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52}))},formats:{color:{}}}),ep=Object.freeze({__proto__:null,XYZ_D65:_s,XYZ_D50:Ps,XYZ_ABS_D65:Mc,Lab_D65:Nc,Lab:Vs,LCH:Hs,sRGB_Linear:ic,sRGB:cc,HSL:Cd,HWB:Ad,HSV:xd,P3_Linear:oc,P3:dc,A98RGB_Linear:kd,A98RGB:Nd,ProPhoto_Linear:_d,ProPhoto:Bd,REC_2020_Linear:tc,REC_2020:ac,OKLab:hd,OKLCH:Rd,Jzazbz:Zc,JzCzHz:Jc,ICTCP:cd,REC_2100_PQ:qd,REC_2100_HLG:Ud,ACEScg:Kd,ACEScc:Qd}),tp=(S=new WeakMap,function(){function e(){var t,r,n,a,o=this;J(this,e),L(this,S,{writable:!0,value:void 0});for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];1===u.length&&(t=Rs(u[0])),t?(r=t.space||t.spaceId,n=t.coords,a=t.alpha):(r=u[0],n=u[1],a=u[2]),$(this,S,Ns.get(r)),this.coords=n?n.slice():[0,0,0],this.alpha=a<1?a:1;for(var s=0;s<this.coords.length;s++)"NaN"===this.coords[s]&&(this.coords[s]=NaN);var c=function(e){Object.defineProperty(o,e,{get:function(){return o.get(e)},set:function(t){return o.set(e,t)}})};for(var d in z(this,S).coords)c(d)}return ee(e,[{key:"space",get:function(){return z(this,S)}},{key:"spaceId",get:function(){return z(this,S).id}},{key:"clone",value:function(){return new e(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=gc.apply(void 0,[this].concat(r));return a.color=new e(a.color),a}}],[{key:"get",value:function(t){if(t instanceof e)return t;for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return B(e,[t].concat(n))}},{key:"defineFunction",value:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,a=n.instance,o=void 0===a||a,i=n.returns,u=function(){var t=r.apply(void 0,arguments);if("color"===i)t=e.get(t);else if("function<color>"===i){var n=t;t=function(){var t=n.apply(void 0,arguments);return e.get(t)},Object.assign(t,n)}else"array<color>"===i&&(t=t.map((function(t){return e.get(t)})));return t};t in e||(e[t]=u),o&&(e.prototype[t]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(t){for(var r in t)e.defineFunction(r,t[r],t[r])}},{key:"extend",value:function(t){if(t.register)t.register(e);else for(var r in t)e.defineFunction(r,t[r])}}]),e}());tp.defineFunctions({get:Os,getAll:Ss,set:Is,setAll:Ms,to:Qs,equals:function(e,t){return e=Rs(e),t=Rs(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((function(e,r){return e===t.coords[r]}))},inGamut:Xs,toGamut:Js,distance:vc,toString:ec}),Object.assign(tp,{util:vs,hooks:ys,WHITES:ws,Space:Ns,spaces:Ns.registry,parse:Bs,defaults:Fs});for(var rp=0,np=Object.keys(ep);rp<np.length;rp++){var ap=np[rp];Ns.register(ep[ap])}for(var op in Ns.registry)ip(op,Ns.registry[op]);function ip(e,t){Object.keys(t.coords),Object.values(t.coords).map((function(e){return e.name}));var r=e.replace(/-/g,"_");Object.defineProperty(tp.prototype,r,{get:function(){var r=this,n=this.getAll(e);return"undefined"==typeof Proxy?n:new Proxy(n,{has:function(e,r){try{return Ns.resolveCoord([t,r]),!0}catch(e){}return Reflect.has(e,r)},get:function(e,r,n){if(r&&"symbol"!==s(r)&&!(r in e)){var a=Ns.resolveCoord([t,r]).index;if(a>=0)return e[a]}return Reflect.get(e,r,n)},set:function(n,a,o,i){if(a&&"symbol"!==s(a)&&!(a in n)||a>=0){var u=Ns.resolveCoord([t,a]).index;if(u>=0)return n[u]=o,r.setAll(e,n),!0}return Reflect.set(n,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}ys.add("colorspace-init-end",(function(e){var t;ip(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){ip(t,e)}))})),tp.extend(Dd),tp.extend({deltaE:gd}),tp.extend(vd),tp.extend({contrast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ss(r)&&(r={algorithm:r});var n=r,a=n.algorithm,o=U(n,w);if(!a){var i=Object.keys(Tc).map((function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var u in e=Rs(e),t=Rs(t),Tc)if("contrast"+a.toLowerCase()===u.toLowerCase())return Tc[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),tp.extend(Sc),tp.extend(Fc),tp.extend(Ed),tp.extend(Tc);var up=ue(Ht()),lp=ue(Ut()),sp=(ue(Gt()),ue(Gr()));"hasOwn"in Object||(Object.hasOwn=sp.default),is.default.templateSettings.strip=!1,"Promise"in i||up.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=lp.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce}));var cp=/^#[0-9a-f]{3,8}$/i,dp=/hsl\(\s*([\d.]+)(rad|turn)/,pp=function(){function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;J(this,e),this.red=t,this.green=r,this.blue=n,this.alpha=a}return ee(e,[{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?r:"0"+r)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(dp,(function(e,t,r){var n=t+r;switch(r){case"rad":return e.replace(n,180*t/Math.PI);case"turn":return e.replace(n,360*t)}}));try{var t=new tp(e).to("srgb");this.red=Math.round(255*mp(t.r,0,1)),this.green=Math.round(255*mp(t.g,0,1)),this.blue=Math.round(255*mp(t.b,0,1)),this.alpha=+t.alpha}catch(t){throw new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(cp)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.red/255,t=this.green/255,r=this.blue/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}}]),e}(),fp=pp;function mp(e,t,r){return Math.min(Math.max(t,e),r)}var hp=function(e){var t=new fp;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t};var Dp=function(e){var t=i.getComputedStyle(e);return ns(e,t)||1===hp(t).alpha};function gp(e){if(!e.href)return!1;var t=Wn.get("firstPageLink",vp);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function vp(){return(i.location.origin?sm(c._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!Pi(e.actualNode)})):sm(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var bp=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,yp=/(\w+)\((\d+)/;function Fp(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Zr?e:Yn(e);e=a?a.actualNode:e;var o="_isVisible"+(t?"ScreenReader":""),u=null!==(n=i.Node)&&void 0!==n?n:{},l=u.DOCUMENT_NODE,s=u.DOCUMENT_FRAGMENT_NODE,d=a?a.props.nodeType:e.nodeType,p=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&void 0!==a[o])return a[o];if(d===l)return!0;if(["style","script","noscript","template"].includes(p))return!1;if((e&&d===s&&(e=e.host),t)&&"true"===(a?a.attr("aria-hidden"):e.getAttribute("aria-hidden")))return!1;if(!e){var f=a.parent,m=!0;return f&&(m=Fp(f,t,!0)),a&&(a[o]=m),m}var h=i.getComputedStyle(e,null);if(null===h)return!1;if("area"===p)return function(e,t,r){var n=Co(e,"map");if(!n)return!1;var a=n.getAttribute("name");if(!a)return!1;var o=Fo(e);if(!o||9!==o.nodeType)return!1;var i=sm(c._tree,'img[usemap="#'.concat(mn(a),'"]'));return!(!i||!i.length)&&i.some((function(e){return Fp(e.actualNode,t,r)}))}(e,t,r);if("none"===h.getPropertyValue("display"))return!1;var D=parseInt(h.getPropertyValue("height")),g=parseInt(h.getPropertyValue("width")),v=Af(e),b=v&&0===D,y=v&&0===g,F="absolute"===h.getPropertyValue("position")&&(D<2||g<2)&&"hidden"===h.getPropertyValue("overflow");if(!t&&(function(e){var t=e.getPropertyValue("clip").match(bp),r=e.getPropertyValue("clip-path").match(yp);if(t&&5===t.length){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(h)||"0"===h.getPropertyValue("opacity")||b||y||F))return!1;if(!r&&("hidden"===h.getPropertyValue("visibility")||!t&&Ko(e)))return!1;var w=e.assignedSlot?e.assignedSlot:e.parentNode,E=!1;return w&&(E=Fp(w,t,!0)),a&&(a[o]=E),E}var wp=Fp;var Ep=function(e,t){for(var r=["fixed","sticky"],n=[],a=!1,o=0;o<e.length;++o){var u=e[o];u===t&&(a=!0);var l=i.getComputedStyle(u);a||-1===r.indexOf(l.position)?n.push(u):n=[]}return n};function Cp(e,t){var r=xp(t);do{var n=xp(e);if(n===r||n===t)return Ap(e,t);e=n}while(e);return!1}function xp(e){for(var t=Yn(e).parent;t;){if(Af(t.actualNode))return t.actualNode;t=t.parent}}function Ap(e,t){var r=i.getComputedStyle(t),n=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var a=Array.from(e.getClientRects()),o=t.getBoundingClientRect(),u={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(n)||t instanceof i.HTMLHtmlElement)&&(u.width=t.scrollWidth,u.height=t.scrollHeight),1===a.length&&"hidden"===n&&"nowrap"===r.getPropertyValue("white-space")&&(a[0]=u),a.some((function(e){return!(Math.ceil(e.left)<Math.floor(u.left)||Math.ceil(e.top)<Math.floor(u.top)||Math.floor(e.left+e.width)>Math.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))}))}var kp=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,r)||[]).filter((function(e){return Fo(e)===n})).reduce((function(n,o){if(vo(o)){var i=e(t,r,o.shadowRoot,a+1);(n=n.concat(i)).length&&Cp(n[0],o)&&n.push(o)}else n.push(o);return n}),[])};function Np(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=K(r[n].split("="),2),o=a[0],i=a[1],u=void 0===i?"":i;t[decodeURIComponent(o)]=decodeURIComponent(u)}return t}function _p(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===K(t,1)[0]?"":e:""}var Tp=function(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;["A","AREA"].includes(r)&&!e.ownerSVGElement||((n=l.createElement("a")).href=e.getAttribute(t));var a,o=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=function(e){var t=e.split("/").pop();if(!t||-1===t.indexOf("."))return{pathname:e,filename:""};return{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}(/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname)),u=i.pathname,s=i.filename;return{protocol:o,hostname:n.hostname,port:(a=n.port,["443","80"].includes(a)?"":a),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:Np(n.search),hash:_p(n.hash),filename:s}}};var Bp=function(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,o=n-t.scrollTop,u=n-t.scrollTop+t.scrollHeight,l=a-t.scrollLeft,s=a-t.scrollLeft+t.scrollWidth;if(e.left>s&&e.left>r.right||e.top>u&&e.top>r.bottom||e.right<l&&e.right<r.left||e.bottom<o&&e.bottom<r.top)return!1;var c=i.getComputedStyle(t);return!(e.left>r.right||e.top>r.bottom)||("scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement)},Rp=0,Sp=function(e){R(r,e);var t=O(r);function r(e,n,a){var o;if(J(this,r),(o=t.call(this)).shadowId=a,o.children=[],o.actualNode=e,o.parent=n,n||(Rp=0),o.nodeIndex=Rp++,o._isHidden=null,o._cache={},o._isXHTML=En(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var i=e.getAttribute("type");i=o._isXHTML?i:(i||"").toLowerCase(),Fm().includes(i)||(i="text"),o._type=i}return Wn.get("nodeMap")&&Wn.get("nodeMap").set(e,M(o)),o}return ee(r,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,r=e.nodeName,n=e.id,a=e.multiple,o=e.nodeValue,i=e.value,u=e.selected,l=e.checked,s=e.indeterminate;this._cache.props={nodeType:t,nodeName:this._isXHTML?r:r.toLowerCase(),id:n,type:this._type,multiple:a,nodeValue:o,value:i,selected:u,checked:l,indeterminate:s}}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map((function(e){return e.name})));return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Gi(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Hi(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(e){return e.width>0}))),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}]),r}(Zr),Op=Sp;var Mp,Ip=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Pp=" [idsMap]";function Lp(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,o=0;o<t.length;o++)if(t[o].length>1&&t[o].some((function(e){return jp(e)})))return;var i=new Set;t.forEach((function(e){var t,r=function(e,t,r){var n=e[e.length-1],a=null,o=e.length>1||!!n.pseudos||!!n.classes;if(jp(n))a=t["*"];else{if(n.id){var i;if(!t[Pp]||!Object.hasOwn(t[Pp],n.id)||null===(i=t[Pp][n.id])||void 0===i||!i.length)return;a=t[Pp][n.id].filter((function(e){return e.shadowId===r}))}if(n.tag&&"*"!==n.tag){var u;if(null===(u=t[n.tag])||void 0===u||!u.length)return;var l=t[n.tag];a=a?qp(l,a):l}if(n.classes){var s;if(null===(s=t["[class]"])||void 0===s||!s.length)return;var c=t["[class]"];a=a?qp(c,a):c}if(n.attributes)for(var d=0;d<n.attributes.length;d++){var p,f=n.attributes[d];if("attrValue"===f.type&&(o=!0),null===(p=t["[".concat(f.key,"]")])||void 0===p||!p.length)return;var m=t["[".concat(f.key,"]")];a=a?qp(m,a):m}}return{nodes:a,isComplexSelector:o}}(e,n,a);null==r||null===(t=r.nodes)||void 0===t||t.forEach((function(t){r.isComplexSelector&&!ma(t,e)||i.add(t)}))}));var u=[];return i.forEach((function(e){return u.push(e)})),r&&(u=u.filter(r)),u.sort((function(e,t){return e.nodeIndex-t.nodeIndex}))}}function jp(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function qp(e,t){return e.filter((function(e){return t.includes(e)}))}function zp(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t)}function Vp(e,t){1===e.props.nodeType&&(zp(e.props.nodeName,e,t),zp("*",e,t),e.attrNames.forEach((function(r){"id"===r&&(t[Pp]=t[Pp]||{},Ip(e.attr(r)).forEach((function(r){zp(r,e,t[Pp])}))),zp("[".concat(r,"]"),e,t)})))}function $p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.documentElement,t=arguments.length>1?arguments[1]:void 0;Mp=!1;var r={};Wn.set("nodeMap",new WeakMap),Wn.set("selectorMap",r);var n=Up(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Mp,n}function Hp(e,t,r){var n=new Op(e,t,r);return Vp(n,Wn.get("selectorMap")),n}function Up(e,t,r){var n,a,o;function u(e,r,n){var a=Up(r,t,n);return a&&(e=e.concat(a)),e}if(e.documentElement&&(e=e.documentElement),o=e.nodeName.toLowerCase(),vo(e))return Mp=!0,n=Hp(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=a.reduce((function(e,t){return u(e,t,n)}),[]),[n];if("content"===o&&"function"==typeof e.getDistributedNodes)return(a=Array.from(e.getDistributedNodes())).reduce((function(e,t){return u(e,t,r)}),[]);if("slot"===o&&"function"==typeof e.assignedNodes){(a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e));i.getComputedStyle(e);return a.reduce((function(e,t){return u(e,t,r)}),[])}return 1===e.nodeType?(n=Hp(e,r,t),a=Array.from(e.childNodes),n.children=a.reduce((function(e,t){return u(e,t,n)}),[]),[n]):3===e.nodeType?[Hp(e,r)]:void 0}var Gp=function(e){return e?e.trim().split("-")[0].toLowerCase():""};var Wp=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map((function(e){if(t[e].length){var r=c._audit.data.failureSummaries[e];return r&&"function"==typeof r.failureMessage?r.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\n\n")};function Yp(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var Kp=Yr.resultGroups;function Xp(e,t){var r=c.utils.aggregateResult(e);return Kp.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(r[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])})),r[e]=(r[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map((function(e){if("object"===s(e.node)){var r=Zp(e.node,t);Object.assign(e,r)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach((function(r){Array.isArray(e[r])&&e[r].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return Zp(e,t)}))}))}))}(e,t),e}))),Kp.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),r}function Zp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=uo.dqElmToSpec(e,t);var r,n,a,o,i,u={};c._audit.noHtml?u.html=null:u.html=null!==(r=e.source)&&void 0!==r?r:"Undefined";t.elementRef&&!e.fromFrame&&(u.element=null!==(n=e.element)&&void 0!==n?n:null);(!1!==t.selectors||e.fromFrame)&&(u.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]);t.ancestry&&(u.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]);t.xpath&&(u.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]);return u}var Jp=/\$\{\s?data\s?\}/g;function Qp(e,t){if("string"==typeof t)return e.replace(Jp,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=void 0===t[r]?"":String(t[r]);e=e.replace(n,a)}return e}var ef=function e(t,r){if(t){if(Array.isArray(r))return r.values=r.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?Qp(1===r.length?t.singular:t.plural,r):Qp(t,r);if("string"==typeof t)return Qp(t,r);if("string"==typeof r)return Qp(t[r],r);var n=t.default||Yp();return r&&r.messageKey&&t[r.messageKey]&&(n=t[r.messageKey]),e(n,r)}};var tf=function(e,t,r){var n=c._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return ef(n.messages[t],r)};var rf=function(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};function nf(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===s(t)?t:"object"!==s(r)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:af(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function af(e){if(!e.navigator||"object"!==s(e.navigator))return{};var t,r=e.navigator,n=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:r.userAgent,windowWidth:a,windowHeight:n,orientationAngle:i,orientationType:u}}function of(e,t){var r=t.focusable,n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&uf(e),size:lf(e),page:n}}function uf(e){var t=e.getAttribute("tabindex");if(!t)return!0;var r=parseInt(t,10);return isNaN(r)||r>=0}function lf(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r}return{width:t,height:r}}function sf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];gf(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=cf(e[r]);n&&t.push(n)}return t}function cf(e){return e instanceof i.Node?e:"string"==typeof e?[e]:(ff(e)?(!function(e){vf(Array.isArray(e.fromFrames),"fromFrames property must be an array"),vf(e.fromFrames.every((function(e){return!bf(e,"fromFrames")})),"Invalid context; fromFrames selector must be appended, rather than nested"),vf(!bf(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):mf(e)&&(e=[e]),function(e){if(!Array.isArray(e))return;var t,r=[],n=re(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(mf(a)&&(hf(a),a=a.fromShadowDom),"string"!=typeof a&&!Df(a))return;r.push(a)}}catch(e){n.e(e)}finally{n.f()}return r}(e))}function df(e){return["include","exclude"].some((function(t){return bf(e,t)&&pf(e[t])}))}function pf(e){return"string"==typeof e||e instanceof i.Node||ff(e)||mf(e)||gf(e)}function ff(e){return bf(e,"fromFrames")}function mf(e){return bf(e,"fromShadowDom")}function hf(e){vf(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),vf(e.fromShadowDom.every((function(e){return!bf(e,"fromFrames")})),"shadow selector must be inside fromFrame instead"),vf(e.fromShadowDom.every((function(e){return!bf(e,"fromShadowDom")})),"fromShadowDom selector must be appended, rather than nested")}function Df(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function gf(e){return e&&"object"===s(e)&&"number"==typeof e.length&&e instanceof i.Node==!1}function vf(e,t){pn(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function bf(e,t){return!(!e||"object"!==s(e))&&Object.prototype.hasOwnProperty.call(e,t)}function yf(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var o=e[t][n];if(o instanceof i.Node)o.documentElement instanceof i.Node?r.push(e.flatTree[0]):r.push(Yn(o));else if(o&&o.length)if(o.length>1)Ff(e,t,o);else{var u=bm(o[0]);r.push.apply(r,G(u.map((function(e){return Yn(e)}))))}}return r.filter((function(e){return e}))}function Ff(e,t,r){e.frames=e.frames||[],bm(r.shift()).forEach((function(n){var a=e.frames.find((function(e){return e.node===n}));a||(a=of(n,e),e.frames.push(a)),a[t].push(r)}))}function wf(e,t){var r,n,a,o,u,c=this;e=Qn(e),this.frames=[],this.page="boolean"==typeof(null===(r=e)||void 0===r?void 0:r.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(n=e)||void 0===n?void 0:n.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===s(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(df(e)){var t=" must be used inside include or exclude. It should not be on the same object.";vf(!bf(e,"fromFrames"),"fromFrames"+t),vf(!bf(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!pf(e))return{include:[l],exclude:[]};e={include:e,exclude:[]}}var r=sf(e.include);return 0===r.length&&r.push(l),{include:r,exclude:sf(e.exclude)}}(e),this.flatTree=null!=t?t:$p(function(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var o=n[a];if(o instanceof i.Element)return o.ownerDocument.documentElement;if(o instanceof i.Document)return o.documentElement}return l.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=yf(this,"include"),this.exclude=yf(this,"exclude"),mm("frame, iframe",this).forEach((function(e){Mf(e,c)&&function(e,t){if(!Yu(t)||so(e.frames,"node",t))return;e.frames.push(of(t,e))}(c,e.actualNode)})),void 0===this.page&&(this.page=1===(u=this.include).length&&u[0].actualNode===l.documentElement,this.frames.forEach((function(e){e.page=c.page}))),function(e){if(0===e.include.length&&0===e.frames.length){var t=eo.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Lf)}function Ef(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new wf(e).frames.map((function(e){var t=e.node,r=U(e,x);return r.initiator=!1,{frameSelector:Vn(t),frameContext:r}}))}function Cf(e){var t=c._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function xf(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var Af=wn((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=i.getComputedStyle(e),o=xf(a,"overflow-x"),u=xf(a,"overflow-y");return r&&o||n&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}));function kf(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var r=Af(t);return r&&e.push(r),e.concat(kf(t))}),[])}var Nf=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(kf(l.body))};function _f(){return Qn(uu)}var Tf,Bf=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=void 0!==n&&n,o=t.shadowId,i=t.root,u=t.priority,l=t.isLink,s=void 0!==l&&l,c=e.createElement("style");if(s){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:u}}};var Rf=function(e){if(Tf&&Tf.parentNode)return void 0===Tf.styleSheet?Tf.appendChild(l.createTextNode(e)):Tf.styleSheet.cssText+=e,Tf;if(e){var t=l.head||l.getElementsByTagName("head")[0];return(Tf=l.createElement("style")).type="text/css",void 0===Tf.styleSheet?Tf.appendChild(l.createTextNode(e)):Tf.styleSheet.cssText=e,t.appendChild(Tf),Tf}};var Sf=function e(t,r){var n=Yn(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),n&&null!==n._isHidden)return n._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!r&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return n&&(n._isHidden=o),o};var Of=function(e){var t,r,n=null!==(t=null===(r=e.props)||void 0===r?void 0:r.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!uu.htmlElms[n]};function Mf(e,t){var r=t.include,n=void 0===r?[]:r,a=t.exclude,o=void 0===a?[]:a,i=n.filter((function(t){return mo(t,e)}));if(0===i.length)return!1;var u=o.filter((function(t){return mo(t,e)}));if(0===u.length)return!0;var l=If(i);return mo(If(u),l)}function If(e){var t,r,n=re(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;t&&mo(a,t)||(t=a)}}catch(e){n.e(e)}finally{n.f()}return t}function Pf(e,t){return e.length===t.length&&e.every((function(e,r){var n=t[r];return Array.isArray(e)?e.length===n.length&&e.every((function(e,t){return n[t]===e})):e===n}))}var Lf=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function jf(e){return e instanceof Zr?{vNode:e,domNode:e.actualNode}:{vNode:Yn(e),domNode:e}}var qf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter((function(e){return 3===e.type}));if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=i.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!n.includes(e)})).map((function(e,a){var o=[].concat(G(r),[a]),i=/^https?:\/\/|^\/\//i.test(e);return Gf(e,t,o,n,i)})),l=o.filter((function(e){return 3!==e.type}));return l.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:l.map((function(e){return e.cssText})).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)};var zf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?qf(e,t,r,n,a):Gf(e.href,t,r,n,!0)};var Vf,$f,Hf,Uf,Gf=function(e,t,r,n,a){return n.push(e),new Promise((function(t,r){var n=new i.XMLHttpRequest;n.open("GET",e),n.timeout=Yr.preload.timeout,n.addEventListener("error",r),n.addEventListener("timeout",r),n.addEventListener("loadend",(function(e){if(e.loaded&&n.responseText)return t(n.responseText);r(n.responseText)})),n.send()})).then((function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return zf(o.sheet,t,r,n,o.isCrossOrigin)}))},Wf=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=null,r=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){i.performance&&void 0!==i.performance.mark&&i.performance.mark(e)},measure:function(e,t,r){i.performance&&void 0!==i.performance.measure&&i.performance.measure(e,t,r)},logMeasures:function(e){function t(e){Kr("Measure "+e.name+" took "+e.duration+"ms")}if(i.performance&&void 0!==i.performance.getEntriesByType)for(var r=i.performance.getEntriesByName("mark_axe_start")[0],n=i.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=r.startTime})),a=0;a<n.length;++a){var o=n[a];if(o.name===e)return void t(o);t(o)}},timeElapsed:function(){return e()-r},reset:function(){t||(t=e()),r=e()}}}(),Yf=Wf;function Kf(){if(l.elementsFromPoint)return l.elementsFromPoint;if(l.msElementsFromPoint)return l.msElementsFromPoint;var e,t=((e=l.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),r=t?"pointer-events":"visibility",n=t?"none":"hidden",a=l.createElement("style");return a.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,i,u,s=[],c=[];for(l.head.appendChild(a);(o=l.elementFromPoint(e,t))&&-1===s.indexOf(o);)s.push(o),c.push({value:o.style.getPropertyValue(r),priority:o.style.getPropertyPriority(r)}),o.style.setProperty(r,n,"important");for(s.indexOf(l.documentElement)<s.length-1&&(s.splice(s.indexOf(l.documentElement),1),s.push(l.documentElement)),i=c.length;u=c[--i];)s[i].style.setProperty(r,u.value?u.value:"",u.priority);return l.head.removeChild(a),s}}"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,r=Object(this),n=r.length>>>0,a=arguments[1],o=0;o<n;o++)if(t=r[o],e.call(a,t,o,r))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r,n=Object(this),a=n.length>>>0,o=0;o<a;o++)if(r=n[o],e.call(t,r,o,n))return o;return-1}}),"function"==typeof i.addEventListener&&(l.elementsFromPoint=Kf()),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),r=parseInt(t.length,10)||0;if(0===r)return!1;var n,a,o=parseInt(arguments[1],10)||0;for(o>=0?n=o:(n=r+o)<0&&(n=0);n<r;){if(e===(a=t[n])||e!=e&&a!=a)return!0;n++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),r=t.length>>>0,n=arguments.length>=2?arguments[1]:void 0,a=0;a<r;a++)if(a in t&&e.call(n,t[a],a,t))return!0;return!1}}),Array.from||Object.defineProperty(Array,"from",{value:(Vf=Object.prototype.toString,$f=function(e){return"function"==typeof e||"[object Function]"===Vf.call(e)},Hf=Math.pow(2,53)-1,Uf=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),Hf)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,n=arguments.length>1?arguments[1]:void 0;if(void 0!==n){if(!$f(n))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var a,o=Uf(t.length),i=$f(this)?Object(new this(o)):new Array(o),u=0;u<o;)a=t[u],i[u]=n?void 0===r?n(a,u):n.call(r,a,u):a,u+=1;return i.length=o,i})}),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,(function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r}),[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Xf=function(e,t){return e.concat(t).filter((function(e,t,r){return r.indexOf(e)===t}))};function Zf(e,t,r,n,a){var o=a||{};return o.vNodes=e,o.vNodesIndex=0,o.anyLevel=t,o.thisLevel=r,o.parentShadowId=n,o}var Jf=function(e,t,r){e=Array.isArray(e)?e:[e];var n=pa(t),a=Lp(e,n,r);return a||function(e,t,r){for(var n=Wn.get("qsa.recycledLocalVariables",(function(){return[]})),a=[],o=Zf(Array.isArray(e)?e:[e],t,null,e[0].shadowId,n.pop()),i=[];o.vNodesIndex<o.vNodes.length;){for(var u,l,s=o.vNodes[o.vNodesIndex++],c=null,d=null,p=((null===(u=o.anyLevel)||void 0===u?void 0:u.length)||0)+((null===(l=o.thisLevel)||void 0===l?void 0:l.length)||0),f=!1,m=0;m<p;m++){var h,D,g,v=m<((null===(h=o.anyLevel)||void 0===h?void 0:h.length)||0)?o.anyLevel[m]:o.thisLevel[m-((null===(D=o.anyLevel)||void 0===D?void 0:D.length)||0)];if((!v[0].id||s.shadowId===o.parentShadowId)&&ma(s,v[0]))if(1===v.length)f||r&&!r(s)||(i.push(s),f=!0);else{var b=v.slice(1);if(!1===[" ",">"].includes(b[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+v[1].combinator);">"===b[0].combinator?(c=c||[]).push(b):(d=d||[]).push(b)}v[0].id&&s.shadowId!==o.parentShadowId||null===(g=o.anyLevel)||void 0===g||!g.includes(v)||(d=d||[]).push(v)}for(s.children&&s.children.length&&(a.push(o),o=Zf(s.children,d,c,s.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop()}return i}(e,n,r)};var Qf=function(e){var t=e.treeRoot,r=function(e){var t=[],r=Jf(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:yo(e.actualNode)}}));return Xf(r,[])}(void 0===t?c._tree[0]:t);if(!r.length)return Promise.resolve();var n=l.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var r=[];return e.forEach((function(e,n){var a=e.rootNode,o=e.shadowId,i=function(e,t,r){var n;n=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(tm).reduce((function(r,n){var a=n.nodeName.toUpperCase(),o="STYLE"===a?n.textContent:n,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&r.push(i.sheet),r}),[])}(e,r):function(e){return Array.from(e.styleSheets).filter((function(e){return!!e.media&&rm(e.media.mediaText)}))}(e);return function(e){var t=[];return e.filter((function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)}))}(n)}(a,o,t);if(!i)return Promise.all(r);var u=n+1,l={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},s=[],c=Promise.all(i.map((function(e,t){return zf(e,l,[u,t],s)})));r.push(c)})),Promise.all(r)}(r,Bf(n)).then((function(e){return em(e)}))};function em(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(em(t)):e.concat(t)}),[])}function tm(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a="LINK"===t&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&rm(e.media)}function rm(e){return!e||!e.toUpperCase().includes("PRINT")}var nm=function(e){var t=e.treeRoot,r=void 0===t?c._tree[0]:t,n=Jf(r,"video, audio",(function(e){var t=e.actualNode;return t.hasAttribute("src")?!!t.getAttribute("src"):!(Array.from(t.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0)}));return Promise.all(n.map((function(e){var t,r=e.actualNode;return t=r,new Promise((function(e){function r(){t.removeEventListener("loadedmetadata",r),e(t)}t.readyState>0&&e(t),t.addEventListener("loadedmetadata",r)}))})))};function am(e){var t={cssom:Qf,media:nm};return om(e)?new Promise((function(r,n){var a=im(e),o=a.assets,i=a.timeout,u=setTimeout((function(){return n(new Error("Preload assets timed out."))}),i);Promise.all(o.map((function(r){return t[r](e).then((function(e){return function(e,t,r){return(t=te(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},r,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return Y({},e,t)}),{});clearTimeout(u),r(t)})).catch((function(e){clearTimeout(u),n(e)}))})):Promise.resolve()}function om(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===s(t)&&Array.isArray(t.assets)));var t}function im(e){var t=Yr.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every((function(e){return r.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=Xf(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function um(e){var t=c._audit.data.checks||{},r=c._audit.data.rules||{},n=so(c._audit.rules,"id",e.id)||{};e.tags=Qn(n.tags||[]);var a=lm(t,!0,n),o=lm(t,!1,n);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),Do(e,Qn(r[e.id]||{}))}function lm(e,t,r){return function(n){var a=e[n.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,r.reviewOnFail||void 0!==n.result?i.message=n.result===t?o.pass:o.fail:("object"!==s(o.incomplete)||Array.isArray(n.data)||(i.message=function(e,t){function r(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:Yp()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:r(t);try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch(n){return"string"==typeof e.missingData?t.incomplete[e.missingData]:r(t)}}(n.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=ef(i.message,n.data)),Do(n,i)}}var sm=function(e,t){return Jf(e,t)};function cm(e,t){var r,n,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=(n=Array.isArray(n)?n:[n]).concat(a.filter((function(e){return-1===r.indexOf(e)})))):(r=Array.isArray(t)?t:[t],n=a.filter((function(e){return-1===r.indexOf(e)}))),!!(r.some((function(t){return-1!==e.tags.indexOf(t)}))||0===r.length&&!1!==e.enabled)&&n.every((function(t){return-1===e.tags.indexOf(t)}))}var dm=function(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===n.type?-1!==n.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===n.type&&n.values?cm(e,n.values):cm(e,[]))};function pm(e,t){if(!t)return e;var r=e.cloneNode(!1),n=bn(r);if(1===r.nodeType){var a=r.outerHTML;r=Wn.get(a,(function(){return fm(r,n,e,t)}))}else r=fm(r,n,e,t);return Array.from(e.childNodes).forEach((function(e){r.appendChild(pm(e,t))})),r}function fm(e,t,r,n){return t?(e=l.createElement(e.nodeName),Array.from(t).forEach((function(t){(function(e,t,r){if(void 0===r[t])return!1;if(!0===r[t])return!0;return yn(e,r[t])})(r,t.name,n)||e.setAttribute(t.name,t.value)})),e):e}function mm(e,t){var r,n=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a<o;a++){var i=c._selectCache[a];if(i.selector===e)return i.result}for(var u=t.include.reduce((function(e,t){return e.length&&mo(e[e.length-1],t)||e.push(t),e}),[]),l=function(e){if(!e.exclude||0===e.exclude.length)return null;return function(t){return Mf(t,e)}}(t),s=0;s<u.length;s++){r=u[s],n=hm(n,Jf(r,e,l))}return c._selectCache&&c._selectCache.push({selector:e,result:n}),n}function hm(e,t){if(0===e.length)return t;if(e.length<t.length){var r=e;e=t,t=r}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}var Dm=function(e){e.forEach((function(e){return function(e,t,r){if(e===i)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r}(e.elm,e.top,e.left)}))};function gm(e){return vm(Array.isArray(e)?G(e):[e],l)}function vm(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return 0===e.length?n:null!=n&&n.shadowRoot?vm(e,n.shadowRoot):null}function bm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,r=Array.isArray(e)?G(e):[e];return 0===e.length?[]:ym(r,t)}function ym(e,t){var r,n=Z(r=e)||W(r)||ne(r)||X(),a=n[0],o=n.slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,l=[],s=re(i);try{for(s.s();!(u=s.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&l.push.apply(l,G(ym(o,c.shadowRoot)))}}catch(e){s.e(e)}finally{s.f()}return l}var Fm=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},wm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Em(e){e=Array.isArray(e)?e:wm;var t=[];return e.forEach((function(e,r){var n=String.fromCharCode(r+96).replace("`","");Array.isArray(e)?t=t.concat(Em(e).map((function(e){return n+e}))):t.push(n)})),t}var Cm=function(e){for(var t=wm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){if(!(t=t[e.charCodeAt(r)-96]))return!1}return!0},xm=function(e){R(r,e);var t=O(r);function r(e){var n,a,o,i;return J(this,r),(n=t.call(this))._props=function(e){var t,r,n,a=null!==(t=e.nodeName)&&void 0!==t?t:km[e.nodeType],o=null!==(r=null!==(n=e.nodeType)&&void 0!==n?n:Am[e.nodeName])&&void 0!==r?r:1;pn("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),pn("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var i=null;"input"===a&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Fm().includes(i)||(i="text"));var u=Y({},e,{nodeType:o,nodeName:a});i&&(u.type=i);return delete u.attributes,Object.freeze(u)}(e),n._attrs=(a=e.attributes,o=void 0===a?{}:a,i={htmlFor:"for",className:"class"},Object.keys(o).reduce((function(e,t){var r=o[t];return pn("object"!==s(r)||null===r,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==r&&(e[i[t]||t]=null!==r?String(r):null),e}),{})),n}return ee(r,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}]),r}(Zr),Am={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},km={};Object.keys(Am).forEach((function(e){km[Am[e]]=e}));var Nm=xm;var _m,Tm=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var r=c.utils.queue(),n=[];Object.keys(c.plugins).forEach((function(e){r.defer((function(t){var r=function(e){n.push(e),t()};try{c.plugins[e].cleanup(t,r)}catch(e){r(e)}}))}));var a=c.utils.getFlattenedTree(l.body);c.utils.querySelectorAll(a,"iframe, frame").forEach((function(e){r.defer((function(t,r){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,r)}))})),r.then((function(r){0===n.length?e(r):t(n)})).catch(t)},Bm={};function Rm(e){return Bm.hasOwnProperty(e)}function Sm(e){return"string"==typeof e&&Bm[e]?Bm[e]:"function"==typeof e?e:_m}var Om=function(e){var t;if(!(t=c._audit))throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=K(r.split("-"),2),a=n[0],o=n[1],i=K(a.split(".").map(Number),3),u=i[0],l=i[1],s=i[2],d=K(c.version.split("-"),2),p=d[0],f=d[1],m=K(p.split(".").map(Number),3),h=m[0],D=m[1],g=m[2];if(u!==h||D<l||D===l&&g<s||u===h&&l===D&&s===g&&o&&o!==f)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(c.version))}if(e.reporter&&("function"==typeof e.reporter||Rm(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var v,b=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));b.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===b.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(v=e.standards,Object.keys(iu).forEach((function(e){v[e]&&(iu[e]=ho(iu[e],v[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(Yr.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}};var Mm=function(e){var t=(e=e||[]).length?c._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):c._audit.rules,r=c._audit.data.rules||{};return t.map((function(e){var t=r[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}}))},Im={};ie(Im,{allowedAttr:function(){return Pm},arialabelText:function(){return eu},arialabelledbyText:function(){return Qi},getAccessibleRefs:function(){return qm},getElementUnallowedRoles:function(){return Hm},getExplicitRole:function(){return cu},getImplicitRole:function(){return Pu},getOwnedVirtual:function(){return Gu},getRole:function(){return Vu},getRoleType:function(){return Gl},getRolesByType:function(){return Gm},getRolesWithNameFromContents:function(){return Ym},implicitNodes:function(){return Qm},implicitRole:function(){return Pu},isAccessibleRef:function(){return eh},isAriaRoleAllowedOnElement:function(){return zm},isComboboxPopup:function(){return th},isUnsupportedRole:function(){return lu},isValidRole:function(){return su},label:function(){return nh},labelVirtual:function(){return Al},lookupTable:function(){return Jm},namedFromContents:function(){return Uu},requiredAttr:function(){return ah},requiredContext:function(){return oh},requiredOwned:function(){return ih},validateAttr:function(){return lh},validateAttrValue:function(){return uh}});var Pm=function(e){var t=uu.ariaRoles[e],r=G(pu());return t?(t.allowedAttrs&&r.push.apply(r,G(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,G(t.requiredAttrs)),r):r},Lm=/^idrefs?$/;function jm(e,t,r){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e])}for(var a=0;a<r.length;++a){var o=r[a],i=vu(e.getAttribute(o)||"");if(i){var u,l=re(Ip(i));try{for(l.s();!(u=l.n()).done;){var s=u.value;t.has(s)?t.get(s).push(e):t.set(s,[e])}}catch(e){l.e(e)}finally{l.f()}}}}for(var c=0;c<e.childNodes.length;c++)1===e.childNodes[c].nodeType&&jm(e.childNodes[c],t,r)}var qm=function(e){var t;e=e.actualNode||e;var r=Fo(e);r=r.documentElement||r;var n=Wn.get("idRefsByRoot",(function(){return new Map})),a=n.get(r);return a||(a=new Map,n.set(r,a),jm(r,a,Object.keys(uu.ariaAttrs).filter((function(e){var t=uu.ariaAttrs[e].type;return Lm.test(t)})))),null!==(t=a.get(e.id))&&void 0!==t?t:[]};var zm=function(e,t){var r=e instanceof Zr?e:Yn(e),n=Pu(r),a=Iu(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==n&&!!a.allowedRoles},Vm=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],$m={header:"banner",footer:"contentinfo"};var Hm=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=jf(e).vNode;if(!Of(r))return[];var n=r.props.nodeName,a=Pu(r)||$m[n];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Ip(e.attr("role").toLowerCase());t=t.concat(r)}return t.filter((function(e){return su(e)}))}(r).filter((function(e){return!function(e,t,r,n){if(r&&e===n)return!0;if(Vm.includes(e)&&Gl(e)!==n)return!1;return zm(t,e)}(e,r,t,a)}))};var Um=function(e){return Object.keys(uu.ariaRoles).filter((function(t){return uu.ariaRoles[t].type===e}))};var Gm=function(e){return Um(e)};var Wm=function(){return Wn.get("ariaRolesNameFromContent",(function(){return Object.keys(uu.ariaRoles).filter((function(e){return uu.ariaRoles[e].nameFromContent}))}))};var Ym=function(){return Wm()},Km=function(e){return null===e},Xm=function(e){return null!==e},Zm={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};Zm.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Xm}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Xm}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Xm}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Xm}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Xm}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Xm}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Xm}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Xm}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:Xm}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Zm.implicitHtmlRole=Fu,Zm.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Xm}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Xm}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Zm.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Km}},{nodeName:"img",attributes:{alt:Km}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Zm.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||(!t.href.length||r)},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,n=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:n},IMG:function(e){var t=e.node,r=e.role,n=e.out;switch(t.alt){case null:return n;case"":return"presentation"===r||"none"===r;default:return"presentation"!==r&&"none"!==r}},INPUT:function(e){var t=e.node,r=e.role,n=e.out;switch(t.type){case"button":case"image":return n;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||n;case"radio":return"menuitemradio"===r;case"text":return"combobox"===r||"searchbox"===r||"spinbutton"===r;case"tel":return"combobox"===r||"spinbutton"===r;case"url":case"search":case"email":return"combobox"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||r},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}},Zm.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var Jm=Zm;var Qm=function(e){var t=null,r=Jm.role[e];return r&&r.implicit&&(t=Qn(r.implicit)),t};var eh=function(e){return!!qm(e).length};function th(e){var t,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,n=Vu(e);if(null!==(t=r)&&void 0!==t||(r=tu["aria-haspopup"].values),!r.includes(n))return!1;var a=function(e){for(;e=e.parent;)if(null!==Vu(e,{noPresentational:!0}))return e;return null}(e);if(rh(a))return!0;var o=e.props.id;if(!o)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var i=yo(e.actualNode).querySelectorAll('[aria-owns~="'.concat(o,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(o,'"][role~="combobox"]:not(select)'));return Array.from(i).some(rh)}var rh=function(e){return e&&"combobox"===Vu(e)};var nh=function(e){return e=Yn(e),Al(e)};var ah=function(e){var t=uu.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?G(t.requiredAttrs):[]};var oh=function(e){var t=uu.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?G(t.requiredContext):null};var ih=function(e){var t=uu.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?G(t.requiredOwned):null};var uh=function(e,t){var r,n,a=(e=e instanceof Zr?e:Yn(e)).attr(t),o=uu.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(n=Ip(a)).reduce((function(e,t){return e&&o.values.includes(t)}),0!==n.length);case"idref":try{var i=Fo(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Zi(e,t).some((function(e){return!!e}));case"string":return""!==a.trim();case"decimal":return!(!(r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}};var lh=function(e){return!!uu.ariaAttrs[e]};var sh=function(e,t,r){var n=Ip(r.attr("role")).filter((function(e){return"abstract"===Gl(e)}));return n.length>0&&(this.data(n),!0)};var ch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=void 0===n||n,o=t.ignoredTags,i=void 0===o?[]:o,u=r.props.nodeName;if(i.map((function(e){return e.toLowerCase()})).includes(u))return!0;var l=Hm(r,a);if(l.length){if(this.data(l),!Yu(r))return;return!1}return!0};function dh(e,t,r){var n=r.props,a=n.nodeName,o=n.type,i=function(e){if(!e)return"";if(e=e.toLowerCase(),["mixed","true"].includes(e))return e;return"false"}(r.attr("aria-checked"));if("input"!==a||"checkbox"!==o||!i)return!0;var u=function(e){if(e.props.indeterminate)return"mixed";return e.props.checked?"true":"false"}(r);return i===u||(this.data({messageKey:"checkbox",checkState:u}),!1)}function ph(e){var t,r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==n||null===(r=n.filter)||void 0===r?void 0:r.call(n,(function(e){return a.hasAttr(e)})))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(!e.parent)return;return ha(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&Vu(i);if(!u||"treegrid"===u)return!0;var l="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:l,invalidAttrs:o,ownerRole:u}),!1}var fh={row:ph,checkbox:dh};var mh=function(e,t,r){return"true"!==r.attr("aria-hidden")};var hh=function(e,t,r){var n=r.attr("aria-level");if(!(parseInt(n,10)>6))return!0};var Dh={};function gh(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Ll(t,!1,!0)}function vh(e,t,r,n){var a=cu(e);if(r||(r=oh(a)),!r)return null;for(var o=r.includes("group"),i=n?e:e.parent;i;){var u=Vu(i,{noPresentational:!0});if(u){if("group"!==u||!o)return r.includes(u)?null:r;t.includes(a)&&r.push(a),r=r.filter((function(e){return"group"!==e})),i=i.parent}else i=i.parent}return r}ie(Dh,{getAriaRolesByType:function(){return Um},getAriaRolesSupportingNameFromContent:function(){return Wm},getElementSpec:function(){return Iu},getElementsByContentType:function(){return du},getGlobalAriaAttrs:function(){return pu},implicitHtmlRoles:function(){return Fu}});var bh=function(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=vh(r,n);if(!a)return!0;var o=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=mn(e.getAttribute("id"));(r=Fo(e).querySelector("[aria-owns~=".concat(n,"]")))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,u=o.length;i<u;i++)if(!(a=vh(Yn(o[i]),n,a,!0)))return!0;return this.data(a),!1};var yh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Vu(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(r)||!(!r||"presentation"===r||"none"===r)&&void 0};var Fh=function(e,t,r){var n=r.attrNames.filter((function(t){var r=uu.ariaAttrs[t];if(!lh(t))return!1;var n=r.unsupported;return"object"!==s(n)?!!n:!Mu(e,n.exceptions)}));return!!n.length&&(this.data(n),!0)};var wh=function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach((function(e){-1===t.indexOf(e)&&a.test(e)&&!lh(e)&&n.push(e)})),!n.length||(this.data(n),!1)};var Eh=function(e,t,r){var n=Ip(r.attr("role"));return!(n.length<=1)&&(!function(e,t){return!Pu(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(r,n)||void 0)};var Ch=function(e,t,r){var n=pu().filter((function(e){return r.hasAttr(e)}));return this.data(n),n.length>0};var xh=function(e){var t=e.getAttribute("role");if(null===t)return!1;var r=Gl(t);return"widget"===r||"composite"===r};var Ah=function(e,t,r){var n=Ip(r.attr("role"));return!!n.every((function(e){return!su(e,{allowAbstract:!0})}))&&(this.data(n),!0)};var kh=function(e,t,r){return Gi(r)};var Nh=function(e,t,r){var n,a,o=Vu(r,{noImplicit:!0});this.data(o);try{n=vu(dl(r)).toLowerCase(),a=vu(yl(r)).toLowerCase()}catch(e){return}return!(!a&&!n)&&(!((a||!n)&&a.includes(n))&&void 0)};var _h=function(e,t,r){var n=Vu(r,{dpub:!0,fallback:!0}),a=lu(n);return a&&this.data(n),a},Th={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Bh={application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};var Rh=function(e,t){return function(e,t){var r=cu(e);return r&&(Bh[r]||t.roles.includes(r))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return Th[t]||!1}(e)},Sh={};ie(Sh,{Color:function(){return fp},centerPointOfRect:function(){return Oh},elementHasImage:function(){return ns},elementIsDistinct:function(){return Ih},filteredRectStack:function(){return Lh},flattenColors:function(){return zh},flattenShadowColors:function(){return Vh},getBackgroundColor:function(){return oD},getBackgroundStack:function(){return $h},getContrast:function(){return lD},getForegroundColor:function(){return sD},getOwnBackgroundColor:function(){return hp},getRectStack:function(){return Ph},getStackingContext:function(){return eD},getStrokeColorsFromShadows:function(){return Kh},getTextShadowColors:function(){return Jh},hasValidContrastRatio:function(){return dD},incompleteData:function(){return rs},parseTextShadows:function(){return Zh},stackingContextToColor:function(){return tD}});var Oh=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function Mh(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var Ih=function(e,t){var r=i.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var n=new fp;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha}),!1))return!0;var n=i.getComputedStyle(t);if(Mh(r)[0]!==Mh(n)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)}),!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==n.getPropertyValue("text-decoration")),a};var Ph=function(e){var t=$i(e),r=Sl(e);return!r||r.length<=1?[t]:r.some((function(e){return void 0===e}))?null:(r.splice(0,0,t),r)};var Lh=function(e){var t=Ph(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var r,n=t.shift();return t.forEach((function(a,o){if(0!==o){var i=t[o-1],u=t[o];r=i.every((function(e,t){return e===u[t]}))||n.includes(e)}})),r?t[0]:(rs.set("bgColor","elmPartiallyObscuring"),null)}return rs.set("bgColor","outsideViewport"),null};var jh={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t}};function qh(e,t,r,n,a){return t*(1-n)*e+t*n*jh[a](r/255,e/255)*255+(1-t)*n*r}var zh=function(e,t){var r,n,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",i=qh(e.red,e.alpha,t.red,t.alpha,o),u=qh(e.green,e.alpha,t.green,t.alpha,o),l=qh(e.blue,e.alpha,t.blue,t.alpha,o),s=(r=e.alpha+t.alpha*(1-e.alpha),n=0,a=1,Math.min(Math.max(n,r),a));if(0===s)return new fp(i,u,l,s);var c=Math.round(i/s),d=Math.round(u/s),p=Math.round(l/s);return new fp(c,d,p,s)};function Vh(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new fp(n,a,o,i)}function $h(e){for(var t=Sl(e).map((function(t){return t=function(e){var t=e.indexOf(l.body),r=e,n=hp(i.getComputedStyle(l.documentElement));if(t>1&&0===n.alpha&&!ns(l.documentElement)){t>1&&(r.splice(t,1),r.push(l.body));var a=r.indexOf(l.documentElement);a>0&&(r.splice(a,1),r.push(l.documentElement))}return r}(t=Ep(t,e))})),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return rs.set("bgColor","bgOverlap"),null;if(0!==r&&!Hh(n,t[0]))return rs.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function Hh(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}var Uh=.54,Gh=.5,Wh=1.5,Yh=["top","right","bottom","left"];function Kh(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,r=void 0!==t&&t,n=function(e){var t,r={},n=re(e);try{for(n.s();!(t=n.n()).done;){var a,o=t.value,i=o.colorStr,u=o.pixels;null!==(a=r[i])&&void 0!==a||(r[i]={top:[],right:[],bottom:[],left:[]});var l=r[i],s=K(u,2),c=s[0],d=s[1];c>Gh?l.right.push(c):-c>Gh&&l.left.push(-c),d>Gh?l.bottom.push(d):-d>Gh&&l.top.push(-d)}}catch(e){n.e(e)}finally{n.f()}return r}(e),a=Object.entries(n).map((function(e){var t=K(e,2),r=t[0],n=t[1],a=Yh.filter((function(e){return 0!==n[e].length})).length;return{colorStr:r,sides:n,edgeCount:a}}));return!r&&a.some((function(e){var t=e.edgeCount;return t>1&&t<4}))?null:a.map(Xh).filter((function(e){return null!==e}))}function Xh(e){var t=e.colorStr,r=e.sides;if(4!==e.edgeCount)return null;var n=new fp;n.parseString(t);var a=0,o=!0;return Yh.forEach((function(e){a+=r[e].length/4,o&&(o=r[e].every((function(e){return e>Wh})))})),o||(n.alpha=1-Math.pow(Uh,a)),n}function Zh(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return[];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),o=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)pn(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){pn(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==r[0])throw new Error("Unable to process text-shadows: ".concat(r));pn(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim()}}return n.forEach((function(e){var t=e.pixels;2===t.length&&t.push(0)})),n}function Jh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,o=[],u=i.getComputedStyle(e),l=u.getPropertyValue("text-shadow");if("none"===l)return o;var s=u.getPropertyValue("font-size"),c=parseInt(s);pn(!1===isNaN(c),"Unable to determine font-size value ".concat(s));var d,p=[],f=re(Zh(l));try{for(f.s();!(d=f.n()).done;){var m=d.value,h=m.colorStr||u.getPropertyValue("color"),D=K(m.pixels,3),g=D[0],v=D[1],b=D[2],y=void 0===b?0:b;if(!(n&&y>=c*n))if(r&&y<c*r)p.push({colorStr:h,pixels:m.pixels});else{if(p.length>0){var F=Kh(p,{ignoreEdgeCount:a});if(null===F)return null;o.push.apply(o,G(F)),p.splice(0,p.length)}var w=Qh({colorStr:h,offsetX:g,offsetY:v,blurRadius:y,fontSize:c});o.push(w)}}}catch(e){f.e(e)}finally{f.f()}if(p.length>0){var E=Kh(p,{ignoreEdgeCount:a});if(null===E)return null;o.push.apply(o,G(E))}return o}function Qh(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,o=e.fontSize;if(r>a||n>a)return new fp(0,0,0,0);var i=new fp;return i.parseString(t),i.alpha*=function(e,t){if(0===e)return 1;var r=e/t;return.185/(r+.4)}(a,o),i}function eD(e,t){var r,n=Yn(e);if(n._stackingContext)return n._stackingContext;var a=[],o=new Map;return(t=null!==(r=t)&&void 0!==r?r:$h(e)).forEach((function(e){var t,r=Yn(e),n=function(e){var t=new fp;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(r),i=r._stackingOrder.filter((function(e){return!!e.vNode}));i.forEach((function(e,t){var r,n=e.vNode,u=null===(r=i[t-1])||void 0===r?void 0:r.vNode,l=aD(o,n,u);0!==t||o.get(n)||a.unshift(l),o.set(n,l)}));var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,l=aD(o,r,u);i.length||a.unshift(l),l.bgColor=n})),n._stackingContext=a,a}function tD(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(rD,nD()),a=zh(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function rD(e,t){var r;r=e instanceof fp?e:tD(e).color;var n=tD(t).color;return zh(n,r,t.blendMode)}function nD(e,t){var r,n;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(r=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==r?r:1),bgColor:new fp(0,0,0,0),blendMode:(n=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),n||void 0),descendants:[]}}function aD(e,t,r){var n,a=e.get(r),o=null!==(n=e.get(t))&&void 0!==n?n:nD(t,a);return a&&r!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function oD(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=Yn(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,G(a.bgElms)),rs.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,r){var n,a,o=$h(e);if(!o)return null;var u=Rl(e),s=null!==(n=Jh(e,{minRatio:r,ignoreEdgeCount:!0}))&&void 0!==n?n:[];s.length&&(s=[{color:s.reduce(Vh)}]);for(var c=0;c<o.length;c++){var d=o[c],p=i.getComputedStyle(d);if(ns(d,p))return t.push(d),null;var f=hp(p);if(0!==f.alpha){if("inline"!==p.getPropertyValue("display")&&!iD(d,u))return t.push(d),rs.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),1===f.alpha)break}}var m=eD(e,o);s=m.map(tD).concat(s);var h=function(e,t){var r=[];if(!t){var n=l.documentElement,a=l.body,o=i.getComputedStyle(n),u=i.getComputedStyle(a),s=hp(o),c=hp(u),d=0!==c.alpha&&iD(a,e.getBoundingClientRect());(0!==c.alpha&&0===s.alpha||d&&1!==c.alpha)&&r.unshift({color:c,blendMode:uD(u.getPropertyValue("mix-blend-mode"))}),0!==s.alpha&&(!d||d&&1!==c.alpha)&&r.unshift({color:s,blendMode:uD(o.getPropertyValue("mix-blend-mode"))})}return r}(e,o.includes(l.body));if((a=s).unshift.apply(a,G(h)),0===s.length)return new fp(255,255,255,1);var D=s.reduce((function(e,t){return zh(t.color,e.color instanceof fp?e.color:e,t.blendMode)}));return zh(D.color instanceof fp?D.color:D,new fp(255,255,255,1))}(e,t,r);return n._cache.getBackgroundColor={bgColor:o,bgElms:t,incompleteData:rs.get("bgColor")},o}function iD(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,o=i.getComputedStyle(e).getPropertyValue("overflow");return(["scroll","auto"].includes(o)||e instanceof i.HTMLHtmlElement)&&(n=r.left+e.scrollWidth,a=r.top+e.scrollHeight),t.every((function(e){return e.top>=r.top&&e.bottom<=a&&e.left>=r.left&&e.right<=n}))}function uD(e){return e||void 0}var lD=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=zh(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};function sD(e,t,r){for(var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.getComputedStyle(e),u=[function(){return function(e,t){var r=t.textStrokeEmMin,n=void 0===r?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||i<n)return null;var u=e.getPropertyValue("-webkit-text-stroke-color");return(new fp).parseString(u)}(o,a)},function(){return function(e){return(new fp).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(o)},function(){return Jh(e,{minRatio:0})}],l=[],s=0,c=u;s<c.length;s++){var d=(0,c[s])();if(d&&(l=l.concat(d),1===d.alpha))break}var p=l.reduce((function(e,t){return zh(e,t)}));if(null!==(n=r)&&void 0!==n||(r=oD(e,[])),null===r){var f=rs.get("bgColor");return rs.set("fgColor",f),null}var m=eD(e),h=cD(m,e);return zh(function(e,t,r){for(;t;){var n;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(n=t.ancestor)||void 0===n?void 0:n.descendants)||r;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var o=a.map(tD);if(o.length){var i=o.reduce((function(e,t){return zh(t.color,e.color instanceof fp?e.color:e)}),{color:new fp(0,0,0,0),blendMode:"normal"});e=zh(e,i),t=t.ancestor}else t=t.ancestor}}return e}(p,h,m),new fp(255,255,255,1))}function cD(e,t){var r,n=re(e);try{for(n.s();!(r=n.n()).done;){var a,o=r.value;if((null===(a=o.vNode)||void 0===a?void 0:a.actualNode)===t)return o;var i=cD(o.descendants,t);if(i)return i}}catch(e){n.e(e)}finally{n.f()}}var dD=function(e,t,r,n){var a=lD(e,t),o=n&&Math.ceil(72*r)/96<14||!n&&Math.ceil(72*r)/96<18?4.5:3;return{isValid:a>o,contrastRatio:a,expectedContrastRatio:o}};var pD=wn((function(e,t){var r=i.getComputedStyle(e,t),n=function(e,t){return r.getPropertyValue(e)===t};if(n("content","none")||n("display","none")||n("visibility","hidden")||!1===n("position","absolute"))return 0;if(0===hp(r).alpha&&n("background-image","none"))return 0;var a=fD(r.getPropertyValue("width")),o=fD(r.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value}));function fD(e){var t=K(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),r=t[1],n=void 0===r?"":r,a=t[2],o=void 0===a?"":a;return{value:parseFloat(n),unit:o.toLowerCase()}}function mD(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var hD=["block","list-item","table","flex","grid","inline-block"];function DD(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==hD.indexOf(t)||"table-"===t.substr(0,6)}var gD=function(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(DD(e))return!1;for(var a=Uo(e);a&&1===a.nodeType&&!DD(a);)a=Uo(a);if(a){this.relatedNodes([a]);var o=sD(e),i=sD(a),u=oD(e),l=oD(a),s=o&&i?mD(o,i):void 0;if(s&&(s=Math.floor(100*s)/100),s&&s>=r)return!0;var c=u&&l?mD(u,l):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=r)return!0;if(!c){var d,p=null!==(d=rs.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:p}),void rs.clear()}if(s)return!(!n||1!==s||1!==c)||(1===s&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:s,requiredContrastRatio:r,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}},vD=["block","list-item","table","flex","grid","inline-block"];function bD(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==vD.indexOf(t)||"table-"===t.substr(0,6)}var yD=function(e,t,r){if("input"!==r.props.nodeName)return!0;var n=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===s(t)&&Object.keys(t).forEach((function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])}));var i=r.attr("autocomplete").split(/\s+/g).map((function(e){return e.toLowerCase()})),u=i[i.length-1];if(Cl.stateTerms.includes(u))return!0;var l=o[u],c=r.hasAttr("type")?vu(r.attr("type")).toLowerCase():"text";return c=Fm().includes(c)?c:"text",void 0===l?"text"===c:l.includes(c)};var FD=function(e,t,r){var n=r.attr("autocomplete")||"";return xl(n,t)};var wD=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var n=r.attr(t.attribute);return!!vu(n)||(this.data({messageKey:"emptyAttr"}),!1)};var ED=function(e){return e.some((function(e){return!0===e.result}))&&e.forEach((function(e){e.result=!0})),e};var CD=function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Zl())return!0;var n=Jf(r,t.selector,(function(e){return Yu(e)}));return this.relatedNodes(n.map((function(e){return e.actualNode}))),n.length>0};var xD=function(e,t,r){return Mu(r,t.matcher)};var AD=function(e){return e.filter((function(e){return"ignored"!==e.data}))};var kD=function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(!Wn.get(n)){Wn.set(n,!0);var a=Jf(c._tree[0],t.selector,(function(e){return Yu(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!Eo(e,t.nativeScopeFilter)}))),"string"==typeof t.role&&(a=a.filter((function(e){return Vu(e)===t.role}))),this.relatedNodes(a.filter((function(e){return e!==r})).map((function(e){return e.actualNode}))),a.length<=1}this.data("ignored")};var ND=function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var r=e.data.toUpperCase();return t[r]?(t[r].relatedNodes.push(e.relatedNodes[0]),!1):(t[r]=e,e.relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))};var _D=function(e,t,r){return Vo(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0};var TD=function(e,t,r){var n=r.tabbableElements;return!!n&&n.filter((function(e){return e!==r})).length>0};var BD=function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return n.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!Zl())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t}))&&void 0};var RD=function(e,t,r){return!(!r.hasAttr("contenteditable")||!function e(t){var n=t.attr("contenteditable");if("true"===n||""===n)return!0;if("false"===n)return!1;var a=ha(r.parent,"[contenteditable]");if(!a)return!1;return e(a)}(r))||Wi(r)};var SD=function(e,t,r){var n=r.tabbableElements.map((function(e){return e.actualNode}));return!n||!n.length||(!Zl()||void this.relatedNodes(n))};var OD=function(e,t,r){var n=r.attr("tabindex");if(!(Gi(r)&&n>-1))return!1;try{return!yl(r)}catch(e){return}};var MD=function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return!n.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!Zl())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t}))&&void 0};function ID(e){if(Wi(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some((function(e){return ID(e)}))}var PD=function(e){var t=Um("landmark"),r=Uo(e),n=Vu(e);for(this.data({role:n});r;){var a=r.getAttribute("role");if(a||"FORM"===r.nodeName.toUpperCase()||(a=Pu(r)),a&&t.includes(a)&&("main"!==a||"complementary"!==n))return!1;r=Uo(r)}return!0};function LD(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach((function(e){"widget"===Gl(e)&&Gi(e)?t.push(e):t.push.apply(t,G(LD(e)))})),t}function jD(e){var t=parseInt(e.attr("tabindex"),10);return!isNaN(t)&&t<0}var qD=function(e,t,r){var n=parseInt(r.attr("tabindex"),10);return!!isNaN(n)||n<=0};var zD=function(e,t,r){var n=r.attr("alt");return"string"==typeof n&&/^\s+$/.test(n)};var VD=function(e,t,r){if(["none","presentation"].includes(Vu(r)))return!1;var n=ha(r,t.parentSelector);if(!n)return!1;var a=Xu(n,!0).toLowerCase();return""!==a&&a===yl(r).toLowerCase()};var $D=function(e,t,r){var n=this;if(!r.attr("id"))return!1;if(r.actualNode){var a=Fo(r.actualNode),o=mn(r.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some((function(e){if(Zo(e)){var t=vu(Ji(e,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}};var HD=function(e,t,r){var n=Nl(r),a=e.getAttribute("title");return!!n&&(a||(a="",e.getAttribute("aria-describedby")&&(a=Zi(e,"aria-describedby").map((function(e){return e?Ji(e):""})).join(""))),vu(a)===vu(n))};var UD=function(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Fo(e),a=mn(e.getAttribute("id")),o=n.querySelector('label[for="'.concat(a,'"]'));if(o&&!Yu(o)){var i;try{i=yl(r).trim()}catch(e){return}return""===i}}return!1};var GD=function(e,t,r){try{var n=ha(r,"label");if(n){var a=vu(yl(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}};function WD(e,t){var r=YD(t),n=YD(e);return!(!r||!n)&&r.includes(n)}function YD(e){var t=wl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return vu(t)}var KD=function(e,t,r){var n,a=null==t?void 0:t.pixelThreshold,o=null!==(n=null==t?void 0:t.occurrenceThreshold)&&void 0!==n?n:null==t?void 0:t.occuranceThreshold,i=Ji(e).toLowerCase();if(!(El(i)<1)){var u=vu(cl(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:a,occurrenceThreshold:o})).toLowerCase();return!u||(El(u)<1?!!WD(u,i)||void 0:WD(u,i))}};var XD=function(e){var t=mn(e.getAttribute("id")),r=e.parentNode,n=Fo(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter((function(e){return!Vo(e)})));r;)"LABEL"===r.nodeName.toUpperCase()&&-1===a.indexOf(r)&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var o=a.filter((function(e){return Yu(e)}));if(o.length>1)return;return!Zi(e,"aria-labelledby").includes(o[0])&&void 0}return!1};var ZD=function(e,t,r){var n=Nl(r),a=Hu(r),o=r.attr("aria-describedby");return!(n||!a&&!o)};var JD=function(e){var t=[];return e.filter((function(e){var r=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return r?(r.result=!1,r.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))};var QD=function(e,t,r){var n=Vu(e),a=yl(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),!0};function eg(e){return""!==(e||"").trim()}var tg=function(e,t,r){var n=void 0!==l&&En(l);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&eg(r.attr("xml:lang"))&&!eg(r.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return eg(r.attr(e))}))||(this.data({messageKey:"noLang"}),!1)};var rg=function(e,t,r){var n=[];return t.attributes.forEach((function(e){var a=r.attr(e);if("string"==typeof a){var o=Gp(a),i=t.value?!t.value.map(Gp).includes(o):!Cm(o);(""!==o&&i||""!==a&&!vu(a))&&n.push(e+'="'+r.attr(e)+'"')}})),!!n.length&&(!("html"!==r.props.nodeName&&!ql(r))&&(this.data(n),!0))};var ng=function(e,t,r){return Gp(r.attr("lang"))===Gp(r.attr("xml:lang"))};var ag=function(e){var t=Uo(e),r=t.nodeName.toUpperCase(),n=cu(t);return"DIV"===r&&["presentation","none",null].includes(n)&&(r=(t=Uo(t)).nodeName.toUpperCase(),n=cu(t)),"DL"===r&&!(n&&!["presentation","none","list"].includes(n))};function og(e,t,r){var n=r.validRoles,a=void 0===n?[]:n,o=r.validNodeNames,i=void 0===o?[]:o,u=e.props,l=u.nodeName,s=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(3===s&&""!==c.trim())return d+"#text";if(1!==s||!Yu(e))return!1;var p=cu(e);return p?!a.includes(p)&&d+"[role=".concat(p,"]"):!i.includes(l)&&d+l}function ig(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}var ug=function(e,t,r){var n=!1,a=!1,o=!0,i=[],u=[],l=[];return r.children.forEach((function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&Yu(t)){o=!1;var r="LI"===t.nodeName.toUpperCase(),s=Vu(e),c="listitem"===s;r||c||i.push(t),r&&!c&&(u.push(t),l.includes(s)||l.push(s)),c&&(a=!0)}}else n=!0})),n||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),!0)};var lg=function(e,t,r){var n=r.children;if(!n||!n.length)return!1;for(var a,o=!1,i=!1,u=0;u<n.length;u++){if("DT"===(a=n[u].props.nodeName.toUpperCase())&&(o=!0),o&&"DD"===a)return!1;"DD"===a&&(i=!0)}return o||i};var sg=function(e,t,r){return!sm(r,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0};var cg=function(e){var t={};return e.filter((function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var r=e.node.ancestry.flat(1/0).join(" > ");return t[r]=e,!0}var n=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[n]&&(t[n].result=!0),!1}))};var dg=function(e,t){return!t.isViolation&&void 0};var pg=function(e,t){if(e.duration){var r=t.allowedDuration,n=void 0===r?3:r;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(!t)return;return K(t,2)[1].split(",").map((function(e){return/:/.test(e)?function(e){var t=e.split(":"),r=0,n=1;for(;t.length>0;)r+=n*parseInt(t.pop(),10),n*=60;return parseFloat(r)}(e):parseFloat(e)}))}(e.currentSrc);if(!t)return Math.abs(e.duration-(e.currentTime||0));if(1===t.length)return Math.abs(e.duration-t[0]);return Math.abs(t[1]-t[0])}(e)<=n&&!e.hasAttribute("loop")||!!e.hasAttribute("controls")}console.warn("axe.utils.preloadMedia did not load metadata")};var fg=function(e,t,r,n){var a=(n||{}).cssom,o=void 0===a?void 0:a,i=(t||{}).degreeThreshold,u=void 0===i?0:i;if(o&&o.length){for(var l=!1,s=[],c=o.reduce((function(e,t){var r=t.sheet,n=t.root,a=t.shadowId,o=a||"topDocument";if(e[o]||(e[o]={root:n,rules:[]}),!r||!r.cssRules)return e;var i=Array.from(r.cssRules);return e[o].rules=e[o].rules.concat(i),e}),{}),d=function(){var e=f[p],t=c[e],r=t.root,n=t.rules.filter(m);if(!n.length)return"continue";n.forEach((function(e){var t=e.cssRules;Array.from(t).forEach((function(e){var t=function(e){var t=e.selectorText,r=e.style;if(!t||r.length<=0)return!1;var n=r.transform||r.webkitTransform||r.msTransform||!1;if(!n&&!r.rotate)return!1;var a=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var r=K(t,3),n=r[1],a=r[2];return h(n,a)}(n),o=h("rotate",r.rotate),i=a+o;if(!i)return!1;if(i=Math.abs(i),Math.abs(i-180)%180<=u)return!1;return Math.abs(i-90)%90<=u}(e);if(t&&"HTML"!==e.selectorText.toUpperCase()){var n=Array.from(r.querySelectorAll(e.selectorText))||[];s=s.concat(n)}l=l||t}))}))},p=0,f=Object.keys(c);p<f.length;p++)d();return!l||(s.length&&this.relatedNodes(s),!1)}function m(e){var t=e.type,r=e.cssText;return 4===t&&(/orientation:\s*landscape/i.test(r)||/orientation:\s*portrait/i.test(r))}function h(e,t){switch(e){case"rotate":case"rotateZ":return D(t);case"rotate3d":var r=K(t.split(",").map((function(e){return e.trim()})),4),n=r[2],a=r[3];if(0===parseInt(n))return;return D(a);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var r=K(t,2),n=r[0],a=r[1];return g(Math.atan2(parseFloat(a),parseFloat(n)))}var o=parseFloat(t[8]),i=Math.asin(o),u=Math.cos(i);return g(Math.acos(parseFloat(t[0])/u))}(t);default:return 0}}function D(e){var t=K(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var r,n=parseFloat(e.replace(t,""));switch(t){case"rad":return g(n);case"grad":return function(e){(e%=400)<0&&(e+=400);return Math.round(e/400*360)}(n);case"turn":return r=n,Math.round(360/(1/r));default:return parseInt(n)}}function g(e){return Math.round(e*(180/Math.PI))}};var mg=function(e,t,r){var n=t||{},a=n.scaleMinimum,o=void 0===a?2:a,i=n.lowerBound,u=void 0!==i&&i,l=r.attr("content")||"";if(!l)return!0;var s=l.split(/[;,]/).reduce((function(e,t){var r=t.trim();if(!r)return e;var n=K(r.split("="),2),a=n[0],o=n[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),u=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===u&&(u=1),"maximum-scale"===i&&parseFloat(u)<0||(e[i]=u),e}),{});if(u&&s["maximum-scale"]&&parseFloat(s["maximum-scale"])<u)return!0;if(!u&&"no"===s["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(s["user-scalable"]);return!u&&s["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(s["maximum-scale"]&&parseFloat(s["maximum-scale"])<o)||(this.data("maximum-scale"),!1)};function hg(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function Dg(e){return e.getComputedStylePropertyValue("pointer-events")}function gg(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function vg(e,t){return e.actualNode.contains(t.actualNode)&&!Wi(t)}function bg(e){return e.map((function(e){return e.actualNode}))}function yg(e,t){var r,n=null===(r=t.data)||void 0===r?void 0:r.headingOrder,a=wg(t.node.ancestry,1);if(!n)return e;var o=n.map((function(e){return function(e,t){var r=t.concat(e.ancestry);return Y({},e,{ancestry:r})}(e,a)})),i=function(e,t){for(;t.length;){var r=Fg(e,t);if(-1!==r)return r;t=wg(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,G(o)):e.splice.apply(e,[i,0].concat(G(o))),e}function Fg(e,t){return e.findIndex((function(e){return Pf(e.ancestry,t)}))}function wg(e,t){return e.slice(0,e.length-t)}function Eg(e){var t=Vu(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),o=K(e.props.nodeName.match(/h(\d)/)||[],2)[1];return r?o&&!n?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}var Cg=function(){var e=Wn.get("headingOrder");if(e)return!0;var t=Jf(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",Yu);return e=t.map((function(e){return{ancestry:[Vn(e.actualNode)],level:Eg(e)}})),this.data({headingOrder:e}),Wn.set("headingOrder",t),!0};function xg(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);return r.length===n.length&&r.every((function(r){var n=e[r],a=t[r];return s(n)===s(a)&&("object"===s(n)||"object"===s(a)?xg(n,a):n===a)}))}var Ag=function(e){if(e.length<2)return e;for(var t=e.filter((function(e){return void 0!==e.result})),r=[],n={},a=function(e){var a,o=t[e],i=o.data,u=i.name,l=i.urlProps;if(n[u])return"continue";var s=t.filter((function(t,r){return t.data.name===u&&r!==e})),c=s.every((function(e){return xg(e.data.urlProps,l)}));s.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,G(s.map((function(e){return e.relatedNodes[0]})))),n[u]=s,r.push(o)},o=0;o<t.length;o++)a(o);return r},kg={};ie(kg,{aria:function(){return Im},color:function(){return Sh},dom:function(){return bo},forms:function(){return Ng},matches:function(){return Mu},math:function(){return ti},standards:function(){return Dh},table:function(){return Bg},text:function(){return Xi},utils:function(){return Jr}});var Ng={};ie(Ng,{isAriaCombobox:function(){return rl},isAriaListbox:function(){return tl},isAriaRange:function(){return al},isAriaTextbox:function(){return el},isDisabled:function(){return Tg},isNativeSelect:function(){return Qu},isNativeTextbox:function(){return Ju}});var _g=["fieldset","button","select","input","textarea"];var Tg=function e(t){var r=t._isDisabled;if("boolean"==typeof r)return r;var n=t.props.nodeName,a=t.attr("aria-disabled");return r=!(!_g.includes(n)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=r,r},Bg={};ie(Bg,{getAllCells:function(){return Rg},getCellPosition:function(){return mu},getHeaders:function(){return Og},getScope:function(){return hu},isColumnHeader:function(){return Du},isDataCell:function(){return Mg},isDataTable:function(){return Ig},isHeader:function(){return Pg},isRowHeader:function(){return gu},toArray:function(){return fu},toGrid:function(){return fu},traverse:function(){return jg}});var Rg=function(e){var t,r,n,a,o=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)o.push(e.rows[t].cells[r]);return o};function Sg(e,t,r){for(var n,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?gu:Du,i=r[t.y][t.x],u=i.colSpan-1,l=i.getAttribute("rowspan"),s=(0===parseInt(l)||0===i.rowspan?r.length:i.rowSpan)-1,d=t.y+s,p=t.x+u,f="row"===e?t.y:0,m="row"===e?0:t.x,h=[],D=d;D>=f&&!n;D--)for(var g=p;g>=m;g--){var v=r[D]?r[D][g]:void 0;if(v){var b=c.utils.getNodeFromTree(v);if(b[a]){n=b[a];break}h.push(v)}}return n=(n||[]).concat(h.filter(o)),h.forEach((function(e){c.utils.getNodeFromTree(e)[a]=n})),n}var Og=function(e,t){if(e.getAttribute("headers")){var r=Zi(e,"headers");if(r.filter((function(e){return e})).length)return r}t||(t=fu(Co(e,"table")));var n=mu(e,t),a=Sg("row",n,t),o=Sg("col",n,t);return[].concat(a,o).reverse()};var Mg=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return su(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()};var Ig=function(e){var t=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===t||"none"===t)&&!Gi(e))return!1;if("true"===e.getAttribute("contenteditable")||Co(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===Gl(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r<n;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var a,o,u=0,l=e.rows.length,s=!1,c=0;c<l;c++)for(var d=0,p=(a=e.rows[c]).cells.length;d<p;d++){if("TH"===(o=a.cells[d]).nodeName.toUpperCase())return!0;if(s||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(s=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes((o.getAttribute("role")||"").toLowerCase()))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;u++}if(e.getElementsByTagName("table").length)return!1;if(l<2)return!1;var f,m,h=e.rows[Math.ceil(l/2)];if(1===h.cells.length&&1===h.cells[0].colSpan)return!1;if(h.cells.length>=5)return!0;if(s)return!0;for(c=0;c<l;c++){if(a=e.rows[c],f&&f!==i.getComputedStyle(a).getPropertyValue("background-color"))return!0;if(f=i.getComputedStyle(a).getPropertyValue("background-color"),m&&m!==i.getComputedStyle(a).getPropertyValue("background-image"))return!0;m=i.getComputedStyle(a).getPropertyValue("background-image")}return l>=20||!(Wo(e).width>.95*Yo(i).width)&&(!(u<10)&&!e.querySelector("object, embed, iframe, applet"))};var Pg=function(e){if(Du(e)||gu(e))return!0;if(e.getAttribute("id")){var t=mn(e.getAttribute("id"));return!!l.querySelector('[headers~="'.concat(t,'"]'))}return!1};function Lg(e,t,r,n){var a,o=r[t.y]?r[t.y][t.x]:void 0;return o?"function"==typeof n&&!0===(a=n(o,t,r))?[o]:((a=Lg(e,{x:t.x+e.x,y:t.y+e.y},r,n)).unshift(o),a):[]}var jg=function(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return Lg(e,{x:t.x+e.x,y:t.y+e.y},r,n)};var qg=function(e,t,r){var n=Xi.accessibleTextVirtual(r),a=Xi.sanitize(Xi.removeUnicode(n,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var o={name:a,urlProps:bo.urlPropsFromAttribute(e,"href")};return this.data(o),this.relatedNodes([e]),!0}};var zg=function(e,t,r){return sm(r,"a[href]").some((function(e){return/^#[^/!]/.test(e.attr("href"))}))},Vg=/[;,\s]/,$g=/^[0-9.]+$/;function Hg(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function Ug(e){var t=i.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,n=e.children[a].textContent.trim()}while(""===n&&a+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:Hg(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:"italic"===t.getPropertyValue("font-style")}}function Gg(e,t,r){return r.reduce((function(r,n){return r||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)}),!1)}var Wg=function(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e),o=(t=t||{}).margins||[],i=n.slice(a+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),u=n.slice(0,a).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),l=Ug(e),s=i?Ug(i):null,c=u?Ug(u):null,d=t.passLength,p=t.failLength,f=e.textContent.trim().length,m=null==i?void 0:i.textContent.trim().length;if(f>m*d)return!0;if(!s||!Gg(l,s,o))return!0;var h=Eo(r,"blockquote");return!!(h&&"BLOCKQUOTE"===h.nodeName.toUpperCase()||c&&!Gg(l,c,o)||f>m*p)&&void 0};var Yg=function(e){var t=e.filter((function(e){return e.data.isIframe}));return e.forEach((function(e){if(!e.result&&1!==e.node.ancestry.length){var r,n=e.node.ancestry.slice(0,-1),a=re(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(Pf(n,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}})),t.forEach((function(e){e.result||(e.result=!0)})),e},Kg=["alert","log","status"];function Xg(e,t){var r=e.actualNode;if("button"===Vu(e)||function(e,t){var r=e.actualNode,n=Vu(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),o=Um("landmark");if(["assertive","polite"].includes(a)||Kg.includes(n))return!0;if(o.includes(n))return!0;if(t.regionMatcher&&Mu(e,t.regionMatcher))return!0;return!1}(e,t)||["iframe","frame"].includes(e.props.nodeName)||gp(e.actualNode)&&Li(e.actualNode,"href")||!Yu(r)){for(var n=e;n;)n._hasRegionDescendant=!0,n=n.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return r!==l.body&&jl(r,!0)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return Xg(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}var Zg=function(e){var t=Li(e,"href");return!!t&&(Yu(t)||void 0)};var Jg=function(e){var t={};return e.forEach((function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0})),e.forEach((function(e){e.result=!!t[e.data]})),e};var Qg=function(e,t,r){var n=vu(r.attr("title")).toLowerCase();return this.data(n),!0};var ev=function(e){var t=[];return e.filter((function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)}))};var tv=function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=Fo(e),n=Array.from(r.querySelectorAll('[id="'.concat(mn(t),'"]'))).filter((function(t){return t!==e}));return n.length&&this.relatedNodes(n),this.data(t),0===n.length};var rv=function(e,t,r){return!!vu(eu(r))};var nv=function(e,t,r){try{return!!vu(Qi(r))}catch(e){return}};var av=function(e,t){var r=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}));return!(r.length>0)||(this.data(r),!1)};var ov=function(){var e=l.title;return!!vu(e)};var iv=function(){};var uv=function(e,t,r){var n=r.props.nodeName;return!!["img","input","area"].includes(n)&&r.hasAttr("alt")};var lv=function(e){return Zo(e)};var sv=function(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),o=r.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==n||!["submit","reset"].includes(a))&&null===o};var cv=function(e,t,r){if(r.children){var n=r.children.find((function(e){return"title"===e.props.nodeName}));if(!n)return this.data({messageKey:"noTitle"}),!1;try{if(""===cl(n,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}};var dv=function(e){var t=fu(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1||r.reduce((function(e,t,n){return e||t!==r[n+1]&&void 0!==r[n+1]}),!1)};var pv=function(e){return!Ul(l)||"TH"===e.nodeName.toUpperCase()},fv=function(e,t,r){if(void 0===r.children)return;var n=r.attr("summary"),a=r.children.find(mv),o=!!a&&vu(cl(a));if(!o||!n)return!1;return vu(n).toLowerCase()===vu(o).toLowerCase()};function mv(e){return"caption"===e.props.nodeName}var hv=function(e,t){var r=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(r)};var Dv=function(e){var t=[],r=Rg(e),n=fu(e);return r.forEach((function(e){jl(e)&&Mg(e)&&!nh(e)&&(Og(e,n).some((function(e){return null!==e&&!!jl(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)};var gv=function(e){var t=Rg(e),r=this,n=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(n=n.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(n=n.concat(r.split(/\s+/)))}));var a=t.filter((function(e){return""!==vu(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))})),o=fu(e),i=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!n.includes(e.getAttribute("id"))){var t=mu(e,o),a=!1;Du(e)&&(a=jg("down",t,o).find((function(t){return!Du(t)&&Og(t,o).includes(e)}))),!a&&gu(e)&&(a=jg("right",t,o).find((function(t){return!gu(t)&&Og(t,o).includes(e)}))),a||r.relatedNodes(e),i=i&&a}})),!!i||void 0};var vv=function(e,t,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Ll(r)){var n=i.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var a=Uo(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0};var bv=function(e,t){var r=/^aria-/,n=t.attrNames;if(n.length)for(var a=0,o=n.length;a<o;a++)if(r.test(n[a]))return!0;return!1};var yv=function(e,t){return null!==cu(t,{dpub:!0,fallback:!0})};var Fv=function(e,t){var r=/^aria-/;return t.attrNames.some((function(e){return r.test(e)}))};function wv(e){return!e||"true"!==e.getAttribute("aria-hidden")&&wv(Uo(e))}var Ev=function(e){return wv(Uo(e))};var Cv=function(e,t){var r=cu(t,{dpub:!0});return!!ih(r)};var xv=function(e,t){var r=cu(t);return!!oh(r)};var Av=function(e,t){var r=t.attr("autocomplete");if(!r||""===vu(r))return!1;var n=t.props.nodeName;if(!1===["textarea","input","select"].includes(n))return!1;if("input"===n&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var a=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===a.toLowerCase())return!1;var o=t.attr("role"),i=t.attr("tabindex");if("-1"===i&&o){var u=uu.ariaRoles[o];if(void 0===u||"widget"!==u.type)return!1}return!("-1"===i&&t.actualNode&&!Zo(t)&&!Yu(t))};var kv=function(e,t,r){return r.initiator};var Nv=function(e,t,r){return!kv(e,t,r)||!!e.querySelector("a[href]")};var _v=function(e,t){var r=t.props,n=r.nodeName,a=r.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(Tg(t)||Ti(t))return!1;if(["input","select","textarea"].includes(n)){var o=i.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var s=e.getBoundingClientRect();if(s={top:s.top,bottom:s.bottom,left:s.left+u,right:s.right+u},!Bp(s,e))return!1}return!0}var c=Eo(t,"label");if("label"===n||c){var d=c||e,p=c?Yn(c):t;if(d.htmlFor){var f=Fo(d).getElementById(d.htmlFor),m=f&&Yn(f);if(m&&Tg(m))return!1}var h=sm(p,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(h&&Tg(h))return!1}for(var D=[],g=t;g;){if(g.props.id){var v=qm(g).filter((function(e){return Ip(e.getAttribute("aria-labelledby")||"").includes(g.props.id)})).map((function(e){return Yn(e)}));D.push.apply(D,G(v))}g=g.parent}if(D.length>0&&D.every(Tg))return!1;if(!function(e){var t=Xu(e,!1,!0);if(""===t||""===wl(t,Tv))return!1;return e.children.some((function(e){return"#text"===e.props.nodeName&&!bl(e)}))}(t))return!1;for(var b=l.createRange(),y=t.children,F=0;F<y.length;F++){var w=y[F];3===w.actualNode.nodeType&&""!==vu(w.actualNode.nodeValue)&&b.selectNodeContents(w.actualNode)}for(var E=b.getClientRects(),C=0;C<E.length;C++)if(Bp(E[C],e))return!0;return!1},Tv={emoji:!0,nonBmp:!1,punctuations:!0};var Bv=function(e){if(Ig(e)){var t=fu(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1};var Rv=function(e){return Ig(e)};var Sv=function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(mn(t),'"]'),n=Array.from(Fo(e).querySelectorAll(r));return!eh(e)&&n.some(Gi)};var Ov=function(e){return eh(e)};var Mv=function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(mn(t),'"]'),n=Array.from(Fo(e).querySelectorAll(r));return!eh(e)&&n.every((function(e){return!Gi(e)}))};var Iv=function(e,t,r){var n,a;return!r.initiator&&!r.focusable&&(null===(n=r.size)||void 0===n?void 0:n.width)*(null===(a=r.size)||void 0===a?void 0:a.height)>1};var Pv=function(e){var t=e.getAttribute("title");return!!vu(t)};var Lv=function(e,t){return null!==Pu(t,{chromium:!0})};var jv=function(e,t){try{return"svg"===t.props.nodeName||!!ha(t,"svg")}catch(e){return!1}};var qv=function(e,t){return!jv(e,t)};var zv=function(e,t){if(!!!yl(t))return!1;var r=Vu(e);return!r||"link"===r};var Vv=function(e){return zl(e)};var $v=function(e,t){var r=Vu(e);return!!r&&(!!Um("widget").includes(r)&&(!!Wm().includes(r)&&(!(!vu(eu(t))&&!vu(Qi(e)))&&!!vu(Xu(t)))))};var Hv=function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var r=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)};var Uv=function(e,t){return e.hasAttribute("role")||!Eo(t,"article, aside, main, nav, section")},Gv=["article","aside","main","nav","section"].join(",");var Wv=function(e){return!Ig(e)&&!Gi(e)};var Yv=function(e){var t=vu(e.innerText),r=e.getAttribute("role");return(!r||"link"===r)&&(!!t&&(!!Zo(e)&&Xl(e)))};var Kv=function(e,t){var r=Vu(t);return!!r&&!!uu.ariaRoles[r].childrenPresentational};var Xv=function(e){return!!e.currentSrc&&(!e.hasAttribute("paused")&&!e.hasAttribute("muted"))};var Zv=function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()};var Jv=function(e,t){var r=cu(t);return!(r&&!["none","presentation"].includes(r))||!(!(ru[r]||{}).accessibleNameRequired&&!Gi(t))};var Qv=function(e,t){var r=Iu(t).namingMethods;return(!r||0===r.length)&&(("combobox"!==cu(t)||!sm(t,'input:not([type="hidden"])').length)&&!th(t,{popupRoles:["listbox"]}))};var eb=function(e,t){var r=parseInt(t.attr("tabindex"),10);return isNaN(r)||r>=0};var tb=function(e,t){return!t.attr("role")};var rb=function(e,t){return"html"!==t.props.nodeName};function nb(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),0===r.getClientRects().length}var ab=function(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim();return!(0===r.length||(r.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter((function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()})).length};var ob=function(e,t){return null!==Pu(t,{chromiumRoles:!0})};var ib=function(e){return gp(e)&&Ko(e)};var ub=[function(e,t){return lb(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!jv(e,t)},function(e,t){return Gi(t)},function(e,t){return Wi(t)||!sb(t)},function(e){return!Xl(e,{noLengthCompare:!0})}];function lb(e){return"widget"===Gl(e)}var sb=wn((function e(t){return!(null==t||!t.parent)&&(!(!lb(t.parent)||!Wi(t.parent))||e(t.parent))}));var cb={"abstractrole-evaluate":sh,"accesskeys-after":ND,"accesskeys-evaluate":_D,"alt-space-value-evaluate":zD,"aria-allowed-attr-evaluate":function(e,t,r){var n=[],a=Vu(r),o=Pm(a);Array.isArray(t[a])&&(o=Xf(t[a].concat(o)));var i,u=re(r.attrNames);try{for(u.s();!(i=u.n()).done;){var l=i.value;lh(l)&&!o.includes(l)&&n.push(l)}}catch(e){u.e(e)}finally{u.f()}return!n.length||(this.data(n.map((function(e){return e+'="'+r.attr(e)+'"'}))),!(a||Of(r)||Gi(r))&&void 0)},"aria-allowed-attr-matches":bv,"aria-allowed-role-evaluate":ch,"aria-allowed-role-matches":yv,"aria-busy-evaluate":function(e,t,r){return"true"===r.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,r){var n=Vu(r);return!fh[n]||fh[n].call(this,e,t,r)},"aria-conditional-checkbox-attr-evaluate":dh,"aria-conditional-row-attr-evaluate":ph,"aria-errormessage-evaluate":function(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),o=r.attr("aria-invalid");return!r.hasAttr("aria-invalid")||"false"===o||(-1!==t.indexOf(n)||!a||(this.data(Ip(n)),function(e){if(""===e.trim())return uu.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&Zi(r,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:Ip(e)})}return t?Yu(t)?"alert"===t.getAttribute("role")||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||Ip(r.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:Ip(e)}),!1):void 0}.call(this,n)))},"aria-has-attr-matches":Fv,"aria-hidden-body-evaluate":mh,"aria-hidden-focus-matches":Ev,"aria-label-evaluate":rv,"aria-labelledby-evaluate":nv,"aria-level-evaluate":hh,"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=r.props.nodeName,o=Vu(r,{chromium:!0}),i=function(e,t,r){var n=uu.ariaRoles[e];if(n)return n.prohibitedAttrs||[];if(e||r.includes(t))return[];return["aria-label","aria-labelledby"]}(o,a,n).filter((function(e){return!!r.attrNames.includes(e)&&""!==vu(r.attr(e))}));if(0===i.length)return!1;var u=r.hasAttr("role")?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var l=cl(r,{subtreeDescendant:!0});return""===vu(l)||void 0},"aria-required-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=cu(r),a=r.attrNames,o=ah(n);if(Array.isArray(t[n])&&(o=Xf(t[n],o)),!n||!a.length||!o.length)return!0;if(function(e,t){return"separator"===t&&!Gi(e)}(r,n)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(r,n))return!0;var i=Iu(r),u=o.filter((function(e){return!r.attr(e)&&!function(e,t){var r;return void 0!==(null===(r=e.implicitAttrs)||void 0===r?void 0:r[t])}(i,e)}));return!u.length||(this.data(u),!1)},"aria-required-children-evaluate":function(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=cu(r,{dpub:!0}),o=ih(a);if(null===o)return!0;var i=function(e,t){var r,n=[],a=Gu(e),o=function(){if(3===r.props.nodeType&&n.push({vNode:r,role:null}),1!==r.props.nodeType||!Yu(r))return"continue";var e=Vu(r,{noPresentational:!0}),o=function(e){return pu().find((function(t){return e.hasAttr(t)}))}(r),i=!!o||Gi(r);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some((function(t){return t===e})))a.push.apply(a,G(r.children));else if(e||i){var u=o||"tabindex";n.push({role:e,attr:u,vNode:r})}};for(;r=a.shift();)o();return n}(r,o),u=i.filter((function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)}));return u.length?(this.relatedNodes(u.map((function(e){return e.vNode}))),this.data({messageKey:"unallowed",values:u.map((function(e){return function(e,t){var r=e.props,n=r.nodeName;if(3===r.nodeType)return"#text";var a=cu(e,{dpub:!0});if(a)return"[role=".concat(a,"]");if(t)return n+"[".concat(t,"]");return n}(e.vNode,e.attr)})).filter((function(e,t,r){return r.indexOf(e)===t})).join(", ")}),!1):!!function(e,t){return t.some((function(t){var r=t.role;return r&&e.includes(r)}))}(o,i)||(this.data(o),!(!n.includes(a)||i.some(gh))&&void 0)},"aria-required-children-matches":Cv,"aria-required-parent-evaluate":bh,"aria-required-parent-matches":xv,"aria-roledescription-evaluate":yh,"aria-unsupported-attr-evaluate":Fh,"aria-valid-attr-evaluate":wh,"aria-valid-attr-value-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],l={"aria-controls":function(){return"false"!==r.attr("aria-expanded")&&"false"!==r.attr("aria-selected")},"aria-current":function(e){e||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==r.attr("aria-expanded")},"aria-describedby":function(e){e||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return r.attrNames.forEach((function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var s,c=r.attr(e);try{s=uh(r,e)}catch(t){return n="".concat(e,'="').concat(c,'"'),void(a="idrefs")}l[e]&&!l[e](s)||s||(""!==c||function(e){var t;return"string"===(null===(t=uu.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(n=e,a="empty"))}})),o.length?(this.data(o),!1):!n||void this.data({messageKey:a,needsReview:n})},"attr-non-space-content-evaluate":wD,"autocomplete-appropriate-evaluate":yD,"autocomplete-matches":Av,"autocomplete-valid-evaluate":FD,"avoid-inline-spacing-evaluate":av,"braille-label-equivalent-evaluate":function(e,t,r){var n;if(!(null!==(n=r.attr("aria-braillelabel"))&&void 0!==n?n:"").trim())return!0;try{return""!==vu(yl(r))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,r){var n,a=null!==(n=r.attr("aria-brailleroledescription"))&&void 0!==n?n:"";if(""===vu(a))return!0;var o=r.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==vu(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":Nv,"caption-evaluate":sg,"caption-faked-evaluate":dv,"color-contrast-evaluate":function(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,l=t.boldTextPt,s=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,p=t.pseudoSizeThreshold;if(!Zo(e))return this.data({messageKey:"hidden"}),!0;var f=Xu(r,!1,!0);if(n&&function(e){var t={nonBmp:!0},r=vl(e,t),n=""===vu(wl(e,t));return r&&n}(f))this.data({messageKey:"nonBmp"});else{var m=i.getComputedStyle(e),h=parseFloat(m.getPropertyValue("font-size")),D=m.getPropertyValue("font-weight"),g=parseFloat(D)>=u||"bold"===D,v=Math.ceil(72*h)/96,b=g&&v<l||!g&&v<s?c.normal:c.large,y=b.expected,F=b.minThreshold,w=b.maxThreshold,E=function(e,t){var r=t.pseudoSizeThreshold,n=void 0===r?.25:r,a=t.ignorePseudo,o=void 0!==a&&a;if(o)return;var i=e.boundingClientRect,u=i.width*i.height*n;do{if(pD(e.actualNode,":before")+pD(e.actualNode,":after")>u)return e}while(e=e.parent)}(r,{ignorePseudo:o,pseudoSizeThreshold:p});if(E)return this.data({fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:g?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:y+":1"}),void this.relatedNodes(E.actualNode);var C=Jh(e,{minRatio:.001,maxRatio:d});if(null!==C){var x=[],A=oD(e,x,d),k=sD(e,!1,A,t),N=null,_=null,T=null;if(0===C.length)N=lD(A,k);else if(k&&A){T=[].concat(G(C),[A]).reduce(Vh);var B=lD(A,k),R=lD(A,T),S=lD(T,k);(N=Math.max(B,R,S))!==B&&(_=R>S?"shadowOnBgColor":"fgOnShadowColor")}var O=N>y;if("number"==typeof F&&("number"!=typeof N||N<F)||"number"==typeof w&&("number"!=typeof N||N>w))return this.data({contrastRatio:N}),!0;var M,I=Math.floor(100*N)/100;null===A?M=rs.get("bgColor"):O||(M=_);var P=1===I,L=1===f.length;return P?M=rs.set("bgColor","equalRatio"):O||!L||a||(M="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:A?A.toHexString():void 0,contrastRatio:I,fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:g?"bold":"normal",messageKey:M,expectedContrastRatio:y+":1",shadowColor:T?T.toHexString():void 0}),null===k||null===A||P||L&&!a&&!O?(M=null,rs.clear(),void this.relatedNodes(x)):(O||this.relatedNodes(x),O)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":_v,"css-orientation-lock-evaluate":fg,"data-table-large-matches":Bv,"data-table-matches":Rv,"deprecatedrole-evaluate":function(e,t,r){var n=Vu(r,{dpub:!0,fallback:!0}),a=uu.ariaRoles[n];return!(null==a||!a.deprecated)&&(this.data(n),!0)},"dlitem-evaluate":ag,"doc-has-title-evaluate":ov,"duplicate-id-active-matches":Sv,"duplicate-id-after":ev,"duplicate-id-aria-matches":Ov,"duplicate-id-evaluate":tv,"duplicate-id-misc-matches":Mv,"duplicate-img-label-evaluate":VD,"exists-evaluate":iv,"explicit-evaluate":$D,"fallbackrole-evaluate":Eh,"focusable-content-evaluate":TD,"focusable-disabled-evaluate":BD,"focusable-element-evaluate":RD,"focusable-modal-open-evaluate":SD,"focusable-no-name-evaluate":OD,"focusable-not-tabbable-evaluate":MD,"frame-focusable-content-evaluate":function(e,t,r){if(r.children)try{return!r.children.some((function(e){return ID(e)}))}catch(e){return}},"frame-focusable-content-matches":Iv,"frame-tested-after":cg,"frame-tested-evaluate":dg,"frame-title-has-text-matches":Pv,"has-alt-evaluate":uv,"has-descendant-after":ED,"has-descendant-evaluate":CD,"has-global-aria-attribute-evaluate":Ch,"has-implicit-chromium-role-matches":Lv,"has-lang-evaluate":tg,"has-text-content-evaluate":function(e,t,r){try{return""!==vu(cl(r))}catch(e){return}},"has-widget-role-evaluate":xh,"heading-matches":function(e,t){return"heading"===Vu(t)},"heading-order-after":function(e){var t=function(e){e=G(e),e.sort((function(e,t){var r=e.node,n=t.node;return r.ancestry.length-n.ancestry.length}));var t=e.reduce(yg,[]);return t.filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var r,n,a,o,i=Fg(t,e.node.ancestry),u=null!==(r=null===(n=t[i])||void 0===n?void 0:n.level)&&void 0!==r?r:-1,l=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;if(0===i)return!0;if(-1===u)return;return u-l<=1}(e,t)})),e},"heading-order-evaluate":Cg,"help-same-as-label-evaluate":HD,"hidden-content-evaluate":vv,"hidden-explicit-label-evaluate":UD,"html-namespace-matches":qv,"html5-scope-evaluate":pv,"identical-links-same-purpose-after":Ag,"identical-links-same-purpose-evaluate":qg,"identical-links-same-purpose-matches":zv,"implicit-evaluate":GD,"inline-style-property-evaluate":function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,o=t.maxValue,u=t.normalValue,l=void 0===u?0:u,s=t.noImportant,c=t.multiLineOnly;if(!s&&"important"!==e.style.getPropertyPriority(r)||c&&!Jl(e))return!0;var d={};"number"==typeof a&&(d.minValue=a),"number"==typeof o&&(d.maxValue=o);var p=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(p))return this.data(Y({value:p},d)),!0;var f=function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,o=i.getComputedStyle(e),u=o.getPropertyValue(r);if("normal"===u)return a;var l=parseFloat(u);if(n)return l;var s=parseFloat(o.getPropertyValue("font-size")),c=Math.round(l/s*100)/100;if(isNaN(c))return u;return c}(e,{absoluteValues:n,cssProperty:r,normalValue:l});return this.data(Y({value:f},d)),"number"==typeof f?("number"!=typeof a||f>=a)&&("number"!=typeof o||f<=o):void 0},"inserted-into-focus-order-matches":Vv,"internal-link-present-evaluate":zg,"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var o,i=ig(r.children);i.length;){var u,l=i.shift(),s=l.vChild,c=l.nested;if(!t.divGroups||c||("div"!==(o=s).props.nodeName||null!==cu(o))){var d=og(s,c,t);d&&(a.includes(d)||a.push(d),1===(null==s||null===(u=s.actualNode)||void 0===u?void 0:u.nodeType)&&n.push(s.actualNode))}else{if(!s.children)return;var p=ig(s.children,!0);i.push.apply(i,G(p))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":Ah,"is-element-focusable-evaluate":kh,"is-initiator-matches":kv,"is-on-screen-evaluate":lv,"is-visible-matches":function(e){return Zo(e)},"is-visible-on-screen-matches":function(e,t){return Zo(t)},"label-content-name-mismatch-evaluate":KD,"label-content-name-mismatch-matches":$v,"label-matches":Hv,"landmark-has-body-context-matches":Uv,"landmark-is-top-level-evaluate":PD,"landmark-is-unique-after":JD,"landmark-is-unique-evaluate":QD,"landmark-unique-matches":function(e,t){return function(e){var t=Um("landmark"),r=Vu(e);if(!r)return!1;var n=e.props.nodeName;if("header"===n||"footer"===n)return!ha(e,Gv);if("section"===n||"form"===n){return!!yl(e)}return t.indexOf(r)>=0||"region"===r}(t)&&Yu(t)},"layout-table-matches":Wv,"link-in-text-block-evaluate":gD,"link-in-text-block-matches":Yv,"link-in-text-block-style-evaluate":function(e){if(bD(e))return!1;for(var t=Uo(e);t&&1===t.nodeType&&!bD(t);)t=Uo(t);if(t){if(this.relatedNodes([t]),Ih(e,t))return!0;if(!function(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t];if("none"!==i.getComputedStyle(e,":".concat(n)).getPropertyValue("content"))return!0}return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,o=cu(n);return!!["presentation","none","list"].includes(o)||(o&&su(o)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":xD,"meta-refresh-evaluate":function(e,t,r){var n=t||{},a=n.minDelay,o=n.maxDelay,i=K((r.attr("content")||"").trim().split(Vg),1)[0];if(!i.match($g))return!0;var u=parseFloat(i);return this.data({redirectDelay:u}),"number"==typeof a&&u<=t.minDelay||"number"==typeof o&&u>t.maxDelay},"meta-viewport-scale-evaluate":mg,"multiple-label-evaluate":XD,"nested-interactive-matches":Kv,"no-autoplay-audio-evaluate":pg,"no-autoplay-audio-matches":Xv,"no-empty-role-matches":Zv,"no-explicit-name-required-matches":Jv,"no-focusable-content-evaluate":function(e,t,r){if(r.children)try{var n=LD(r);if(!n.length)return!0;var a=n.filter(jD);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":Nh,"no-naming-method-matches":Qv,"no-negative-tabindex-matches":eb,"no-role-matches":tb,"non-empty-if-present-evaluate":sv,"not-html-matches":rb,"object-is-loaded-matches":function(e,t){return[Jv,nb].every((function(r){return r(e,t)}))},"only-dlitems-evaluate":function(e,t,r){var n=["definition","term","list"],a=r.children.reduce((function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===Vu(r)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&Yu(r)){var o=cu(r);("DT"!==a&&"DD"!==a||o)&&(n.includes(o)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e}),{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":ug,"p-as-heading-evaluate":Wg,"p-as-heading-matches":ab,"page-no-duplicate-after":AD,"page-no-duplicate-evaluate":kD,"presentation-role-conflict-matches":ob,"presentational-role-evaluate":function(e,t,r){var n=cu(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var a=Vu(r);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(n))return!1;var o,i=pu().some((function(e){return r.hasAttr(e)})),u=Gi(r);return o=i&&!u?"globalAria":!i&&u?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":Yg,"region-evaluate":function(e,t,r){return this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)}),!Wn.get("regionlessNodes",(function(){return function(e){var t=Xg(c._tree[0],e).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==l.body;)e=e.parent;return e})).filter((function(e,t,r){return r.indexOf(e)===t}));return t}(t)})).includes(r)},"same-caption-summary-evaluate":fv,"scope-value-evaluate":hv,"scrollable-region-focusable-matches":function(e,t){return void 0!==Af(e,13)&&!1===th(t)&&sm(t,"*").some((function(e){return Ll(e,!0,!0)}))},"skip-link-evaluate":Zg,"skip-link-matches":ib,"structured-dlitems-evaluate":lg,"svg-namespace-matches":jv,"svg-non-empty-title-evaluate":cv,"tabindex-evaluate":qD,"table-or-grid-role-matches":function(e,t){var r=Vu(t);return["treegrid","grid","table"].includes(r)},"target-offset-evaluate":function(e,t,r){var n,a,o=(null==t?void 0:t.minOffset)||24,i=[],u=o,l=re(ki(r,o));try{for(l.s();!(n=l.n()).done;){var s=n.value;if("widget"===Gl(s)&&Gi(s)){var c=2*(a=ii(r,s,o/2),Math.round(10*a)/10);c+.05>=o||(u=Math.min(u,c),i.push(s))}}}catch(e){l.e(e)}finally{l.f()}return 0===i.length?(this.data({closestOffset:u,minOffset:o}),!0):(this.relatedNodes(i.map((function(e){return e.actualNode}))),i.some(Wi)?(this.data({closestOffset:u,minOffset:o}),!Wi(r)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:u,minOffset:o}))},"target-size-evaluate":function(e,t,r){var n=(null==t?void 0:t.minSize)||24,a=r.boundingClientRect,o=oi.bind(null,n),i=ki(r),u=function(e,t){return t.filter((function(t){return!hg(t,e)&&vg(e,t)}))}(r,i),l=function(e,t){var r,n=[],a=[],o=re(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;!vg(e,i)&&si(e,i)&&"none"!==Dg(i)&&(hg(e,i)?n.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:n,partialObscuringElms:a}}(r,i),s=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&!u.length)return this.relatedNodes(bg(s)),this.data({messageKey:"obscured"}),!0;var d=!Wi(r)&&void 0;if(!o(a)&&!u.length)return this.data(Y({minSize:n},gg(a))),d;var p=c.filter((function(e){return"widget"===Gl(e)&&Gi(e)})),f=function(e,t){var r=e.boundingClientRect;if(0===t.length)return null;var n=t.map((function(e){return e.boundingClientRect})),a=ci(r,n);return function(e,t){return e.reduce((function(e,r){var n=oi(t,e);return n!==oi(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r}))}(a)}(r,p);if(u.length&&(s.length||!o(f||a)))return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(bg(u));if(0!==p.length&&!o(f)){var m=p.every(Wi),h="partiallyObscured".concat(m?"":"NonTabbable");return this.data(Y({messageKey:h,minSize:n},gg(f))),this.relatedNodes(bg(p)),m?d:void 0}return this.data(Y({minSize:n},gg(f||a))),this.relatedNodes(bg(p)),!0},"td-has-header-evaluate":Dv,"td-headers-attr-evaluate":function(e){for(var t=[],r=[],n=[],a=0;a<e.rows.length;a++)for(var o=e.rows[a],i=0;i<o.cells.length;i++)t.push(o.cells[i]);var u=t.filter((function(e){return e.getAttribute("id")})).map((function(e){return e.getAttribute("id")}));return t.forEach((function(e){var t=!1,a=!1;if(e.hasAttribute("headers")&&Yu(e)){var o=e.getAttribute("headers").trim();if(!o)return r.push(e);var i=Ip(o);0!==i.length&&(e.getAttribute("id")&&(t=-1!==i.indexOf(e.getAttribute("id").trim())),a=i.some((function(e){return!u.includes(e)})),(t||a)&&n.push(e))}})),n.length>0?(this.relatedNodes(n),!1):!r.length||void this.relatedNodes(r)},"th-has-data-cells-evaluate":gv,"title-only-evaluate":ZD,"unique-frame-title-after":Jg,"unique-frame-title-evaluate":Qg,"unsupportedrole-evaluate":_h,"valid-lang-evaluate":rg,"valid-scrollable-semantics-evaluate":Rh,"widget-not-inline-matches":function(e,t){return ub.every((function(r){return r(e,t)}))},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":ng,"xml-lang-mismatch-matches":function(e){var t=Gp(e.getAttribute("lang")),r=Gp(e.getAttribute("xml:lang"));return Cm(t)&&Cm(r)}},db=cb;var pb=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function fb(e){if("string"==typeof e){if(db[e])return db[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function mb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==s(e))&&(e={value:e}),e}function hb(e){e&&(this.id=e.id,this.configure(e))}hb.prototype.enabled=!0,hb.prototype.run=function(e,t,r,n,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,l=new pb(this),s=Jn(l,t,n,a);try{u=this.evaluate.call(s,e.actualNode,i,e,r)}catch(t){return e&&e.actualNode&&(t.errorNode=uo.toSpec(e)),void a(t)}s.isAsync||(l.result=u,n(l))}else n(null)},hb.prototype.runSync=function(e,t,r){var n=(t=t||{}).enabled;if(!(void 0===n?this.enabled:n))return null;var a,o=this.getOptions(t.options),i=new pb(this),u=Jn(i,t);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,o,e,r)}catch(t){throw e&&e.actualNode&&(t.errorNode=uo.toSpec(e)),t}return i.result=a,i},hb.prototype.configure=function(e){var t=this;e.evaluate&&!db[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=mb(e.options):this.options=e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(r){return t[r]=fb(e[r])}))},hb.prototype.getOptions=function(e){return this._internalCheck?ho(this.options,mb(e||{})):e||this.options};var Db=hb;var gb=function(e){this.id=e.id,this.result=Yr.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function vb(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(pn(Yr.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=fb(e.matches))}function bb(e){if(e.length){var t=!1,r={};return e.forEach((function(e){var n=e.results.filter((function(e){return e}));r[e.type]=n,n.length&&(t=!0)})),t?r:null}}vb.prototype.matches=function(){return!0},vb.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&Yf.mark(r);var i=mm(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&Yf.mark(a),i=i.filter((function(e){return Yu(e)})),t.performanceTimer&&(Yf.mark(o),Yf.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(Yf.mark(n),Yf.measure("rule_"+this.id+"#gather",r,n)),i},vb.prototype.runChecks=function(e,t,r,n,a,o){var i=this,u=wa();this[e].forEach((function(e){var a=i._audit.checks[e.id||e],o=rf(a,i.id,r);u.defer((function(e,r){a.run(t,o,n,e,r)}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(o)},vb.prototype.runChecksSync=function(e,t,r,n){var a=this,o=[];return this[e].forEach((function(e){var i=a._audit.checks[e.id||e],u=rf(i,a.id,r);o.push(i.runSync(t,u,n))})),{type:e,results:o=o.filter((function(e){return e}))}},vb.prototype.run=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r.performanceTimer&&this._trackPerformance();var o,i=wa(),u=new gb(this);try{o=this.gatherAndMatchNodes(e,r)}catch(e){return void a(new d({cause:e,ruleId:this.id}))}r.performanceTimer&&this._logGatherPerformance(o),o.forEach((function(n){i.defer((function(a,o){var i=wa();["any","all","none"].forEach((function(a){i.defer((function(o,i){t.runChecks(a,n,r,e,o,i)}))})),i.then((function(e){var r=bb(e);r&&(r.node=new Zn(n),u.nodes.push(r),t.reviewOnFail&&(["any","all"].forEach((function(e){r[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),r.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),a()})).catch((function(e){return o(e)}))}))})),i.defer((function(e){return setTimeout(e,0)})),r.performanceTimer&&this._logRulePerformance(),i.then((function(){return n(u)})).catch((function(e){return a(e)}))},vb.prototype.runSync=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.performanceTimer&&this._trackPerformance();var n,a=new gb(this);try{n=this.gatherAndMatchNodes(e,r)}catch(e){throw new d({cause:e,ruleId:this.id})}return r.performanceTimer&&this._logGatherPerformance(n),n.forEach((function(n){var o=[];["any","all","none"].forEach((function(a){o.push(t.runChecksSync(a,n,r,e))}));var i=bb(o);i&&(i.node=n.actualNode?new Zn(n):null,a.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach((function(e){i[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),i.none.forEach((function(e){!0===e.result&&(e.result=void 0)}))))})),r.performanceTimer&&this._logRulePerformance(),a},vb.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},vb.prototype._logGatherPerformance=function(e){Kr("gather (",e.length,"):",Yf.timeElapsed()+"ms"),Yf.mark(this._markChecksStart)},vb.prototype._logRulePerformance=function(){Yf.mark(this._markChecksEnd),Yf.mark(this._markEnd),Yf.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Yf.measure("rule_"+this.id,this._markStart,this._markEnd)},vb.prototype.gatherAndMatchNodes=function(e,t){var r=this,n="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&Yf.mark(n),o=o.filter((function(t){return r.matches(t.actualNode,t,e)})),t.performanceTimer&&(Yf.mark(a),Yf.measure("rule_"+this.id+"#matches",n,a)),o},vb.prototype.after=function(e,t){var r,n=this,a=lo(r=this).map((function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null})).filter(Boolean),o=this.id;return a.forEach((function(r){var a,i,u,l=(a=e.nodes,i=r.id,u=[],a.forEach((function(e){lo(e).forEach((function(t){t.id===i&&(t.node=e.node,u.push(t))}))})),u),s=rf(r,o,t),c=r.after(l,s.options);n.reviewOnFail&&c.forEach((function(e){var t=(n.any.includes(e.id)||n.all.includes(e.id))&&!1===e.result,r=n.none.includes(e.id)&&!0===e.result;(t||r)&&(e.result=void 0)})),l.forEach((function(e){delete e.node,-1===c.indexOf(e)&&(e.filtered=!0)}))})),e.nodes=function(e){var t=["any","all","none"],r=e.nodes.filter((function(e){var r=0;return t.forEach((function(t){e[t]=e[t].filter((function(e){return!0!==e.filtered})),r+=e[t].length})),r>0}));return e.pageLevel&&r.length&&(r=[r.reduce((function(e,r){if(e)return t.forEach((function(t){e[t].push.apply(e[t],r[t])})),e}))]),r}(e),e},vb.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=fb(e.matches)),e.impact&&(pn(Yr.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var yb=ue($t()),Fb=/\{\{.+?\}\}/g,wb=function(){function e(t){J(this,e),this.lang="en",this.defaultConfig=t,this.standards=uu,this._init(),this._defaultLocale=null}return ee(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),r=0;r<t.length;r++){var n=t[r],a=this.data.checks[n].messages,o=a.pass,i=a.fail,u=a.incomplete;e.checks[n]={pass:o,fail:i,incomplete:u}}for(var l=Object.keys(this.data.rules),s=0;s<l.length;s++){var c=l[s],d=this.data.rules[c],p=d.description,f=d.help;e.rules[c]={description:p,help:f}}for(var m=Object.keys(this.data.failureSummaries),h=0;h<m.length;h++){var D=m[h],g=this.data.failureSummaries[D].failureMessage;e.failureSummaries[D]={failureMessage:g}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.checks[n])throw new Error('Locale provided for unknown check: "'.concat(n,'"'));this.data.checks[n]=Ab(this.data.checks[n],e[n])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.rules[n])throw new Error('Locale provided for unknown rule: "'.concat(n,'"'));this.data.rules[n]=kb(this.data.rules[n],e[n])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.failureSummaries[n])throw new Error('Locale provided for unknown failureMessage: "'.concat(n,'"'));this.data.failureSummaries[n]=Nb(this.data.failureSummaries[n],e[n])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=_b(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=Cb();this.allowedOrigins=[];var r,n=re(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===Yr.allOrigins)return void(this.allowedOrigins=["*"]);a!==Yr.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){n.e(e)}finally{n.f()}}},{key:"_init",value:function(){var e=function(e){var t;e?(t=Qn(e)).commons=e.commons:t={};if(t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var r=Cb();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Y({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,xb(e.rules,this,"addRule"),xb(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new vb(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===s(t)&&(this.data.checks[e.id]=t,"object"===s(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new Db(e)}},{key:"run",value:function(e,t,r,n){this.normalizeOptions(t),Zn.setRunOptions(t),c._selectCache=[];var a=function(e,t,r){var n={now:[],later:[]},a=e.reduce((function(e,n){return dm(n,t,r)?n.preload?(e.later.push(n),e):(e.now.push(n),e):e}),n);return a}(this.rules,e,t),o=a.now,i=a.later,u=wa();o.forEach((function(r){u.defer(Tb(r,e,t))}));var l=wa();i.length&&l.defer((function(e){am(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)}))}));var s=wa();s.defer(u),s.defer(l),s.then((function(a){var o=a.pop();if(o&&o.length){var u=o[0];u&&(e=Y({},e,u))}var l=a[0];if(!i.length)return c._selectCache=void 0,void r(l.filter((function(e){return!!e})));var s=wa();i.forEach((function(r){var n=Tb(r,e,t);s.defer(n)})),s.then((function(e){c._selectCache=void 0,r(l.concat(e).filter((function(e){return!!e})))})).catch(n)})).catch(n)}},{key:"after",value:function(e,t){var r=this.rules;return e.map((function(e){var n=so(r,"id",e.id);if(!n)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");return n.after(e,t)}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],r=[];if(this.rules.forEach((function(e){r.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),["object","string"].includes(s(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var n=e.runOnly.find((function(e){return t.includes(e)})),a=e.runOnly.find((function(e){return r.includes(e)}));if(n&&a)throw new Error("runOnly cannot be both rules and tags");e.runOnly=a?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var o=e.runOnly;if(o.value&&!o.values&&(o.values=o.value,delete o.value),!Array.isArray(o.values)||0===o.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(o.type))o.type="rule",o.values.forEach((function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(o.type))throw new Error("Unknown runOnly type '".concat(o.type,"'"));o.type="tag";var i=o.values.filter((function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)}));0!==i.length&&c.log("Could not find tags `"+i.join("`, `")+"`")}}return"object"===s(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(n){e.data.rules[n.id]||(e.data.rules[n.id]={});var a=e.data.rules[n.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===Bb(t,n.id,r))&&(a.helpUrl=Bb(e,n.id,r))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),e}(),Eb=wb;function Cb(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function xb(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n])}var Ab=function(e,t){var r=t.pass,n=t.fail;return"string"==typeof r&&Fb.test(r)&&(r=yb.default.compile(r)),"string"==typeof n&&Fb.test(n)&&(n=yb.default.compile(n)),Y({},e,{messages:{pass:r||e.messages.pass,fail:n||e.messages.fail,incomplete:"object"===s(e.messages.incomplete)?Y({},e.messages.incomplete,t.incomplete):t.incomplete}})},kb=function(e,t){var r=t.help,n=t.description;return"string"==typeof r&&Fb.test(r)&&(r=yb.default.compile(r)),"string"==typeof n&&Fb.test(n)&&(n=yb.default.compile(n)),Y({},e,{help:r||e.help,description:n||e.description})},Nb=function(e,t){var r=t.failureMessage;return"string"==typeof r&&Fb.test(r)&&(r=yb.default.compile(r)),Y({},e,{failureMessage:r||e.failureMessage})},_b=function(e,t){return"string"==typeof t&&Fb.test(t)&&(t=yb.default.compile(t)),t||e};function Tb(e,t,r){return r.performanceTimer&&Yf.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,(function(e){n(e)}),(function(t){if(r.debug)a(t);else{var o=Object.assign(new gb(e),{result:Yr.CANTTELL,description:"An error occured while running this rule",message:t.message,stack:t.stack,error:t,errorNode:t.errorNode});n(o)}}))}}function Bb(e,t,r){var n=e.brand,a=e.application,o=e.lang;return Yr.helpUrlBase+n+"/"+(r||c.version.substring(0,c.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(o&&"en"!==o?"&lang="+encodeURIComponent(o):"")}function Rb(e){var t=i&&"Node"in i&&"NodeList"in i,r=!!l;if(!t||!r){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(Wn.set("globalDocumentSet",!0),l=e.ownerDocument),t||(Wn.set("globalWindowSet",!0),i=l.defaultView)}}var Sb=function(){Wn.get("globalDocumentSet")&&(Wn.set("globalDocumentSet",!1),l=null),Wn.get("globalWindowSet")&&(Wn.set("globalWindowSet",!1),i=null),c._memoizedFns.forEach((function(e){return e.clear()})),Wn.clear(),c._tree=void 0,c._selectorData=void 0,c._selectCache=void 0};function Ob(e,t,r,n){try{e=new wf(e),c._tree=e.flatTree,c._selectorData=On(e.flatTree)}catch(e){return Sb(),n(e)}var a=wa(),o=c._audit;t.performanceTimer&&Yf.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(r,n){fo(e,t,"rules",null,r,n)})),a.defer((function(r,n){o.run(e,t,r,n)})),a.then((function(a){try{t.performanceTimer&&Yf.auditEnd();var i=po(a.map((function(e){return{results:e}})));e.initiator&&((i=o.after(i,t)).forEach(um),i=i.map(un));try{r(i,Sb)}catch(e){Sb(),Kr(e)}}catch(e){Sb(),n(e)}})).catch((function(e){Sb(),n(e)}))}function Mb(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){c._audit.registerCommand(e)}))}i.top!==i&&(eo.subscribe("axe.start",(function(e,t,r){var n=r,a=function(e){e instanceof Error==0&&(e=new Error(e)),r(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[l]);var i=e&&e.options||{};switch(e.command){case"rules":return Ob(o,i,(function(e,t){e=uo.mapRawResults(e),n(e),t()}),a);case"cleanup-plugin":return Tm(n,a);default:if(c._audit&&c._audit.commands&&c._audit.commands[e.command])return c._audit.commands[e.command](e,r)}})),eo.subscribe("axe.ping",(function(e,t,r){r({axe:!0})}))),Mb.prototype.run=function(){return this._run.apply(this,arguments)},Mb.prototype.collect=function(){return this._collect.apply(this,arguments)},Mb.prototype.cleanup=function(e){var t=c.utils.queue(),r=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){r._registry[e].cleanup(t)}))})),t.then(e)},Mb.prototype.add=function(e){this._registry[e.id]=e};var Ib=function(e){c.plugins[e.id]=new Mb(e)};var Pb=function(){var e=c._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(iu).forEach((function(e){iu[e]=ou[e]}))};function Lb(e){var t,r,n,a,o=K(e,3),i=o[0],u=o[1],d=o[2],p=new TypeError("axe.run arguments are invalid");if(!df(a=i)&&!pf(a)){if(void 0!==d)throw p;d=u,u=i,i=l}if("object"!==s(u)){if(void 0!==d)throw p;d=u,u={}}if("function"!=typeof d&&void 0!==d)throw p;return(u=Qn(u)).reporter=null!==(t=null!==(r=u.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",{context:i,options:u,callback:d}}var jb=function(){};function qb(e){var t=e.frames,r=e.frameSpec;return r?t.map((function(e){return uo.mergeSpecs(e,r)})):t}var zb=function(e){if(c._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===s(e.documentElement)&&"object"===s(e.defaultView)&&(e=e.documentElement),Rb(e),c._tree=$p(e),c._selectorData=On(c._tree),c._tree[0]},Vb=function(e,t,r){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,A);r(Y({},nf(a),{toolOptions:o},Xp(e,t)))},$b=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,k);t.resultTypes=["violations"];var i=Xp(e,t).violations;r(Y({},nf(a),{toolOptions:o,violations:i}))},Hb=function(e,t,r){if("function"==typeof t&&(r=t,t={}),!e||!Array.isArray(e))return r(e);r(e.map((function(e){for(var t=Y({},e),r=0,n=["passes","violations","incomplete","inapplicable"];r<n.length;r++){var a=n[r];t[a]=uo.mapRawNodeResults(t[a])}return t})))},Ub=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,N);Hb(e,o,(function(e){var t=nf(a);r({raw:e,env:t})}))},Gb=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,_),i=Xp(e,t),u=function(e){e.nodes.forEach((function(e){e.failureSummary=Wp(e)}))};i.incomplete.forEach(u),i.violations.forEach(u),r(Y({},nf(a),{toolOptions:o},i))},Wb=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,T),i=Xp(e,t);r(Y({},nf(a),{toolOptions:o},i))},Yb={base:{Audit:Eb,CheckResult:pb,Check:Db,Context:wf,RuleResult:gb,Rule:vb,metadataFunctionMap:db},public:{reporters:Bm},helpers:{failureSummary:Wp,incompleteFallbackMessage:Yp,processAggregate:Xp},utils:{setDefaultFrameMessenger:Ja,cacheNodeSelectors:Vp,getNodesMatchingExpression:Lp,convertSelector:pa},commons:{dom:{nativelyHidden:To,displayHidden:Bo,visibilityHidden:Ro,contentVisibiltyHidden:So,ariaHidden:Oo,opacityHidden:Mo,scrollHidden:Io,overflowHidden:Po,clipHidden:Lo,areaHidden:jo,detailsHidden:qo}}};c._thisWillBeDeletedDoNotUse=Yb,c.constants=Yr,c.log=Kr,c.AbstractVirtualNode=Zr,c.SerialVirtualNode=Nm,c.VirtualNode=Op,c._cache=Wn,c.imports=as,c.cleanup=Tm,c.configure=Om,c.frameMessenger=function(e){eo.updateMessenger(e)},c.getRules=Mm,c._load=function(e){c._audit=new Eb(e)},c.plugins={},c.registerPlugin=Ib,c.hasReporter=Rm,c.getReporter=Sm,c.addReporter=function(e,t,r){Bm[e]=t,r&&(_m=t)},c.reset=Pb,c._runRules=Ob,c.runVirtualRule=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.reporter=r.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof Zr||(t=new Nm(t));var n=Cf(e);if(!n)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(n=Object.create(n,{excludeHidden:{value:!1}})).runSync(a,r);um(o),un(o);var i=cn([o]);return i.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=Wp(e)}))})),Y({},nf(),i,{toolOptions:r})},c.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Rb(t[0]);var n=Lb(t),a=n.context,o=n.options,i=n.callback,u=void 0===i?jb:i,l=function(e){var t,r,n;"function"==typeof Promise&&e===jb?t=new Promise((function(e,t){r=t,n=e})):(n=function(t){return e(null,t)},r=function(t){return e(t)});return{thenable:t,reject:r,resolve:n}}(u),s=l.thenable,d=l.resolve,p=l.reject;try{pn(c._audit,"No audit configured"),pn(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"==typeof t&&t!==jb)return void t(e.message);throw e}(e,u)}return c._running=!0,o.performanceTimer&&c.utils.performanceTimer.start(),c._runRules(a,o,(function(e,t){var r=function(e){c._running=!1,t();try{p(e)}catch(e){c.log(e)}};o.performanceTimer&&c.utils.performanceTimer.end();try{!function(e,t,r,n){var a=Sm(t.reporter),o=a(e,t,r,n);void 0!==o&&r(o)}(e,o,(function(e){c._running=!1,t();try{d(e)}catch(e){c.log(e)}}),r)}catch(e){r(e)}}),(function(e){o.performanceTimer&&c.utils.performanceTimer.end(),c._running=!1,u(e),p(e)})),s},c.setup=zb,c.teardown=Sb,c.runPartial=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Lb(t),a=n.options,o=n.context;pn(c._audit,"Axe is not configured. Audit is missing."),pn(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var i=new wf(o,c._tree);return c._tree=i.flatTree,c._selectorData=On(i.flatTree),c._running=!0,a.elementRef=!1,new Promise((function(e,t){c._audit.run(i,a,e,t)})).then((function(e){e=uo.mapRawResults(e);var t,r=i.frames.map((function(e){var t=e.node;return uo.toSpec(t)}));return i.initiator&&(t=nf()),c._running=!1,Sb(),{results:e,frames:r,environmentData:t}})).catch((function(e){return c._running=!1,Sb(),Promise.reject(e)}))},c.finishRun=function(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=Qn(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(r=a.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",function(e){var t,r=[],n=re(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=r.shift();if(a){a.frameSpec=null!=o?o:null;var i=qb(a);r.unshift.apply(r,G(i))}}}catch(e){n.e(e)}finally{n.f()}}(e);var i=po(e);return(i=c._audit.after(i,a)).forEach(um),function(e,t){return new Promise((function(r,n){Sm(t.reporter)(e,t,r,n)}))}(i=i.map(un),Y({environmentData:o},a))},c.commons=kg,c.utils=Jr,c.addReporter("na",Vb),c.addReporter("no-passes",$b),c.addReporter("rawEnv",Ub),c.addReporter("raw",Hb),c.addReporter("v1",Gb),c.addReporter("v2",Wb,!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensures <area> elements of image maps have alternate text",help:"Active <area> elements must have alternate text"},"aria-allowed-attr":{description:"Ensures an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensures ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensures elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensures aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensures aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensures ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensures role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensures <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensures buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensures <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensures <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensures each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensures every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensures every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensures every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensures headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensures table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensures elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensures form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensures <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensures <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensures <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensures <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensures the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Informs users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensures every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensures the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensures <img> elements have alternate text or a role of none or presentation",help:"Images must have alternate text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensures input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensures <input type="image"> elements have alternate text',help:"Image buttons must have alternate text"},"label-content-name-mismatch":{description:"Ensures that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensures that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensures every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensures the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensures the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensures the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensures the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensures the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensures the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensures the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensures the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{help:"Ensures landmarks are unique",description:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensures links have discernible text",help:"Links must have discernible text"},list:{description:"Ensures that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensures <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensures <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensures <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensures <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensures <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensures <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensures <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensures <object> elements have alternate text",help:"<object> elements must have alternate text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Elements marked as presentational should not have global ARIA or tabindex to ensure all screen readers ignore them",help:"Ensure elements marked as presentational are consistently ignored"},region:{description:"Ensures all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensures [role="img"] elements have alternate text',help:'[role="img"] elements must have an alternative text'},"scope-attr-valid":{description:"Ensures the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensures select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensures that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"svg-img-alt":{description:"Ensures <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",help:"<svg> elements with an img role must have an alternative text"},tabindex:{description:"Ensures tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch target have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",help:"Table cells that use the headers attribute must only refer to cells in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensures lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensures <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"ensure aria-errormessage value `${data.values}` references an existing element",plural:"ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:"Required ARIA children are present",fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"the autocomplete value is on an appropriate element",fail:"the autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted"}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Form element has an explicit <label>",fail:"Form element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Form element has an implicit (wrapped) <label>",fail:"Form element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped} <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item does not have a <ul>, <ol> parent element without a role, or a role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions is available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable"},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other cells in the table",incomplete:"The headers attribute is empty",fail:"The headers attribute is not exclusively used to refer to other cells in the table"}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"}],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"},"aria-busy"],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html, frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]), html[xml\\:lang]:not([xml\\:lang=""])',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"critical",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice"],all:[],any:["skip-link"],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate"},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this)}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,__webpack_require__),a.loaded=!0,a.exports}__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";__webpack_require__(609);const e={id:"element_with_underline",evaluate(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("text-decoration"),n=t.getPropertyValue("text-decoration-line");return r.includes("underline")||n.includes("underline")}},t={id:"element_is_u_tag",evaluate:e=>e.tagName&&"u"===e.tagName.toLowerCase()},r={id:"paragraph_not_empty",evaluate:e=>"p"!==e.tagName.toLowerCase()||(!(!e.getAttribute("aria-hidden")||"true"!==e.getAttribute("aria-hidden").toLowerCase())||(!(!e.childNodes.length||!Array.from(e.childNodes).some((e=>3!==e.nodeType)))||""!==e.textContent.trim()))},n=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return 0;const t=parseFloat(window.getComputedStyle(e).fontSize);return"number"==typeof t?t:0},a=e=>(e||"").trim().toLowerCase().replace(/\s+/g," ");class o extends Map{set(e,t){return super.set("string"==typeof e?e.toLowerCase():e,t)}get(e){return super.get("string"==typeof e?e.toLowerCase():e)}has(e){return super.has("string"==typeof e?e.toLowerCase():e)}delete(e){return super.delete("string"==typeof e?e.toLowerCase():e)}}const i={id:"paragraph_styled_as_header",evaluate:e=>{const t=n(e);if(!e.textContent.trim())return!1;if(e.textContent.trim().length>50||t<16)return!1;if(t>=20)return!0;const r=window.getComputedStyle(e),a=r.getPropertyValue("font-weight"),o=["bold","bolder","700","800","900"].includes(a),i=r.getPropertyValue("font-style"),u=["italic","oblique"].includes(i);let l=!1;return e.querySelectorAll("b, strong, i, em").forEach((t=>{t.textContent===e.textContent&&(l=!0)})),!!(o||u||l)}},u={id:"text_size_too_small",evaluate:e=>{if(!e.textContent.trim().length)return!1;const t=Array.from(e.childNodes).some((e=>e.nodeType===Node.TEXT_NODE));return!(e.childNodes.length&&!t)&&n(e)<=10}},l={id:"text_justified",selector:"p, span, small, strong, b, i, em, h1, h2, h3, h4, h5, h6, a, label, button, th, td, li, div, blockquote, address, cite, q, s, sub, sup, u, del, caption, dt, dd, figcaption, summary, data, time",matches:e=>e.textContent.trim().length>=200,tags:["wcag2aaa","wcag148","cat.text","custom"],metadata:{description:"Text elements inside containers should not be justified."},all:[],any:[],none:["text_is_justified"]},s={id:"text_is_justified",evaluate:e=>"justify"===window.getComputedStyle(e).textAlign.toLowerCase()},c=wp.i18n,d=[(0,c.__)("new window","accessibility-checker"),(0,c.__)("new tab","accessibility-checker"),(0,c.__)("new document","accessibility-checker")],p={id:"link_target_blank_without_informing",evaluate:e=>{if("a"!==e.tagName.toLowerCase()||"_blank"!==e.getAttribute("target"))return!1;if(f(e.textContent))return!1;if(e.hasAttribute("aria-label")&&f(e.getAttribute("aria-label")))return!1;if(e.hasAttribute("aria-labelledby")){const t=document.getElementById(e.getAttribute("aria-labelledby"));if(t&&f(t.textContent))return!1}const t=e.querySelectorAll("img");for(const e of t)if(f(e.getAttribute("alt")))return!1;return!0}},f=e=>!!e&&d.some((t=>e.toLowerCase().includes(t))),m=[(0,c.__)("click","accessibility-checker"),(0,c.__)("click here","accessibility-checker"),(0,c.__)("here","accessibility-checker"),(0,c.__)("go here","accessibility-checker"),(0,c.__)("more","accessibility-checker"),(0,c.__)("more...","accessibility-checker"),(0,c.__)("more…","accessibility-checker"),(0,c.__)("details","accessibility-checker"),(0,c.__)("more details","accessibility-checker"),(0,c.__)("link","accessibility-checker"),(0,c.__)("this page","accessibility-checker"),(0,c.__)("continue","accessibility-checker"),(0,c.__)("continue reading","accessibility-checker"),(0,c.__)("read more","accessibility-checker"),(0,c.__)("open","accessibility-checker"),(0,c.__)("download","accessibility-checker"),(0,c.__)("button","accessibility-checker"),(0,c.__)("keep reading","accessibility-checker"),(0,c.__)("learn more","accessibility-checker"),(0,c.__)("opens a new window","accessibility-checker")],h=e=>!!e&&(e=e.toLowerCase().replace(/[^a-z]+/g," ").trim(),m.includes(e)),D={id:"has_ambiguous_text",evaluate:e=>{if(e.hasAttribute("aria-label")){const t=e.getAttribute("aria-label");return h(t)}if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby"),r=document.getElementById(t)?.textContent;return h(r)}if(e.textContent&&""!==e.textContent)return h(e.textContent);const t=e.querySelectorAll("img");for(const e of t){const t=e.getAttribute("alt");if(h(t))return!0}return!1}},g={id:"anchor_exists",evaluate:e=>{const t=e.getAttribute("href").slice(1);if(""===t)return!0;const r=`#${CSS.escape(t)}`;if(null!==document.querySelector(r))return!0;return null!==document.querySelector(`a[name="${CSS.escape(t)}"]`)}},v={id:"link_ms_office_file",selector:[".doc",".docx",".xls",".xlsx",".ppt",".pptx",".pps",".ppsx"].map((e=>`a[href$="${e}"], a[href$="${e.toUpperCase()}"], a[href*="${e}?"], a[href*="${e.toUpperCase()}?"], a[href*="${e}#"], a[href*="${e.toUpperCase()}#"]`)).join(", "),excludeHidden:!1,tags:["cat.custom"],metadata:{description:"Links to MS Office documents typically should be checked."},all:[],any:["always-fail"],none:[]},b=["screen-reader-text","sr-only","show-for-sr","visuallyhidden","visually-hidden","hidden-visually","invisible","accessibly-hidden","hide","hidden"],y={id:"aria_hidden_valid_usage",evaluate:e=>{const t=window.getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility)return!0;if(e.classList.contains("wp-block-spacer"))return!0;const r=e.getAttribute("role");if(r?.split(/\s+/).includes("presentation"))return!0;const n=e.parentElement;if(!n)return!1;const a=window.getComputedStyle(n);if("none"===a.display||"hidden"===a.visibility)return!0;if(["button","a"].includes(n.tagName.toLowerCase())){if(n.hasAttribute("aria-label")&&n.getAttribute("aria-label").trim()||n.hasAttribute("aria-labelledby")&&document.getElementById(n.getAttribute("aria-labelledby")))return!0;for(const t of n.childNodes)if(t!==e){if(t.nodeType===Node.TEXT_NODE&&t.textContent.trim())return!0;if(t.nodeType===Node.ELEMENT_NODE&&!t.hasAttribute("aria-hidden")){const e=window.getComputedStyle(t);if("none"!==e.display&&"hidden"!==e.visibility&&t.textContent.trim())return!0}}}const o=Array.from(n.children);for(const t of o)if(t!==e)for(const e of b)if(t.classList.contains(e)||t.className.toLowerCase().includes(e))return!0;return!1}};function F(e,t){const r=e.getAttribute(t)||"";if(!r.trim())return!1;const n=r.split(/\s+/).filter((e=>e.trim()));return 0===n.length||n.every((e=>null!==document.getElementById(e)))}const w={id:"aria_label_not_found",evaluate:e=>F(e,"aria-labelledby")},E={id:"aria_describedby_not_found",evaluate:e=>F(e,"aria-describedby")},C={id:"aria_owns_not_found",evaluate:e=>F(e,"aria-owns")},x={id:"table_has_headers",evaluate:e=>{if("table"!==e.nodeName.toLowerCase())return!0;const t=Array.from(e.querySelectorAll("tr"));if(0===t.length)return!0;if(t.every((e=>{const t=e.children[0];if(!t||"th"!==t.tagName.toLowerCase())return!1;const r=t.getAttribute("scope");return"row"===r||!r})))return!0;const r=e.querySelector("thead tr")||t.find((e=>e.querySelectorAll("th").length>0));if(!r)return!1;const n=r.querySelectorAll("th").length;if(0===n)return!1;let a=!1;for(const e of t){if(!a&&e===r){a=!0;continue}if(e.querySelectorAll("td").length>n)return!1}return!0}},A={id:"heading_is_empty",evaluate(e){const t=e.querySelectorAll('[aria-hidden="true"]'),r=e.cloneNode(!0);t.forEach((e=>{const t=Array.from(r.querySelectorAll("*")).find((t=>t.isEqualNode(e)));t&&t.remove()}));const n=r.textContent.trim(),a=n&&!/^[-_\s]*$/.test(n),o=e.getAttribute("aria-label"),i=o&&""!==o.trim(),u=e.querySelectorAll("img");let l=!1;for(let e=0;e<u.length;e++){const t=u[e].getAttribute("alt");if(t&&""!==t.trim()){l=!0;break}}const s=e.querySelectorAll("svg");let c=!1;for(let e=0;e<s.length;e++){const t=s[e].querySelector("title");if(t&&""!==t.textContent.trim()){c=!0;break}const r=s[e].getAttribute("aria-label");if(r&&""!==r.trim()){c=!0;break}}const d=e.getAttribute("aria-labelledby");let p=!1;if(d){const e=d.split(/\s+/);for(let t=0;t<e.length;t++){const r=document.getElementById(e[t]);if(r&&""!==r.textContent.trim()){p=!0;break}}}return a||i||l||c||p}},k=["youtube.com","youtu.be","vimeo.com"],N=/\.(3gp|asf|asx|avi|flv|m4a|m4p|mov|mp3|mp4|mpeg|mpeg2|mpg|mpv|ogg|oga|ogv|qtl|smi|smil|wav|wax|webm|wmv|wmp|wmx)(\?.*)?$/i,_={id:"has_transcript",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=e.getAttribute("href")||"",n=e.getAttribute("src")||"",a="a"===t&&N.test(r),o="iframe"===t&&k.some((e=>n.includes(e)));if(!("audio"===t||"video"===t||o||a))return!0;const i=function(e,t=250){let r="";e.previousElementSibling&&"noscript"!==e.previousElementSibling.nodeName.toLowerCase()&&(r+=e.previousElementSibling.textContent.trim()+" ");e.nextElementSibling&&"noscript"!==e.nextElementSibling.nodeName.toLowerCase()&&(r+=e.nextElementSibling.textContent.trim()+" ");if(!e.previousElementSibling&&!e.nextElementSibling&&e.parentElement){const t=e.parentElement;t.previousElementSibling&&"noscript"!==t.previousElementSibling.nodeName.toLowerCase()&&(r+=t.previousElementSibling.textContent.trim()+" "),t.nextElementSibling&&"noscript"!==t.nextElementSibling.nodeName.toLowerCase()&&(r+=t.nextElementSibling.textContent.trim()+" ")}const n=e.closest("figure");if(n){const e=n.querySelector("figcaption");e&&(r+=e.textContent.trim()+" "),r+=T(n.nextElementSibling,5)}let a=e.closest(".media-wrapper, figure, section, article");if(!a){let t=e.parentElement,r=0;for(;t&&r<3;){if(t.children.length>1||t.nextElementSibling||t.previousElementSibling){a=t;break}t=t.parentElement,r++}}if(a){r+=T(a.nextElementSibling,3);const n={acceptNode(e){const t=window.getComputedStyle(e.parentElement);return t&&"none"!==t.display&&"hidden"!==t.visibility?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}},o=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,n,!1);for(;o.nextNode();){const n=o.currentNode,a=n.textContent.trim();if(!e.contains(n)&&a.length&&(r+=a+" "),r.length>=t){const e=r.lastIndexOf(" ",t);-1!==e&&(r=r.substring(0,e));break}}}return r.toLowerCase().trim()}(e,350),u=["transcript","transcription","text version","written version"].some((e=>i.toLowerCase().includes(e))),l=e.getAttribute("aria-describedby"),s=l&&document.getElementById(l)?.textContent?.toLowerCase().includes("transcript");return!(!u&&!s)}};function T(e,t){let r="",n=e,a=0;for(;n&&a<t;){const e=n.textContent?.trim();e&&(r+=e+" "),n=n.nextElementSibling,a++}return r}const B={id:"button_is_empty",evaluate(e){const t=(e=>{const t=[];e.querySelectorAll('[aria-hidden="true"]').forEach((e=>{t.push(e.cloneNode(!0).textContent)})),Array.from(e.getElementsByTagName("*")).forEach((e=>{const r=window.getComputedStyle(e);"none"!==r.display&&"hidden"!==r.visibility||t.push(e.textContent)}));let r=e.textContent;return t.forEach((e=>{r=r.replace(e,"")})),r.trim()})(e);if(t&&t.length>0)return!1;const r=e.getAttribute("aria-label"),n=e.getAttribute("aria-description"),a=e.getAttribute("title");if(r||n||a)return!1;const o=e.getAttribute("aria-labelledby");if(o){const e=o.split(/\s+/);for(const t of e){const e=document.getElementById(t);if(e?.textContent?.trim())return!1}}const i=e.getAttribute("aria-describedby");if(i){const e=i.split(/\s+/);for(const t of e){const e=document.getElementById(t);if(e?.textContent?.trim())return!1}}const u=e.querySelectorAll("img");for(const e of u)if(e.getAttribute("alt")?.trim())return!1;if("input"===e.tagName.toLowerCase()&&e.getAttribute("value"))return!1;const l=e.querySelectorAll("i");for(const e of l)if(e.getAttribute("title")?.trim()||e.getAttribute("aria-label")?.trim()||e.getAttribute("aria-description")?.trim())return!1;const s=e.querySelectorAll("svg");for(const e of s)if(e.querySelector("title")?.textContent?.trim()||e.getAttribute("aria-label")?.trim()||e.getAttribute("aria-description")?.trim())return!1;return!0}},R=["slider","carousel","owl-carousel","soliloquy-container","n2-section-smartslider","metaslider","master-slider","rev_slider","royalSlider","wonderpluginslider","meteor-slides","flexslider","slick-slider","uagb-slick-carousel","swiper-container","flickity-slider","spacegallery","blueimp-gallery","seq-active","siema","keen-slider","bxslider","bx-wrapper","glide--slider"],S={id:"slider_detected",evaluate:e=>{const t=(e.getAttribute("class")||"").toLowerCase().split(/\s+/),r=R.some((e=>t.includes(e))),n=e.hasAttribute("data-jssor-slider")||e.hasAttribute("data-layerslider-uid");return!r&&!n}},O=[".3gp",".asf",".asx",".avi",".flv",".m4p",".mov",".mp4",".mpeg",".mpeg2",".mpg",".mpv",".ogg",".ogv",".qtl",".smi",".smil",".wax",".webm",".wmv",".wmp",".wmx"],M=["youtube","youtu.be","vimeo"],I=["video"],P={id:"is_video_detected",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=e.getAttribute("src")||"",n=e.getAttribute("data")||"",a=e.getAttribute("type")||"",o=e.getAttribute("role")||"";if("iframe"===t&&r){const e=r.toLowerCase();if(M.some((t=>e.includes(t))))return!0}const i=O.some((e=>{const t=r.toLowerCase(),a=n.toLowerCase();return t.endsWith(e)||t.includes(e+"?")||a.endsWith(e)||a.includes(e+"?")})),u=M.some((e=>r.toLowerCase().includes(e))),l=a.toLowerCase().startsWith("video/"),s=I.includes(o.toLowerCase());if("source"===t){const t=e.parentNode;if(t&&"video"===t.nodeName.toLowerCase())return!1;if(l||i)return!0}return!!("video"===t||i||u||l||s)}},L={id:"link-is-empty",evaluate(e){if(!e.hasAttribute("href"))return!1;if(e.hasAttribute("name"))return!1;if(Array.from(e.childNodes).some((e=>e.nodeType===Node.TEXT_NODE?""!==e.textContent.replace(/[\s\u00A0\-—_]/g,""):e.nodeType===Node.ELEMENT_NODE&&(!e.hasAttribute("aria-hidden")&&""!==e.textContent.replace(/[\s\u00A0\-—_]/g,"")))))return!1;if(e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label").trim())return!1;if(e.hasAttribute("title")&&""!==e.getAttribute("title").trim())return!1;if(e.hasAttribute("aria-labelledby")){if(e.getAttribute("aria-labelledby").split(" ").map((e=>document.getElementById(e))).filter(Boolean).some((e=>""!==e.textContent.trim())))return!1}const t=e.querySelectorAll("img");for(const e of t)if(e.hasAttribute("alt")&&""!==e.getAttribute("alt").trim())return!1;const r=e.querySelectorAll("input");for(const e of r)if(e.hasAttribute("value")&&""!==e.getAttribute("value").trim())return!1;const n=e.querySelectorAll("i");for(const e of n)if(e.hasAttribute("title")&&""!==e.getAttribute("title").trim()||e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label").trim())return!1;const a=e.querySelectorAll("svg");for(const e of a)if(e.querySelector("title"))return!1;return!0}},j=["apng","bmp","gif","ico","cur","jpg","jpeg","jfif","pjpeg","pjp","png","svg","tif","tiff","webp"],q={id:"longdesc_valid",evaluate:e=>{if("img"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("longdesc");if(null===t)return!0;if(""===t.trim())return!1;if(t.includes(":")){if(!/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(t))return!1}let r;try{r=new URL(t,document.baseURI)}catch{return!1}const n=r.pathname,a=n.endsWith("/")?"":n.split("/").pop();if(!a)return!1;const o=a.match(/\.([^.?#]+)(?:\?.*)?(?:#.*)?$/),i=o?o[1].toLowerCase():"";return!j.includes(i)}},z={id:"table_header_is_empty",evaluate(e){if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden"))return!0;if(""!==e.textContent.replace(/[\s\u00A0\-—_]/g,""))return!1;if(e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label")?.trim())return!1;if(e.hasAttribute("title")&&""!==e.getAttribute("title")?.trim())return!1;if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby")?.split(" "),r=t?.map((e=>document.getElementById(e))).filter(Boolean);if(r.some((e=>""!==e.textContent?.trim())))return!1}const t=e.querySelectorAll("img");for(const e of t)if(e.hasAttribute("alt")&&""!==e.getAttribute("alt")?.trim())return!1;const r=e.querySelectorAll("i");for(const e of r)if(e.hasAttribute("title")&&""!==e.getAttribute("title")?.trim()||e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label")?.trim())return!1;const n=e.querySelectorAll("svg");for(const e of n)if(e.querySelector("title"))return!1;return!0}},V={id:"img_alt_missing_check",evaluate(e){const t=e.tagName.toLowerCase();if(e.hasAttribute("role")&&"presentation"===e.getAttribute("role"))return!1;if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden"))return!1;if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby"),r=document.getElementById(t);if(r&&""!==r.textContent.trim())return!1}const r=e.hasAttribute("alt")&&null!==e.getAttribute("alt");return"input"===t&&"image"===e.getAttribute("type")?!r:"img"===t&&(!$(e)&&(!U(e)&&(!G(e)&&!r)))},options:{},metadata:{impact:"critical",messages:{pass:"Image has an alt attribute",fail:"Image is missing an alt attribute"}}},$=e=>{const t=W(e,(e=>e.tagName&&"figure"===e.tagName.toLowerCase()));if(t){const e=t.querySelectorAll("figcaption");if(e.length>0&&""!==e[0].textContent.trim())return!0}const r=W(e,(e=>e.tagName&&"div"===e.tagName.toLowerCase()&&e.classList.contains("wp-caption")));return!!(r&&r.textContent&&r.textContent.trim().length>5)},H=(e,t)=>""!==Array.from(e.childNodes).filter((e=>e!==t&&3===e.nodeType)).map((e=>e.textContent)).join("").trim(),U=e=>{const t=W(e,(e=>e.tagName&&"a"===e.tagName.toLowerCase()));if(t){if(t.hasAttribute("aria-label")&&""!==t.getAttribute("aria-label").trim())return!0;if(t.hasAttribute("title")&&""!==t.getAttribute("title").trim())return!0;if(H(t,e))return!0}return!1},G=e=>{const t=W(e,(e=>e.tagName&&"button"===e.tagName.toLowerCase()));return!(!t||!H(t,e))},W=(e,t)=>{let r=e.parentNode;for(;r;){if(t(r))return r;r=r.parentNode}return null},Y={id:"img_alt_invalid_check",evaluate(e){if(!e.hasAttribute("alt"))return!0;const t=e.getAttribute("alt");if(""===t)return!0;if(""===t.trim())return!1;const r=t.toLowerCase().trim().replace(/\s+/g," "),n=["graphic of","bullet","image of","an image"];for(const e of n)if(r.startsWith(e))return!1;const a=["image","graphic"];for(const e of a)if(r.endsWith(e))return!1;const o=[".apng",".bmp",".gif",".ico",".cur",".jpg",".jpeg",".jfif",".pjpeg",".pjp",".png",".svg",".tif",".tiff",".webp"];for(const e of o)if(r.includes(e))return!1;if(["graphic of","bullet","image of","an image","image","graphic","photo","photograph","drawing","painting","artwork","logo","button","arrow","more","spacer","blank","chart","table","diagram","graph","*"].includes(r))return!1;const i=["_","img","jpg","jpeg","apng","png","svg","webp"];for(const e of i)if(r.includes(e))return!1;return!/^\d+$/.test(r)},options:{},metadata:{impact:"serious",messages:{pass:"Image alt text is valid",fail:"Image has invalid alt text (contains generic terms, file names, or only numbers)"}}},K=new Map;const X={id:"img_alt_redundant_check",evaluate(e){const t=a(e.getAttribute("alt"));if(!t)return!0;const r=a(e.getAttribute("title"));if(r&&t===r)return!1;const n=e.closest("a");if(n){const e=a(n.textContent);if(e&&t===e)return!1}const o=e.closest("figure");if(o){const e=o.querySelector("figcaption");if(e){const r=a(e.textContent);if(r&&t===r)return!1}}if(0===K.size&&document.querySelectorAll("img").forEach((e=>{const t=a(e.getAttribute("alt"));t&&(K.has(t)||K.set(t,[]),K.get(t).push(e))})),K.has(t)){const r=K.get(t).filter((t=>t!==e));if(r.length>0){const t=e.getAttribute("src"),n=e.closest("a")?.getAttribute("href");if(r.filter((e=>{const r=e.getAttribute("src"),a=e.closest("a")?.getAttribute("href");return!(r===t)&&!(n&&a&&a===n)})).length>0)return!1}}return!0},options:{},metadata:{impact:"warning",messages:{pass:"Image alternative text is not redundant.",fail:"Image alternative text is redundant (matches title, link text, caption, or is duplicated)."}}},Z=e=>{const t=e.querySelectorAll("img");return Array.from(t).filter((e=>!(e=>{const t=window.getComputedStyle(e);return"none"===t.display||"hidden"===t.visibility||null!==e.closest('[aria-hidden="true"]')})(e)))},J=e=>{const t=(e.textContent||"").trim().length>=5,r=null!==e.getAttribute("aria-label")&&""!==e.getAttribute("aria-label"),n=null!==e.getAttribute("title")&&""!==e.getAttribute("title");return t||r||n},Q={id:"linked_image_alt_present",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;if(J(e))return!0;const t=Z(e);return 0===t.length||t.every((e=>{const t=e.hasAttribute("alt"),r=e.getAttribute("role"),n=e.getAttribute("aria-hidden");return t||"presentation"===r||"true"===n}))}},ee={id:"linked_image_alt_not_empty",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;if(J(e))return!0;const t=Z(e);return 0===t.length||t.every((e=>{const t=e.getAttribute("alt"),r=e.getAttribute("role"),n=e.getAttribute("aria-hidden");return"presentation"===r||"true"===n||null!==t&&""!==t.trim()}))}},te={id:"img_alt_long_check",evaluate(e,t={}){const r=e.getAttribute("alt");return!(r&&r.length>t.maxAltLength)},options:{maxAltLength:300}},re={id:"img_alt_empty_check",evaluate(e){const t=e.hasAttribute("alt")&&""===e.getAttribute("alt");return!(!t||"presentation"!==e.getAttribute("role")&&"none"!==e.getAttribute("role"))||(!(!t||"true"!==e.getAttribute("aria-hidden"))||(!(!t||!function(e){const t=e.closest("figure");if(t&&t.querySelector("figcaption"))return!0;const r=e.closest("div.wp-caption");if(r&&r.querySelector(".wp-caption-text"))return!0;const n=e.closest("a");if(n){if(n.hasAttribute("aria-label")&&""!==n.getAttribute("aria-label").trim())return!0;if(n.hasAttribute("title")&&""!==n.getAttribute("title").trim())return!0;const e=n.textContent.trim();if(""!==e&&e.length>5)return!0}return!1}(e))||(!(!t||!function(e){if(e.classList.contains("wp-smiley"))return!0;const t=e.getAttribute("src")||"";if(t.includes("advanced-wp-columns/assets/js/plugins/views/img/1x1-pixel.png"))return!0;if(t.includes("googleads.g.doubleclick.net/pagead/viewthroughconversion"))return!0;return!1}(e))||!t)))}};const ne=["rtf","wpd","ods","odt","odp","sxw","sxc","sxd","sxi","pages","key"],ae={id:"link_points_to_html",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("href")||"";try{const e=new URL(t,document.baseURI).pathname.split("."),r=e.length>1?e.pop().toLowerCase():"";if(ne.includes(r))return!1}catch{return!0}return!0}},oe={id:"link_has_valid_href_or_role",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("href"),r=(e.getAttribute("role")||"").toLowerCase().split(/\s+/);if(r.some((e=>["button","tab"].includes(e))))return!0;const n=e.hasAttribute("aria-expanded");if(r.includes("menuitem")&&n)return!0;const a=t?t.trim():"";if(!t||"#"===a||t.toLowerCase().startsWith("javascript:")||t.toLowerCase().startsWith("data:")||t.toLowerCase().startsWith("file:"))return!1;if(t.includes("://"))try{new URL(t)}catch(e){return!1}return!0}},ie={id:"has_subheadings_if_long_content",evaluate:e=>{if(e!==document.body)return!0;if(e.textContent.replace(/\s+/g," ").trim().split(/\s+/).length<400)return!0;return['h2, [role="heading"][aria-level="2"]','h3, [role="heading"][aria-level="3"]','h4, [role="heading"][aria-level="4"]','h5, [role="heading"][aria-level="5"]','h6, [role="heading"][aria-level="6"]'].map((e=>document.querySelectorAll(e).length)).reduce(((e,t)=>e+t),0)>0}},ue={id:"img_animated",selector:"img[src], iframe[src]",excludeHidden:!1,tags:["wcag2aa","wcag222","cat.sensory-and-visual-cues","best-practice","flashing"],metadata:{description:"Identifies animated images that may require user controls",help:"Animated images (not static GIFs/WebPs) should be limited to less than 5 seconds or provide user controls to pause/stop",impact:"serious",issue:{type:"warning",message:"Animated image content might need controls for accessibility compliance",tips:["Only animated images need controls, static GIFs/WebPs are fine","Limit animations to less than 5 seconds","Add controls to pause/stop animations","Consider using video elements with controls instead of animated GIFs","Avoid flashing content that could trigger seizures"]}},all:[],any:[],none:["img_animated_check"]},le=new o,se={id:"img_animated_check",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=(e.getAttribute("src")||"").toLowerCase();if(le.has(r))return le.get(r);if("iframe"===t){const e=he(r);return le.set(r,e),e}return"img"===t&&((fe(r)||me(r))&&he(r)?(le.set(r,!0),!0):(le.set(r,!1),!1))}};function ce(e){const t=new Uint8Array(e);return function(e){const t=String.fromCharCode(...e.slice(0,6));return"GIF89a"===t||"GIF87a"===t}(t)?function(e){let t=13,r=0;if(de(e[10])){const r=pe(e[10]);t+=3*Math.pow(2,r+1)}for(;t<e.length;){const n=e[t];if(33===n){if(249===e[t+1]&&(r++,r>1))return!0;t+=2;let n=e[t];for(;0!==n;)t+=n+1,n=e[t];t++}else if(44===n){if(t+=10,de(e[t-1])){const r=pe(e[t-1]);t+=3*Math.pow(2,r+1)}t++;let r=e[t];for(;0!==r;)t+=r+1,r=e[t];t++}else{if(59===n)break;t++}}return!1}(t):!!function(e){const t=String.fromCharCode(...e.slice(0,4)),r=String.fromCharCode(...e.slice(8,12));return"RIFF"===t&&"WEBP"===r}(t)&&function(e){for(let t=12;t<e.length-4;t++)if(65===e[t]&&78===e[t+1]&&73===e[t+2]&&77===e[t+3])return!0;return!1}(t)}function de(e){return 1===Math.floor(e/128)}function pe(e){return e%8}const fe=e=>e.endsWith(".gif")||e.includes(".gif?")||e.includes(".gif#")||e.endsWith("%2egif")||e.includes("%2egif?")||e.includes("%2egif#")||e.includes("format=gif")||e.includes("type=gif")||e.includes("filetype=gif")||e.startsWith("data:image/gif"),me=e=>e.endsWith(".webp")||e.includes(".webp?")||e.includes(".webp#")||e.endsWith("%2ewebp")||e.includes("%2ewebp?")||e.includes("%2ewebp#")||e.includes("format=webp")||e.includes("type=webp")||e.includes("filetype=webp")||e.startsWith("data:image/webp"),he=e=>["giphy.com","tenor.com","gfycat.com","imgur.com/a/","media.discordapp.net"].some((t=>e.includes(t))),De=[{id:"color_contrast_failure",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT"],actIds:["afw4f7","09o5cg"],metadata:{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},all:[],any:["color-contrast"],none:[]},{id:"underlined_text",excludeHidden:!1,selector:'*:not(a):not([role="link"]):not(a *):not([role="link"] *)',metadata:{description:"Text elements should not be underlined unless they are links."},all:[],none:["element_with_underline","element_is_u_tag"]},{id:"possible_heading",selector:"p",matches:e=>!e.closest("blockquote, figcaption, td"),excludeHidden:!1,tags:["wcag2a","wcag131","wcag241","cat.semantics"],metadata:{description:"Headings should be used to convey the structure of the page, not styled paragraphs",help:"Paragraphs should not be styled to look like headings. Use the appropriate heading tag instead."},all:[],any:[],none:["paragraph_styled_as_header"]},{id:"empty_paragraph_tag",selector:"p",excludeHidden:!1,tags:["cat.text","best-practices"],impact:"moderate",metadata:{description:"Detects empty paragraph tags",help:"Paragraphs should not be used for layout purposes and should never be empty"},all:[],any:["paragraph_not_empty"],none:[]},{id:"text_small",impact:"moderate",selector:"p, span, small, strong, b, i, h1, h2, h3, h4, h5, h6, a, label, button, th, td, li, div, blockquote, address, cite, code, pre, q, s, sub, sup, u, var, abbr, acronym, del, dfn, em, ins, kbd, input, select, textarea, caption, dl, dt, dd, li, figure, figcaption, details, dialog, summary, data, time",matches:e=>e.textContent.trim().length,tags:["wcag2aaa","wcag144","wcag148","cat.text"],metadata:{description:"Text elements should not be too small."},all:[],any:[],none:["text_size_too_small"]},l,{id:"link_blank",selector:'a[target="_blank"]',excludeHidden:!1,tags:["cat.custom","wcag2aaa","wcag322","wcag325"],metadata:{description:"Links that open in a new tab should inform the user.",help:"Links that open in a new tab should inform the user. This is important for users who rely on screen readers, as they may not realize that a new tab has opened."},all:[],any:[],none:["link_target_blank_without_informing"]},{id:"link_ambiguous_text",enabled:!0,selector:"a",excludeHidden:!1,tags:["cat.text","best-practices"],metadata:{description:"Detects ambiguous link text",help:"Links should have descriptive text to help users understand their purpose."},any:[],all:[],none:["has_ambiguous_text"]},{id:"link_pdf",selector:'a[href$=".pdf"], a[href$=".PDF"], a[href*=".pdf?"], a[href*=".PDF?"], a[href*=".pdf#"], a[href*=".PDF#"]',excludeHidden:!1,tags:["cat.custom"],metadata:{description:"Links to PDFs typically should be checked."},all:[],any:["always-fail"],none:[]},v,{id:"broken_skip_anchor_link",selector:'a[href^="#"]:not([href="#"]):not([role="button"])',tags:["wcag2a","wcag131","wcag241","custom"],metadata:{description:"Check if the skip anchor link is broken or missing its target."},all:[],any:["anchor_exists"],none:[]},{id:"label",impact:"critical",selector:"input, textarea",matches:(e,t)=>{if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;const r=t.attr("type").toLowerCase();return!1===["hidden","button","submit","reset"].includes(r)},tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],metadata:{description:"Ensure every form element has a label",help:"Form elements must have labels"},all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby","non-empty-title","presentational-role","image_input_has_alt"],none:["hidden-explicit-label"]},{id:"missing_table_header",selector:"table",excludeHidden:!1,tags:["wcag2a","wcag131","cat.structure"],metadata:{description:"Tables must have header cells to convey data relationships",help:"Ensure that tables use <th> elements with text or appropriate scope attributes",impact:"serious"},all:[],any:["table_has_headers"],none:[]},{id:"empty_heading_tag",selector:"h1, h2, h3, h4, h5, h6",metadata:{description:"Ensures headings have discernible text",help:"Headings must have discernible text",helpUrl:"https://a11ychecker.com/help1957"},tags:["wcag2a","best-practice"],all:[],any:["heading_is_empty"],none:[]},{id:"missing_transcript",selector:"audio, video, iframe, a[href]",excludeHidden:!1,tags:["wcag2a","wcag122","cat.time-and-media"],metadata:{description:"Media content should be accompanied by a text transcript",help:"Ensure audio or video content includes a nearby transcript or transcript link",impact:"serious"},all:[],any:["has_transcript"],none:[]},{id:"empty_button",excludeHidden:!1,selector:'button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"]',tags:["accessibility","wcag2a","wcag2aa"],metadata:{description:"Ensures buttons have accessible labels or content.",help:"Buttons must have accessible text, aria-label, or title attributes.",helpUrl:"https://a11ychecker.com/help1960"},any:[],all:[],none:["button_is_empty"]},{id:"slider_present",selector:"[class], [data-jssor-slider], [data-layerslider-uid]",excludeHidden:!1,tags:["cat.structure"],metadata:{description:"Identifies presence of slider/carousel components that may require accessibility improvements",help:"Sliders and carousels must be keyboard accessible and provide appropriate navigation controls",impact:"moderate"},all:[],any:["slider_detected"],none:[]},{id:"video_present",selector:"video, iframe, object, source, [src]:not(script), [role]",excludeHidden:!1,tags:["wcag2a","wcag121","wcag122","wcag123","cat.time-and-media","cat.sensory"],metadata:{description:"Identifies presence of video content that may require accessibility features",help:"Video content should have appropriate alternatives like captions and audio descriptions",impact:"serious"},all:[],any:[],none:["is_video_detected"]},{id:"empty_link",selector:"a[href]",tags:["wcag2a","wcag2.4.4","wcag4.1.2"],metadata:{description:"Ensures links have discernible text",help:"Links must have discernible text",helpUrl:"https://a11ychecker.com/help4108"},any:[],all:[],none:["link-is-empty"]},{id:"long_description_invalid",selector:"img[longdesc]",tags:["wcag2a","wcag131","cat.text-alternatives"],metadata:{description:"Checks that longdesc attributes are valid and do not point to images.",help:"longdesc should link to a non-image resource with a detailed description",impact:"moderate"},all:[],any:["longdesc_valid"],none:[]},{id:"empty_table_header",selector:'th, [role="columnheader"], [role="rowheader"]',excludeHidden:!1,tags:["wcag2a","wcag1.3.1","wcag4.1.2"],metadata:{description:"Ensures table headers have discernible text",help:"Table headers must have discernible text",helpUrl:"https://a11ychecker.com/help4109"},any:[],all:[],none:["table_header_is_empty"]},{id:"img_alt_missing",selector:'img, input[type="image"]',excludeHidden:!0,any:[],all:[],none:["img_alt_missing_check"],tags:["wcag1a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures images have alt text",help:"Images must have an alt attribute",helpUrl:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html"}},{id:"img_alt_invalid",selector:"img",excludeHidden:!0,any:[],all:["img_alt_invalid_check"],none:[],tags:["wcag1a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures images have valid alternative text",help:"Images must have meaningful alt text rather than filenames or generic text",helpUrl:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html"}},{id:"img_alt_redundant",selector:"img, figure img",any:["img_alt_redundant_check"],none:[],tags:["duplicate","redundant","accessibility"],metadata:{description:"Checks for redundant alternative text on images, including duplicate alt text across images; alt text matching title, link text or figcaption.",help:"Ensure that each image has unique, meaningful alt text that does not duplicate related text (such as its title, associated link text, or accompanying caption).",helpUrl:"https://a11ychecker.com/help1976"}},{id:"img_linked_alt_missing",selector:"a",tags:["wcag2a","wcag111","cat.text-alternatives"],metadata:{description:"Checks that linked images have meaningful alternative text.",help:"Linked images must have alternative text describing link purpose.",impact:"serious"},all:[],any:["linked_image_alt_present"],none:[]},{id:"img_linked_alt_empty",selector:"a",tags:["wcag2a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures linked images do not have empty alt text",help:"Linked images must have meaningful alternative text describing the link purpose",impact:"serious"},all:[],any:["linked_image_alt_not_empty"],none:[]},{id:"img_alt_long",selector:"img[alt]",excludeHidden:!0,tags:["cat.text-alternatives","wcag1a","wcag111"],all:[],any:["img_alt_long_check"],none:[],metadata:{description:"Ensures images do not have excessively long alt text",help:"Image alt text should be concise and not exceed 300 characters"}},{id:"img_alt_empty",selector:'img[alt=""], input[type="image"][alt=""]',excludeHidden:!0,tags:["cat.text-alternatives","wcag1a","wcag111"],all:[],any:["img_alt_empty_check"],none:[],metadata:{description:'Ensures images with attributes alt="" are not used when they require alternative text',help:"Images with empty alt attributes must be decorative or already described in context"}},{id:"link_non_html_file",selector:"a[href]",tags:["best-practice","cat.structure"],metadata:{description:"Links to non-HTML documents should be clearly labeled or avoided.",help:"Avoid linking to non-HTML documents without warnings or alternatives.",impact:"moderate"},all:[],any:["link_points_to_html"],none:[]},{id:"link_improper",selector:"a",tags:["wcag2a","wcag412","cat.structure"],metadata:{description:"Links must have a meaningful href or an appropriate role if used as buttons.",help:'Avoid using <a> tags without href or with href="#" unless role="button" is used.',impact:"serious"},all:[],any:["link_has_valid_href_or_role"],none:[]},{id:"missing_headings",selector:"body",tags:["wcag2a","best-practice"],all:[],any:["has_subheadings_if_long_content"],none:[],metadata:{description:"Ensures long content has appropriate heading structure",help:"Content with more than 400 words should contain headings to improve readability and structure"}},ue,{id:"aria_hidden_validation",selector:'[aria-hidden="true"]',excludeHidden:!1,tags:["wcag2a","wcag131","cat.aria","cat.semantics"],metadata:{description:'Ensures elements with aria-hidden="true" are used appropriately',help:'Elements with aria-hidden="true" should not hide important content that is unavailable elsewhere',impact:"serious"},all:[],any:["aria_hidden_valid_usage"],none:[]},{id:"aria_broken_reference",selector:"[aria-labelledby], [aria-describedby], [aria-owns]",excludeHidden:!0,tags:[],metadata:{description:"Ensures ARIA attributes reference existing elements",help:"ARIA attributes that reference other elements must point to elements that exist in the DOM",impact:"critical"},all:[],any:["aria_label_not_found","aria_describedby_not_found","aria_owns_not_found"],none:[]}],ge=[{id:"always-fail",metadata:{impact:"critical",messages:{pass:"This test passed.",fail:"This test failed."}},evaluate:()=>!1},t,e,i,r,u,s,p,D,g,{id:"image_input_has_alt",evaluate:e=>("input"!==e.tagName.toLowerCase()||"image"===e.type)&&""!==e.getAttribute("alt")?.trim()},y,x,A,_,B,S,P,L,q,z,V,Y,X,Q,ee,{...te,options:{maxAltLength:window?.scanOptions?.maxAltLength||te.options.maxAltLength}},re,ae,oe,ie,se,w,E,C],ve=["meta-viewport","blink","marquee","document-title","tabindex","html-lang-valid","html-has-lang","form-field-multiple-labels","heading-order","frame-title","area-alt"],be=De.map((e=>e.id)),ye=["#wpadminbar",".edac-panel-container","#query-monitor-main","#qm-icon-container"];let Fe;const we=["MAIN","HEADER","FOOTER","NAV","ASIDE"],Ee=["main","navigation","banner","contentinfo","complementary"],Ce=["SECTION","ARTICLE","FORM"],xe=["region","article","form"];function Ae(e){if(!e)return null;if(e.id)return`#${e.id}`;const t=e.tagName.toLowerCase();if("main"===t){if(1===document.querySelectorAll("main").length)return"main"}if(("header"===t||"footer"===t)&&e.parentElement===document.body)return t;if("nav"===t||"navigation"===e.getAttribute("role")){if(1===document.querySelectorAll('nav, [role="navigation"]').length)return"nav"===t?"nav":'[role="navigation"]';if(e.hasAttribute("aria-label")){return`${"nav"===t?"nav":'[role="navigation"]'}[aria-label="${e.getAttribute("aria-label")}"]`}}const r=e.getAttribute("role");if(r&&Ee.includes(r)){if(1===document.querySelectorAll(`[role="${r}"]`).length)return`[role="${r}"]`;if(e.hasAttribute("aria-label")){return`[role="${r}"][aria-label="${e.getAttribute("aria-label")}"]`}}const n=[];let a=e;for(;a&&a.nodeType===Node.ELEMENT_NODE&&a!==document.body;){let e=a.nodeName.toLowerCase();if(a.id){e=`#${a.id}`,n.unshift(e);break}if(a.className){const t=a.className.trim().split(/\s+/).map((e=>CSS.escape(e))).filter((e=>!e.match(/^(wp-|js-|css-|generated-|dynamic-)/))).slice(0,2);t.length>0&&(e+=`.${t.join(".")}`)}if(!a.id&&!a.className){e+=`:nth-child(${Array.from(a.parentNode.children).indexOf(a)+1})`}if(n.unshift(e),a=a.parentElement,n.length>=4)break}return n.length?n.join(" > "):null}const ke=document.querySelector("body"),Ne=ke.getAttribute("data-iframe-id"),_e=ke.getAttribute("data-iframe-event-name"),Te=ke.getAttribute("data-iframe-post-id");const Be=async(e={configOptions:{},runOptions:{}})=>{const t={exclude:ye},r={configOptions:{reporter:"raw",rules:De,checks:ge,iframes:!1},resultTypes:["violations","incomplete"],runOptions:{runOnly:{type:"rule",values:[...ve,...be]}}},n=Object.assign(r.configOptions,e.configOptions);axe.configure(n);const a=Object.assign(r.runOptions,e.runOptions);return a?.runOnly?.values?.includes(ue.id)&&await async function(e=5e3){const t=document.querySelectorAll("img[src]");for(const r of t){const t=r.getAttribute("src")||"",n=t.toLowerCase();if(!le.has(n)){if(fe(n)||me(n))try{const r=new AbortController,a=setTimeout((()=>r.abort()),e);let o;try{o=await fetch(t,{mode:"cors",signal:r.signal})}finally{clearTimeout(a)}if(o.ok){const e=ce(await o.arrayBuffer());le.set(n,e);continue}}catch(e){le.set(n,he(n));continue}le.set(n,he(n))}}return le}(),await axe.run(t,a).then((e=>{const t=[];e.forEach((e=>{e.violations.forEach((r=>{"failed"===r.result&&t.push(Oe(r,e))})),"form-field-multiple-labels"===e.id&&e.incomplete.forEach((r=>{t.push(Oe(r,e))}))}));const r=e.map((e=>({id:e.id,description:e.description,help:e.help,impact:e.impact,tags:e.tags})));return t.sort((function(e,t){return(e=document.querySelector(e.selector))===(t=document.querySelector(t.selector))?0:2&e.compareDocumentPosition(t)?1:-1})),{rules:e,rulesMin:r,violations:t}})).catch((e=>{throw e}))};function Re(e,t,r){const[n,a]=function(e=document.body){if(!e)return[0,0];const t=e.cloneNode(!0);return[...ye,"style","script"].forEach((e=>{t.querySelectorAll(e).forEach((e=>e.remove()))})),[t.getElementsByTagName("*").length,(t.textContent||"").replace(/[^A-Za-z0-9]/g,"").length]}(ke),o=new CustomEvent(_e,{detail:{iframeId:Ne,postId:Te,violations:e,errorMsgs:t,error:r,densityMetrics:{elementCount:n,contentLength:a}},bubbles:!1});top.dispatchEvent(o)}const Se=(e=[],t=[],r=!1)=>{clearTimeout(Fe),void 0!==axe.cleanup?axe.cleanup((function(){axe.teardown(),axe=null,Re(e,t,"")}),(function(){axe.teardown(),axe=null,t.push("***** axe.cleanup() failed."),Re(e,t,"cleanup-failed")})):(t.push("***** axe.cleanup() does not exist."),axe=null,Re(e,t,"cleanup-not-exists"))};if(window.runAccessibilityScan=async function(e={}){return Be(e).then((t=>("function"==typeof e.onComplete&&e.onComplete(t),t))).catch((t=>{throw"function"==typeof e.onComplete&&e.onComplete(null,t),t}))},ke&&ke.hasAttribute("data-iframe-id")&&ke.hasAttribute("data-iframe-event-name")){const e={configOptions:{},runOptions:{},iframeId:ke.getAttribute("data-iframe-id"),eventName:ke.getAttribute("data-iframe-event-name"),postId:ke.getAttribute("data-iframe-post-id")};Fe=setTimeout((()=>{Re([],["Scan timed out"],"timeout")}),3e4),Be(e).then((e=>Se(e.violations,[],null))).catch((e=>Se([],[e.message||"Unknown error"],e.message)))}function Oe(e,t){const r=e.node.selector,n=function(e){const t=document.querySelector(e);if(!t)return{type:null,selector:null};let r=t;for(;r&&r!==document.body;){if(we.includes(r.tagName))return{type:r.tagName.toLowerCase(),selector:Ae(r)};if(Ce.includes(r.tagName)&&(r.hasAttribute("aria-label")||r.hasAttribute("aria-labelledby")))return{type:r.tagName.toLowerCase(),selector:Ae(r)};if(r.hasAttribute("role")){const e=r.getAttribute("role").toLowerCase();if(Ee.includes(e))return{type:e,selector:Ae(r)};if(xe.includes(e)&&(r.hasAttribute("aria-label")||r.hasAttribute("aria-labelledby")))return{type:e,selector:Ae(r)}}r=r.parentElement}return{type:null,selector:null}}(r),a=e.node.ancestry||[],o=e.node.xpath||[],i=document.querySelector(r)?.outerHTML;return{selector:r,ancestry:a,xpath:o,html:i,ruleId:t.id,impact:t.impact,tags:t.tags,landmark:n.type,landmarkSelector:n.selector}}})()})();2 (()=>{var e={609(e,t,r){var n,a;e=r.nmd(e),function o(i){var u=i,s=i.document;function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=c||{};c.version="4.11.1",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===l(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c);var d=["precision","format","inGamut"],p=["space"],f=["algorithm"],m=["method"],h=["maxDeltaE","deltaEMethod","steps","maxSteps"],g=["variant"],v=["matches"],b=["chromium"],y=["noImplicit"],w=["noPresentational"],D=["node"],x=["relatedNodes"],E=["node"],A=["node"],F=["environmentData"],C=["environmentData"],k=["environmentData"],N=["environmentData"],R=["environmentData"];function _(e){var t="function"==typeof Map?new Map:void 0;return _=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return S(e,arguments,I(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,e)},_(e)}function T(e,t,r){return(t=ee(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e,t,r){if(P())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&L(a,r.prototype),a}function O(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function M(e,t,r){return t=I(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,P()?Reflect.construct(t,r||[],I(e).constructor):t.apply(e,r))}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(P=function(){return!!e})()}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function B(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&L(e,t)}function L(e,t){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},L(e,t)}function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(null,arguments)}function q(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||z(e)||re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function V(e,t,r){$(e,t),t.set(e,r)}function G(e,t){$(e,t),t.add(e)}function $(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function H(e,t){return e.get(W(e,t))}function U(e,t,r){return e.set(W(e,t),r),r}function W(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function Y(e,t){return X(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,u=[],s=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return u}}(e,t)||re(e,t)||K()}function K(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function X(e){if(Array.isArray(e))return e}function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ee(n.key),n)}}function Q(e,t,r){return t&&J(e.prototype,t),r&&J(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ee(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}function te(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=re(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var _n=0,n=function(){};return{s:n,n:function(){return _n>=e.length?{done:!0}:{done:!1,value:e[_n++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,i=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(i)throw a}}}}function re(e,t){if(e){if("string"==typeof e)return ne(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}!function(e,t,o,P,I,L,$,J,ee,ae,oe){var ie=Object.create,ue=Object.defineProperty,se=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty,ce=Object.getOwnPropertyNames,de=Object.getOwnPropertyDescriptor,pe=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},fe=function(e,t){for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},me=function(e){return function(e,t,r){if(t&&"object"===l(t)||"function"==typeof t){var n,a=te(ce(t));try{var o=function(){var a=n.value;le.call(e,a)||"default"===a||ue(e,a,{get:function(){return t[a]},enumerable:!(r=de(t,a))||r.enumerable})};for(a.s();!(n=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e}((t=ue(null!=e?ie(se(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),ue(t,"__esModule",{value:!0})),e);var t},he=function(e,t,r){return function(e,t,r){t in e?ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==l(t)?t+"":t,r),r},ge=pe((function(e,t){var o;o=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,n=void 0,a=void 0,o=function(e,t){g[r]=e,g[r+1]=t,2===(r+=2)&&(a?a(v):x())},c=void 0!==i?i:void 0,d=c||{},p=d.MutationObserver||d.WebKitMutationObserver,f="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),m="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(v,1)}}var g=new Array(1e3);function v(){for(var e=0;e<r;e+=2)(0,g[e])(g[e+1]),g[e]=void 0,g[e+1]=void 0;r=0}var b,y,w,D,x=void 0;function E(e,t){var r=this,n=new this.constructor(C);void 0===n[F]&&j(n);var a=r._state;if(a){var i=arguments[a-1];o((function(){return B(a,n,i,r._result)}))}else P(r,n,e,t);return n}function A(e){if(e&&"object"===l(e)&&e.constructor===this)return e;var t=new this(C);return T(t,e),t}f?x=function(){return process.nextTick(v)}:p?(y=0,w=new p(v),D=s.createTextNode(""),w.observe(D,{characterData:!0}),x=function(){D.data=y=++y%2}):m?((b=new MessageChannel).port1.onmessage=v,x=function(){return b.port2.postMessage(0)}):x=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(n=e.runOnLoop||e.runOnContext)?function(){n(v)}:h()}catch(e){return h()}}():h();var F=Math.random().toString(36).substring(2);function C(){}var k=void 0,N=1,R=2;function _(t,r,n){r.constructor===t.constructor&&n===E&&r.constructor.resolve===A?function(e,t){t._state===N?O(e,t._result):t._state===R?M(e,t._result):P(t,void 0,(function(t){return T(e,t)}),(function(t){return M(e,t)}))}(t,r):void 0===n?O(t,r):e(n)?function(e,t,r){o((function(e){var n=!1,a=function(e,t,r,n){try{e.call(t,r,n)}catch(e){return e}}(r,t,(function(r){n||(n=!0,t!==r?T(e,r):O(e,r))}),(function(t){n||(n=!0,M(e,t))}),e._label);!n&&a&&(n=!0,M(e,a))}),e)}(t,r,n):O(t,r)}function T(e,t){if(e===t)M(e,new TypeError("You cannot resolve a promise with itself"));else if(a=l(n=t),null===n||"object"!==a&&"function"!==a)O(e,t);else{var r=void 0;try{r=t.then}catch(t){return void M(e,t)}_(e,t,r)}var n,a}function S(e){e._onerror&&e._onerror(e._result),I(e)}function O(e,t){e._state===k&&(e._result=t,e._state=N,0!==e._subscribers.length&&o(I,e))}function M(e,t){e._state===k&&(e._state=R,e._result=t,o(S,e))}function P(e,t,r,n){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+N]=r,a[i+R]=n,0===i&&e._state&&o(I,e)}function I(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,a=void 0,o=e._result,i=0;i<t.length;i+=3)n=t[i],a=t[i+r],n?B(r,n,a,o):a(o);e._subscribers.length=0}}function B(t,r,n,a){var o=e(n),i=void 0,u=void 0,s=!0;if(o){try{i=n(a)}catch(e){s=!1,u=e}if(r===i)return void M(r,new TypeError("A promises callback cannot return that same promise."))}else i=a;r._state!==k||(o&&s?T(r,i):!1===s?M(r,u):t===N?O(r,i):t===R&&M(r,i))}var L=0;function j(e){e[F]=L++,e._state=void 0,e._result=void 0,e._subscribers=[]}var q=function(){function e(e,r){this._instanceConstructor=e,this.promise=new e(C),this.promise[F]||j(this.promise),t(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?O(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&O(this.promise,this._result))):M(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===A){var a=void 0,o=void 0,i=!1;try{a=e.then}catch(e){i=!0,o=e}if(a===E&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(r===z){var u=new r(C);i?M(u,o):_(u,e,a),this._willSettleAt(u,t)}else this._willSettleAt(new r((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;n._state===k&&(this._remaining--,e===R?M(n,r):this._result[t]=r),0===this._remaining&&O(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;P(e,void 0,(function(e){return r._settledAt(N,t,e)}),(function(e){return r._settledAt(R,t,e)}))},e}(),z=function(){function t(e){this[F]=L++,this._result=this._state=void 0,this._subscribers=[],C!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){T(e,t)}),(function(t){M(e,t)}))}catch(t){M(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var r=this,n=r.constructor;return e(t)?r.then((function(e){return n.resolve(t()).then((function(){return e}))}),(function(e){return n.resolve(t()).then((function(){throw e}))})):r.then(t,t)},t}();return z.prototype.then=E,z.all=function(e){return new q(this,e).promise},z.race=function(e){var r=this;return t(e)?new r((function(t,n){for(var a=e.length,o=0;o<a;o++)r.resolve(e[o]).then(t,n)})):new r((function(e,t){return t(new TypeError("You must pass an array to race."))}))},z.resolve=A,z.reject=function(e){var t=new this(C);return M(t,e),t},z._setScheduler=function(e){a=e},z._setAsap=function(e){o=e},z._asap=o,z.polyfill=function(){var e=void 0;if(void 0!==u)e=u;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=z},z.Promise=z,z},"object"===l(e)&&void 0!==t?t.exports=o():void 0===(a="function"==typeof(n=o)?n.call(e,r,e,t):n)||(t.exports=a)})),ve=pe((function(e){var t,r,n=(t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return r.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,s=Math.min,c=Math.pow,d=Math.round;function p(e,t,r){return e<t?t:e>r?r:e}var f,m=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,r=[];for(t in e)n.HasOwnProperty(e,t)&&r.push(t);return r};function h(e){if(m&&f){var t,r=m(e);for(t=0;t<r.length;t+=1)f(e,r[t],{value:e[r[t]],writable:!1,enumerable:!1,configurable:!1})}}function g(e,t){var r=32-t;return e<<r>>r}function v(e,t){var r=32-t;return e<<r>>>r}function b(e){return[255&e]}function y(e){return g(e[0],8)}function w(e){return[255&e]}function D(e){return v(e[0],8)}function x(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function A(e){return g(e[0]<<8|e[1],16)}function F(e){return[e>>8&255,255&e]}function C(e){return v(e[0]<<8|e[1],16)}function k(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function N(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function R(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function _(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function T(e,t,r){var n,l,d,p,f,m,h,g=(1<<t-1)-1;function v(e){var t=i(e),r=e-t;return r<.5?t:r>.5||t%2?t+1:t}for(e!=e?(l=(1<<t)-1,d=c(2,r-1),n=0):e===1/0||e===-1/0?(l=(1<<t)-1,d=0,n=e<0?1:0):0===e?(l=0,d=0,n=1/e==-1/0?1:0):(n=e<0,(e=o(e))>=c(2,1-g)?(l=s(i(u(e)/a),1023),(d=v(e/c(2,l)*c(2,r)))/c(2,r)>=2&&(l+=1,d=1),l>g?(l=(1<<t)-1,d=0):(l+=g,d-=c(2,r))):(l=0,d=v(e/c(2,1-g-r)))),f=[],p=r;p;p-=1)f.push(d%2?1:0),d=i(d/2);for(p=t;p;p-=1)f.push(l%2?1:0),l=i(l/2);for(f.push(n?1:0),f.reverse(),m=f.join(""),h=[];m.length;)h.push(parseInt(m.substring(0,8),2)),m=m.substring(8);return h}function S(e,t,r){var n,a,o,i,u,s,l,d,p=[];for(n=e.length;n;n-=1)for(o=e[n-1],a=8;a;a-=1)p.push(o%2?1:0),o>>=1;return p.reverse(),i=p.join(""),u=(1<<t-1)-1,s=parseInt(i.substring(0,1),2)?-1:1,l=parseInt(i.substring(1,1+t),2),d=parseInt(i.substring(1+t),2),l===(1<<t)-1?0===d?s*(1/0):NaN:l>0?s*c(2,l-u)*(1+d/c(2,r)):0!==d?s*c(2,-(u-1))*(d/c(2,r)):s<0?-0:0}function O(e){return S(e,11,52)}function M(e){return T(e,11,52)}function P(e){return S(e,8,23)}function I(e){return T(e,8,23)}f=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,r){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return n.HasProperty(r,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,r.get),n.HasProperty(r,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,r.set),n.HasProperty(r,"value")&&(e[t]=r.value),e},function(){function t(e){if((e=n.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;h(this)}function r(){}function a(e,a,o){var i;return i=function(e,r,a){var o,u,s,c;if(arguments.length&&"number"!=typeof arguments[0])if("object"===l(arguments[0])&&arguments[0].constructor===i)for(o=arguments[0],this.length=o.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s<this.length;s+=1)this._setter(s,o._getter(s));else if("object"!==l(arguments[0])||(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0]))){if("object"!==l(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(a),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(u=arguments[0],this.length=n.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s<this.length;s+=1)c=u[s],this._setter(s,Number(c));else{if(this.length=n.ToInt32(arguments[0]),a<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=i,h(this),function(e){if(f){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)r(t)}function r(t){f(e,t,{get:function(){return e._getter(t)},set:function(r){e._setter(t,r)},enumerable:!0,configurable:!1})}}(this)},i.prototype=new r,i.prototype.BYTES_PER_ELEMENT=e,i.prototype._pack=a,i.prototype._unpack=o,i.BYTES_PER_ELEMENT=e,i.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=n.ToUint32(e))>=this.length)){for(var t=[],r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},i.prototype.get=i.prototype._getter,i.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=n.ToUint32(e))<this.length){var r,a,o=this._pack(t);for(r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)this.buffer._bytes[a]=o[r]}},i.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var r,a,o,i,u,s,c,d,p,f;if("object"===l(arguments[0])&&arguments[0].constructor===this.constructor){if(r=arguments[0],(o=n.ToUint32(arguments[1]))+r.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(f=[],u=0,s=r.byteOffset;u<p;u+=1,s+=1)f[u]=r.buffer._bytes[s];for(u=0,c=d;u<p;u+=1,c+=1)this.buffer._bytes[c]=f[u]}else for(u=0,s=r.byteOffset,c=d;u<p;u+=1,s+=1,c+=1)this.buffer._bytes[c]=r.buffer._bytes[s]}else{if("object"!==l(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(a=arguments[0],i=n.ToUint32(a.length),(o=n.ToUint32(arguments[1]))+i>this.length)throw new RangeError("Offset plus length of array is out of range");for(u=0;u<i;u+=1)s=a[u],this._setter(o+u,Number(s))}},i.prototype.subarray=function(e,t){e=n.ToInt32(e),t=n.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=p(e,0,this.length);var r=(t=p(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},i}e.ArrayBuffer=e.ArrayBuffer||t;var o=a(1,b,y),i=a(1,w,D),u=a(1,x,D),s=a(2,E,A),c=a(2,F,C),d=a(4,k,N),m=a(4,R,_),g=a(4,I,P),v=a(8,M,O);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||i,e.Uint8ClampedArray=e.Uint8ClampedArray||u,e.Int16Array=e.Int16Array||s,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||m,e.Float32Array=e.Float32Array||g,e.Float64Array=e.Float64Array||v}(),function(){function t(e,t){return n.IsCallable(e.get)?e.get(t):e[t]}var r,a=(r=new e.Uint16Array([4660]),18===t(new e.Uint8Array(r.buffer),0));function o(t,r,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===n.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:n.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");h(this)}function i(r){return function(o,i){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u,s=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),l=[];for(u=0;u<r.BYTES_PER_ELEMENT;u+=1)l.push(t(s,u));return Boolean(i)===Boolean(a)&&l.reverse(),t(new r(new e.Uint8Array(l).buffer),0)}}function u(r){return function(o,i,u){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var s,l=new r([i]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s<r.BYTES_PER_ELEMENT;s+=1)d.push(t(c,s));Boolean(u)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT).set(d)}}o.prototype.getUint8=i(e.Uint8Array),o.prototype.getInt8=i(e.Int8Array),o.prototype.getUint16=i(e.Uint16Array),o.prototype.getInt16=i(e.Int16Array),o.prototype.getUint32=i(e.Uint32Array),o.prototype.getInt32=i(e.Int32Array),o.prototype.getFloat32=i(e.Float32Array),o.prototype.getFloat64=i(e.Float64Array),o.prototype.setUint8=u(e.Uint8Array),o.prototype.setInt8=u(e.Int8Array),o.prototype.setUint16=u(e.Uint16Array),o.prototype.setInt16=u(e.Int16Array),o.prototype.setUint32=u(e.Uint32Array),o.prototype.setInt32=u(e.Int32Array),o.prototype.setFloat32=u(e.Float32Array),o.prototype.setFloat64=u(e.Float64Array),e.DataView=e.DataView||o}()})),be=pe((function(e){!function(e){"use strict";if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap"+"_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!a(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+l(e))}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",(function(e){if(r(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)})),n(e.prototype,"get",(function(e){if(r(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),n(e.prototype,"has",(function(e){if(r(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),n(e.prototype,"set",(function(e,t){if(r(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(n(e,this._id,[e,t]),this)})),n(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==u?u:e)})),ye=pe((function(e,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":l(globalThis))&&globalThis)||r("object"==(void 0===i?"undefined":l(i))&&i)||r("object"==("undefined"==typeof self?"undefined":l(self))&&self)||r("object"==(void 0===u?"undefined":l(u))&&u)||r("object"==l(e)&&e)||function(){return this}()||Function("return this")()})),we=pe((function(e,t){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}})),De=pe((function(e,t){"use strict";var r=we();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),xe=pe((function(e,t){"use strict";var r=De(),n=Function.prototype,a=n.apply,o=n.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":l(Reflect))&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})})),Ee=pe((function(e,t){"use strict";var r=De(),n=Function.prototype,a=n.call,o=r&&n.bind.bind(a,a);t.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}})),Ae=pe((function(e,t){"use strict";var r=Ee(),n=r({}.toString),a=r("".slice);t.exports=function(e){return a(n(e),8,-1)}})),Fe=pe((function(e,t){"use strict";var r=Ae(),n=Ee();t.exports=function(e){if("Function"===r(e))return n(e)}})),Ce=pe((function(e,t){"use strict";var r="object"==(void 0===s?"undefined":l(s))&&s.all;t.exports=void 0===r&&void 0!==r?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}})),ke=pe((function(e,t){"use strict";var r=we();t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),Ne=pe((function(e,t){"use strict";var r=De(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),Re=pe((function(e){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),_e=pe((function(e,t){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),Te=pe((function(e,t){"use strict";var r=Ee(),n=we(),a=Ae(),o=Object,i=r("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?i(e,""):o(e)}:o})),Se=pe((function(e,t){"use strict";t.exports=function(e){return null==e}})),Oe=pe((function(e,t){"use strict";var r=Se(),n=TypeError;t.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}})),Me=pe((function(e,t){"use strict";var r=Te(),n=Oe();t.exports=function(e){return r(n(e))}})),Pe=pe((function(e,t){"use strict";var r=Ce();t.exports=function(e){return"object"==l(e)?null!==e:r(e)}})),Ie=pe((function(e,t){"use strict";t.exports={}})),Be=pe((function(e,t){"use strict";var r=Ie(),n=ye(),a=Ce(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e])||o(n[e]):r[e]&&r[e][t]||n[e]&&n[e][t]}})),Le=pe((function(e,t){"use strict";var r=Ee();t.exports=r({}.isPrototypeOf)})),je=pe((function(e,t){"use strict";var r=ye().navigator,n=r&&r.userAgent;t.exports=n?String(n):""})),qe=pe((function(e,t){"use strict";var r,n,a=ye(),o=je(),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,l=s&&s.v8;l&&(n=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),ze=pe((function(e,t){"use strict";var r=qe(),n=we(),a=ye().String;t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),Ve=pe((function(e,t){"use strict";var r=ze();t.exports=r&&!Symbol.sham&&"symbol"==l(Symbol.iterator)})),Ge=pe((function(e,t){"use strict";var r=Be(),n=Ce(),a=Le(),o=Ve(),i=Object;t.exports=o?function(e){return"symbol"==l(e)}:function(e){var t=r("Symbol");return n(t)&&a(t.prototype,i(e))}})),$e=pe((function(e,t){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}})),He=pe((function(e,t){"use strict";var r=Ce(),n=$e(),a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not a function")}})),Ue=pe((function(e,t){"use strict";var r=He(),n=Se();t.exports=function(e,t){var a=e[t];return n(a)?void 0:r(a)}})),We=pe((function(e,t){"use strict";var r=Ne(),n=Ce(),a=Pe(),o=TypeError;t.exports=function(e,t){var i,u;if("string"===t&&n(i=e.toString)&&!a(u=r(i,e)))return u;if(n(i=e.valueOf)&&!a(u=r(i,e)))return u;if("string"!==t&&n(i=e.toString)&&!a(u=r(i,e)))return u;throw new o("Can't convert object to primitive value")}})),Ye=pe((function(e,t){"use strict";t.exports=!0})),Ke=pe((function(e,t){"use strict";var r=ye(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}})),Xe=pe((function(e,t){"use strict";var r=Ye(),n=ye(),a=Ke(),o="__core-js_shared__",i=t.exports=n[o]||a(o,{});(i.versions||(i.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),Ze=pe((function(e,t){"use strict";var r=Xe();t.exports=function(e,t){return r[e]||(r[e]=t||{})}})),Je=pe((function(e,t){"use strict";var r=Oe(),n=Object;t.exports=function(e){return n(r(e))}})),Qe=pe((function(e,t){"use strict";var r=Ee(),n=Je(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(n(e),t)}})),et=pe((function(e,t){"use strict";var r=Ee(),n=0,a=Math.random(),o=r(1.1.toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+a,36)}})),tt=pe((function(e,t){"use strict";var r=ye(),n=Ze(),a=Qe(),o=et(),i=ze(),u=Ve(),s=r.Symbol,l=n("wks"),c=u?s.for||s:s&&s.withoutSetter||o;t.exports=function(e){return a(l,e)||(l[e]=i&&a(s,e)?s[e]:c("Symbol."+e)),l[e]}})),rt=pe((function(e,t){"use strict";var r=Ne(),n=Pe(),a=Ge(),o=Ue(),i=We(),u=tt(),s=TypeError,l=u("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var u,c=o(e,l);if(c){if(void 0===t&&(t="default"),u=r(c,e,t),!n(u)||a(u))return u;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}})),nt=pe((function(e,t){"use strict";var r=rt(),n=Ge();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),at=pe((function(e,t){"use strict";var r=ye(),n=Pe(),a=r.document,o=n(a)&&n(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}})),ot=pe((function(e,t){"use strict";var r=ke(),n=we(),a=at();t.exports=!r&&!n((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),it=pe((function(e){"use strict";var t=ke(),r=Ne(),n=Re(),a=_e(),o=Me(),i=nt(),u=Qe(),s=ot(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=o(e),t=i(t),s)try{return l(e,t)}catch(e){}if(u(e,t))return a(!r(n.f,e,t),e[t])}})),ut=pe((function(e,t){"use strict";var r=we(),n=Ce(),a=/#|\.prototype\./,o=function(e,t){var a=u[i(e)];return a===l||a!==s&&(n(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o})),st=pe((function(e,t){"use strict";var r=Fe(),n=He(),a=De(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}})),lt=pe((function(e,t){"use strict";var r=ke(),n=we();t.exports=r&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),ct=pe((function(e,t){"use strict";var r=Pe(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not an object")}})),dt=pe((function(e){"use strict";var t=ke(),r=ot(),n=lt(),a=ct(),o=nt(),i=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=s(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:l in r?r[l]:n[l],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),pt=pe((function(e,t){"use strict";var r=ke(),n=dt(),a=_e();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),ft=pe((function(e,t){"use strict";var r=ye(),n=xe(),a=Fe(),o=Ce(),i=it().f,u=ut(),s=Ie(),c=st(),d=pt(),p=Qe();Xe();var f=function(e){var t=function(r,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,a)}return new e(r,a,o)}return n(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var n,m,h,g,v,b,y,w,D,x=e.target,E=e.global,A=e.stat,F=e.proto,C=E?r:A?r[x]:r[x]&&r[x].prototype,k=E?s:s[x]||d(s,x,{})[x],N=k.prototype;for(g in t)m=!(n=u(E?g:x+(A?".":"#")+g,e.forced))&&C&&p(C,g),b=k[g],m&&(y=e.dontCallGetSet?(D=i(C,g))&&D.value:C[g]),v=m&&y?y:t[g],(n||F||l(b)!=l(v))&&(w=e.bind&&m?c(v,r):e.wrap&&m?f(v):F&&o(v)?a(v):v,(e.sham||v&&v.sham||b&&b.sham)&&d(w,"sham",!0),d(k,g,w),F&&(p(s,h=x+"Prototype")||d(s,h,{}),d(s[h],g,v),e.real&&N&&(n||!N[g])&&d(N,g,v)))}})),mt=pe((function(){"use strict";ft()({target:"Object",stat:!0},{hasOwn:Qe()})})),ht=pe((function(e,t){"use strict";mt();var r=Ie();t.exports=r.Object.hasOwn})),gt=pe((function(e,t){"use strict";var r=ht();t.exports=r})),vt=pe((function(e,t){"use strict";var r=gt();t.exports=r})),bt=pe((function(e,t){"use strict";var r=Ze(),n=et(),a=r("keys");t.exports=function(e){return a[e]||(a[e]=n(e))}})),yt=pe((function(e,t){"use strict";var r=we();t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))})),wt=pe((function(e,t){"use strict";var r=Qe(),n=Ce(),a=Je(),o=bt(),i=yt(),u=o("IE_PROTO"),s=Object,l=s.prototype;t.exports=i?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var o=t.constructor;return n(o)&&t instanceof o?o.prototype:t instanceof s?l:null}})),Dt=pe((function(e,t){"use strict";var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),xt=pe((function(e,t){"use strict";var r=Dt();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}})),Et=pe((function(e,t){"use strict";var r=xt(),n=Math.max,a=Math.min;t.exports=function(e,t){var o=r(e);return o<0?n(o+t,0):a(o,t)}})),At=pe((function(e,t){"use strict";var r=xt(),n=Math.min;t.exports=function(e){var t=r(e);return t>0?n(t,9007199254740991):0}})),Ft=pe((function(e,t){"use strict";var r=At();t.exports=function(e){return r(e.length)}})),Ct=pe((function(e,t){"use strict";var r=Me(),n=Et(),a=Ft(),o=function(e){return function(t,o,i){var u=r(t),s=a(u);if(0===s)return!e&&-1;var l,c=n(i,s);if(e&&o!=o){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}})),kt=pe((function(e,t){"use strict";t.exports={}})),Nt=pe((function(e,t){"use strict";var r=Ee(),n=Qe(),a=Me(),o=Ct().indexOf,i=kt(),u=r([].push);t.exports=function(e,t){var r,s=a(e),l=0,c=[];for(r in s)!n(i,r)&&n(s,r)&&u(c,r);for(;t.length>l;)n(s,r=t[l++])&&(~o(c,r)||u(c,r));return c}})),Rt=pe((function(e,t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),_t=pe((function(e,t){"use strict";var r=Nt(),n=Rt();t.exports=Object.keys||function(e){return r(e,n)}})),Tt=pe((function(e,t){"use strict";var r=ke(),n=we(),a=Ee(),o=wt(),i=_t(),u=Me(),s=a(Re().f),l=a([].push),c=r&&n((function(){var e=Object.create(null);return e[2]=2,!s(e,2)})),d=function(e){return function(t){for(var n,a=u(t),d=i(a),p=c&&null===o(a),f=d.length,m=0,h=[];f>m;)n=d[m++],r&&!(p?n in a:s(a,n))||l(h,e?[n,a[n]]:a[n]);return h}};t.exports={entries:d(!0),values:d(!1)}})),St=pe((function(){"use strict";var e=ft(),t=Tt().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})})),Ot=pe((function(e,t){"use strict";St();var r=Ie();t.exports=r.Object.values})),Mt=pe((function(e,t){"use strict";var r=Ot();t.exports=r})),Pt=pe((function(e,t){"use strict";var r=Mt();t.exports=r})),It=pe((function(e,t){"use strict";var r={};r[tt()("toStringTag")]="z",t.exports="[object z]"===String(r)})),Bt=pe((function(e,t){"use strict";var r=It(),n=Ce(),a=Ae(),o=tt()("toStringTag"),i=Object,u="Arguments"===a(function(){return arguments}());t.exports=r?a:function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=i(e),o))?r:u?a(t):"Object"===(s=a(t))&&n(t.callee)?"Arguments":s}})),Lt=pe((function(e,t){"use strict";var r=Bt(),n=String;t.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}})),jt=pe((function(e,t){"use strict";var r=Ee(),n=xt(),a=Lt(),o=Oe(),i=r("".charAt),u=r("".charCodeAt),s=r("".slice),l=function(e){return function(t,r){var l,c,d=a(o(t)),p=n(r),f=d.length;return p<0||p>=f?e?"":void 0:(l=u(d,p))<55296||l>56319||p+1===f||(c=u(d,p+1))<56320||c>57343?e?i(d,p):l:e?s(d,p,p+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}})),qt=pe((function(e,t){"use strict";var r=ye(),n=Ce(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a))})),zt=pe((function(e,t){"use strict";var r,n,a,o,i,u=qt(),s=ye(),l=Pe(),c=pt(),d=Qe(),p=Xe(),f=bt(),m=kt(),h="Object already initialized",g=s.TypeError,v=s.WeakMap;u||p.state?((o=p.state||(p.state=new v)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw new g(h);return t.facade=e,o.set(e,t),t},n=function(e){return o.get(e)||{}},a=function(e){return o.has(e)}):(m[i=f("state")]=!0,r=function(e,t){if(d(e,i))throw new g(h);return t.facade=e,c(e,i,t),t},n=function(e){return d(e,i)?e[i]:{}},a=function(e){return d(e,i)}),t.exports={set:r,get:n,has:a,enforce:function(e){return a(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=n(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}})),Vt=pe((function(e,t){"use strict";var r=ke(),n=Qe(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,i=n(a,"name"),u=i&&"something"===function(){}.name,s=i&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}})),Gt=pe((function(e){"use strict";var t=ke(),r=lt(),n=dt(),a=ct(),o=Me(),i=_t();e.f=t&&!r?Object.defineProperties:function(e,t){a(e);for(var r,u=o(t),s=i(t),l=s.length,c=0;l>c;)n.f(e,r=s[c++],u[r]);return e}})),$t=pe((function(e,t){"use strict";var r=Be();t.exports=r("document","documentElement")})),Ht=pe((function(e,t){"use strict";var r,n=ct(),a=Gt(),o=Rt(),i=kt(),u=$t(),l=at(),c=bt(),d="prototype",p="script",f=c("IE_PROTO"),m=function(){},h=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v=void 0!==s?s.domain&&r?g(r):(t=l("iframe"),n="java"+p+":",t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):g(r);for(var a=o.length;a--;)delete v[d][o[a]];return v()};i[f]=!0,t.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=n(e),r=new m,m[d]=null,r[f]=e):r=v(),void 0===t?r:a.f(r,t)}})),Ut=pe((function(e,t){"use strict";var r=pt();t.exports=function(e,t,n,a){return a&&a.enumerable?e[t]=n:r(e,t,n),e}})),Wt=pe((function(e,t){"use strict";var r,n,a,o=we(),i=Ce(),u=Pe(),s=Ht(),l=wt(),c=Ut(),d=tt(),p=Ye(),f=d("iterator"),m=!1;[].keys&&("next"in(a=[].keys())?(n=l(l(a)))!==Object.prototype&&(r=n):m=!0),!u(r)||o((function(){var e={};return r[f].call(e)!==e}))?r={}:p&&(r=s(r)),i(r[f])||c(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}})),Yt=pe((function(e,t){"use strict";var r=It(),n=Bt();t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}})),Kt=pe((function(e,t){"use strict";var r=It(),n=dt().f,a=pt(),o=Qe(),i=Yt(),u=tt()("toStringTag");t.exports=function(e,t,s,l){var c=s?e:e&&e.prototype;c&&(o(c,u)||n(c,u,{configurable:!0,value:t}),l&&!r&&a(c,"toString",i))}})),Xt=pe((function(e,t){"use strict";t.exports={}})),Zt=pe((function(e,t){"use strict";var r=Wt().IteratorPrototype,n=Ht(),a=_e(),o=Kt(),i=Xt(),u=function(){return this};t.exports=function(e,t,s,l){var c=t+" Iterator";return e.prototype=n(r,{next:a(+!l,s)}),o(e,c,!1,!0),i[c]=u,e}})),Jt=pe((function(e,t){"use strict";var r=Ee(),n=He();t.exports=function(e,t,a){try{return r(n(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}})),Qt=pe((function(e,t){"use strict";var r=Pe();t.exports=function(e){return r(e)||null===e}})),er=pe((function(e,t){"use strict";var r=Qt(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a("Can't set "+n(e)+" as a prototype")}})),tr=pe((function(e,t){"use strict";var r=Jt(),n=Pe(),a=Oe(),o=er();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=r(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(e){}return function(r,i){return a(r),o(i),n(r)?(t?e(r,i):r.__proto__=i,r):r}}():void 0)})),rr=pe((function(e,t){"use strict";var r=ft(),n=Ne(),a=Ye(),o=Vt(),i=Ce(),u=Zt(),s=wt(),l=tr(),c=Kt(),d=pt(),p=Ut(),f=tt(),m=Xt(),h=Wt(),g=o.PROPER,v=o.CONFIGURABLE,b=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,w=f("iterator"),D="keys",x="values",E="entries",A=function(){return this};t.exports=function(e,t,o,f,h,F,C){u(o,t,f);var k,N,R,_=function(e){if(e===h&&P)return P;if(!y&&e&&e in O)return O[e];switch(e){case D:case x:case E:return function(){return new o(this,e)}}return function(){return new o(this)}},T=t+" Iterator",S=!1,O=e.prototype,M=O[w]||O["@@iterator"]||h&&O[h],P=!y&&M||_(h),I="Array"===t&&O.entries||M;if(I&&(k=s(I.call(new e)))!==Object.prototype&&k.next&&(a||s(k)===b||(l?l(k,b):i(k[w])||p(k,w,A)),c(k,T,!0,!0),a&&(m[T]=A)),g&&h===x&&M&&M.name!==x&&(!a&&v?d(O,"name",x):(S=!0,P=function(){return n(M,this)})),h)if(N={values:_(x),keys:F?P:_(D),entries:_(E)},C)for(R in N)(y||S||!(R in O))&&p(O,R,N[R]);else r({target:t,proto:!0,forced:y||S},N);return a&&!C||O[w]===P||p(O,w,P,{name:h}),m[t]=P,N}})),nr=pe((function(e,t){"use strict";t.exports=function(e,t){return{value:e,done:t}}})),ar=pe((function(){"use strict";var e=jt().charAt,t=Lt(),r=zt(),n=rr(),a=nr(),o="String Iterator",i=r.set,u=r.getterFor(o);n(String,"String",(function(e){i(this,{type:o,string:t(e),index:0})}),(function(){var t,r=u(this),n=r.string,o=r.index;return o>=n.length?a(void 0,!0):(t=e(n,o),r.index+=t.length,a(t,!1))}))})),or=pe((function(e,t){"use strict";var r=Ne(),n=ct(),a=Ue();t.exports=function(e,t,o){var i,u;n(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw o;return o}i=r(i,e)}catch(e){u=!0,i=e}if("throw"===t)throw o;if(u)throw i;return n(i),o}})),ir=pe((function(e,t){"use strict";var r=ct(),n=or();t.exports=function(e,t,a,o){try{return o?t(r(a)[0],a[1]):t(a)}catch(t){n(e,"throw",t)}}})),ur=pe((function(e,t){"use strict";var r=tt(),n=Xt(),a=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||o[a]===e)}})),sr=pe((function(e,t){"use strict";var r=Ee(),n=Ce(),a=Xe(),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),t.exports=a.inspectSource})),lr=pe((function(e,t){"use strict";var r=Ee(),n=we(),a=Ce(),o=Bt(),i=Be(),u=sr(),s=function(){},l=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),p=!c.test(s),f=function(e){if(!a(e))return!1;try{return l(s,[],e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(c,u(e))}catch(e){return!0}};m.sham=!0,t.exports=!l||n((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?m:f})),cr=pe((function(e,t){"use strict";var r=ke(),n=dt(),a=_e();t.exports=function(e,t,o){r?n.f(e,t,a(0,o)):e[t]=o}})),dr=pe((function(e,t){"use strict";var r=Bt(),n=Ue(),a=Se(),o=Xt(),i=tt()("iterator");t.exports=function(e){if(!a(e))return n(e,i)||n(e,"@@iterator")||o[r(e)]}})),pr=pe((function(e,t){"use strict";var r=Ne(),n=He(),a=ct(),o=$e(),i=dr(),u=TypeError;t.exports=function(e,t){var s=arguments.length<2?i(e):t;if(n(s))return a(r(s,e));throw new u(o(e)+" is not iterable")}})),fr=pe((function(e,t){"use strict";var r=st(),n=Ne(),a=Je(),o=ir(),i=ur(),u=lr(),s=Ft(),l=cr(),c=pr(),d=dr(),p=Array;t.exports=function(e){var t=a(e),f=u(this),m=arguments.length,h=m>1?arguments[1]:void 0,g=void 0!==h;g&&(h=r(h,m>2?arguments[2]:void 0));var v,b,y,w,D,x,E=d(t),A=0;if(!E||this===p&&i(E))for(v=s(t),b=f?new this(v):p(v);v>A;A++)x=g?h(t[A],A):t[A],l(b,A,x);else for(b=f?new this:[],D=(w=c(t,E)).next;!(y=n(D,w)).done;A++)x=g?o(w,h,[y.value,A],!0):y.value,l(b,A,x);return b.length=A,b}})),mr=pe((function(e,t){"use strict";var r,n,a=tt()("iterator"),o=!1;try{r=0,(n={next:function(){return{done:!!r++}},return:function(){o=!0}})[a]=function(){return this},Array.from(n,(function(){throw 2}))}catch(e){}t.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var n={};n[a]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}})),hr=pe((function(){"use strict";var e=ft(),t=fr();e({target:"Array",stat:!0,forced:!mr()((function(e){Array.from(e)}))},{from:t})})),gr=pe((function(e,t){"use strict";ar(),hr();var r=Ie();t.exports=r.Array.from})),vr=pe((function(e,t){"use strict";var r=gr();t.exports=r})),br=pe((function(e,t){"use strict";var r=vr();t.exports=r})),yr=pe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var r=t.length,n="",a=0;a<r;){var o=t.charAt(a);if(e.identSpecialChars[o])n+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")n+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var u=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&u)+65536}n+="\\"+i.toString(16)+" "}a++}return n},e.escapeStr=function(t){for(var r,n=t.length,a="",o=0;o<n;){var i=t.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":void 0!==(r=e.strReplacementsRev[i])&&(i=r),a+=i,o++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}})),wr=pe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=yr();e.parseCssSelector=function(e,r,n,a,o,i){var u=e.length,s="";function l(n,a){var o="";for(r++,s=e.charAt(r);r<u;){if(s===n)return r++,o;if("\\"===s){r++;var i=void 0;if((s=e.charAt(r))===n)o+=n;else if(void 0!==(i=a[s]))o+=i;else{if(t.isHex(s)){var l=s;for(r++,s=e.charAt(r);t.isHex(s);)l+=s,r++,s=e.charAt(r);" "===s&&(r++,s=e.charAt(r)),o+=String.fromCharCode(parseInt(l,16));continue}o+=s}}else o+=s;r++,s=e.charAt(r)}return o}function c(){var n="";for(s=e.charAt(r);r<u;){if(t.isIdent(s))n+=s;else{if("\\"!==s)return n;if(++r>=u)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(r),t.identSpecialChars[s])n+=s;else{if(t.isHex(s)){var a=s;for(r++,s=e.charAt(r);t.isHex(s);)a+=s,r++,s=e.charAt(r);" "===s&&(r++,s=e.charAt(r)),n+=String.fromCharCode(parseInt(a,16));continue}n+=s}}r++,s=e.charAt(r)}return n}function d(){s=e.charAt(r);for(var t=!1;" "===s||"\t"===s||"\n"===s||"\r"===s||"\f"===s;)t=!0,r++,s=e.charAt(r);return t}function p(){var t=f();if(!t)return null;var n=t;for(s=e.charAt(r);","===s;){if(r++,d(),"selectors"!==n.type&&(n={type:"selectors",selectors:[t]}),!(t=f()))throw Error('Rule expected after ",".');n.selectors.push(t)}return n}function f(){d();var t={type:"ruleSet"},n=m();if(!n)return null;for(var a=t;n&&(n.type="rule",a.rule=n,a=n,d(),s=e.charAt(r),!(r>=u||","===s||")"===s));)if(o[s]){var i=s;if(r++,d(),!(n=m()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=m())&&(n.nestingOperator=null);return t}function m(){for(var o=null;r<u;)if("*"===(s=e.charAt(r)))r++,(o=o||{}).tagName="*";else if(t.isIdentStart(s)||"\\"===s)(o=o||{}).tagName=c();else if("."===s)r++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===s)r++,(o=o||{}).id=c();else if("["===s){r++,d();var f={name:c()};if(d(),"]"===s)r++;else{var m="";if(a[s]&&(m=s,r++,s=e.charAt(r)),r>=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');f.operator=m+"=",r++,d();var h="";if(f.valueType="string",'"'===s)h=l('"',t.doubleQuotesEscapeChars);else if("'"===s)h=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,h=c(),f.valueType="substitute";else{for(;r<u&&"]"!==s;)h+=s,r++,s=e.charAt(r);h=h.trim()}if(d(),r>=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');r++,f.value=h}((o=o||{}).attrs=o.attrs||[]).push(f)}else{if(":"!==s)break;r++;var g=c(),v={name:g};if("("===s){r++;var b="";if(d(),"selector"===n[g])v.valueType="selector",b=p();else{if(v.valueType=n[g]||"string",'"'===s)b=l('"',t.doubleQuotesEscapeChars);else if("'"===s)b=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,b=c(),v.valueType="substitute";else{for(;r<u&&")"!==s;)b+=s,r++,s=e.charAt(r);b=b.trim()}d()}if(r>=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');r++,v.value=b}((o=o||{}).pseudos=o.pseudos||[]).push(v)}return o}return function(){var t=p();if(r<u)throw Error('Rule expected but "'+e.charAt(r)+'" found.');return t}()}})),Dr=pe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=yr();e.renderEntity=function e(r){var n="";switch(r.type){case"ruleSet":for(var a=r.rule,o=[];a;)a.nestingOperator&&o.push(a.nestingOperator),o.push(e(a)),a=a.rule;n=o.join(" ");break;case"selectors":n=r.selectors.map(e).join(", ");break;case"rule":r.tagName&&(n="*"===r.tagName?"*":t.escapeIdentifier(r.tagName)),r.id&&(n+="#"+t.escapeIdentifier(r.id)),r.classNames&&(n+=r.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),r.attrs&&(n+=r.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),r.pseudos&&(n+=r.pseudos.map((function(r){return r.valueType?"selector"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+e(r.value)+")":"substitute"===r.valueType?":"+t.escapeIdentifier(r.name)+"($"+r.value+")":"numeric"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+r.value+")":":"+t.escapeIdentifier(r.name)+"("+t.escapeIdentifier(r.value)+")":":"+t.escapeIdentifier(r.name)})).join(""));break;default:throw Error('Unknown entity type: "'+r.type+'".')}return n}})),xr=pe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=wr(),r=Dr(),n=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.ruleNestingOperators[a]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.ruleNestingOperators[a]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.attrEqualityMods[a]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.attrEqualityMods[a]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return r.renderEntity(e).trim()},e}();e.CssSelectorParser=n})),Er=pe((function(e,t){!function(){"use strict";var n={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":l(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==u)return u;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),n.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,(function(e){return t[e]||e})):""}},void 0!==t&&t.exports?t.exports=n:void 0===(a=function(){return n}.call(e,r,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},s=/$^/;function c(e,t,r){return("string"==typeof t?t:t.toString()).replace(e.define||s,(function(t,n,a,o){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in r||(":"===a?(e.defineParams&&o.replace(e.defineParams,(function(e,t,a){r[n]={arg:t,text:a}})),n in r||(r[n]=o)):new Function("def","def['"+n+"']="+o)(r)),""})).replace(e.use||s,(function(t,n){e.useParams&&(n=n.replace(e.useParams,(function(e,t,n,a){if(r[n]&&r[n].arg&&a){var o=(n+":"+a).replace(/'|\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[n].text.replace(new RegExp("(^|[^\\w$])"+r[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}})));var a=new Function("def","return "+n)(r);return a?c(e,a,r):a}))}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}n.template=function(e,t,r){var a,i,u=(t=t||n.templateSettings).append?o.append:o.split,l=0,p=t.use||t.define?c(t,e,r||{}):e;p=("var out='"+(t.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(t.interpolate||s,(function(e,t){return u.start+d(t)+u.end})).replace(t.encode||s,(function(e,t){return a=!0,u.startencode+d(t)+u.end})).replace(t.conditional||s,(function(e,t,r){return t?r?"';}else if("+d(r)+"){out+='":"';}else{out+='":r?"';if("+d(r)+"){out+='":"';}out+='"})).replace(t.iterate||s,(function(e,t,r,n){return t?(l+=1,i=n||"i"+l,t=d(t),"';var arr"+l+"="+t+";if(arr"+l+"){var "+r+","+i+"=-1,l"+l+"=arr"+l+".length-1;while("+i+"<l"+l+"){"+r+"=arr"+l+"["+i+"+=1];out+='"):"';} } out+='"})).replace(t.evaluate||s,(function(e,t){return"';"+d(t)+"out+='"}))+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(t.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=n.encodeHTMLSource(t.doNotSkipEncoded)),p="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+n.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+p);try{return new Function(t.varname,p)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+p),e}},n.compile=function(e,t){return n.template(e,null,t)}}()})),Ar=pe((function(e,t){"use strict";t.exports=function(){}})),Fr=pe((function(e,t){"use strict";var r=Ar()();t.exports=function(e){return e!==r&&null!==e}})),Cr=pe((function(e,t){"use strict";var r=Fr(),n=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return n.call(arguments,(function(e){r(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)})),t}})),kr=pe((function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&(1===e(10)&&-1===e(-20))}})),Nr=pe((function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}})),Rr=pe((function(e,t){"use strict";t.exports=kr()()?Math.sign:Nr()})),_r=pe((function(e,t){"use strict";var r=Rr(),n=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*a(n(e)):e}})),Tr=pe((function(e,t){"use strict";var r=_r(),n=Math.max;t.exports=function(e){return n(0,r(e))}})),Sr=pe((function(e,t){"use strict";var r=Tr();t.exports=function(e,t,n){var a;return isNaN(e)?(a=t)>=0?n&&a?a-1:a:1:!1!==e&&r(e)}})),Or=pe((function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),Mr=pe((function(e,t){"use strict";var r=Fr();t.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}})),Pr=pe((function(e,t){"use strict";var r=Or(),n=Mr(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,l){var c,d=arguments[2],p=arguments[3];return s=Object(n(s)),r(l),c=i(s),p&&c.sort("function"==typeof p?a.call(p,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,(function(e,r){return u.call(s,e)?o.call(l,d,s[e],e,s,r):t}))}}})),Ir=pe((function(e,t){"use strict";t.exports=Pr()("forEach")})),Br=pe((function(){})),Lr=pe((function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}})),jr=pe((function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),qr=pe((function(e,t){"use strict";var r=Fr(),n=Object.keys;t.exports=function(e){return n(r(e)?Object(e):e)}})),zr=pe((function(e,t){"use strict";t.exports=jr()()?Object.keys:qr()})),Vr=pe((function(e,t){"use strict";var r=zr(),n=Mr(),a=Math.max;t.exports=function(e,t){var o,i,u,s=a(arguments.length,2);for(e=Object(n(e)),u=function(r){try{e[r]=t[r]}catch(e){o||(o=e)}},i=1;i<s;++i)r(t=arguments[i]).forEach(u);if(void 0!==o)throw o;return e}})),Gr=pe((function(e,t){"use strict";t.exports=Lr()()?Object.assign:Vr()})),$r=pe((function(e,t){"use strict";var r=Fr(),n={function:!0,object:!0};t.exports=function(e){return r(e)&&n[l(e)]||!1}})),Hr=pe((function(e,t){"use strict";var r=Gr(),n=$r(),a=Fr(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),u=arguments[1],s=arguments[2];return a(s)||n(u)&&(s=u,u=null),a(s)&&r(i,s),a(u)&&(i.code=u),o&&o(i,t.exports),i}})),Ur=pe((function(e,t){"use strict";var r=Mr(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var u,s=Object(r(t));if(e=Object(r(e)),o(s).forEach((function(r){try{n(e,r,a(t,r))}catch(e){u=e}})),"function"==typeof i&&i(s).forEach((function(r){try{n(e,r,a(t,r))}catch(e){u=e}})),void 0!==u)throw u;return e}})),Wr=pe((function(e,t){"use strict";var r,n,a,o,i,u=Tr(),s=function(e,t){return t};try{Object.defineProperty(s,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===s.length?(r={configurable:!0,writable:!1,enumerable:!1},n=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(r.value=t,n(e,"length",r))}):(o=Ur(),i=[],a=function(e){var t,r=0;if(i[e])return i[e];for(t=[];e--;)t.push("a"+(++r).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var r;if(t=u(t),e.length===t)return e;r=a(t)(e);try{o(r,e)}catch(e){}return r})})),Yr=pe((function(e,t){"use strict";t.exports=function(e){return null!=e}})),Kr=pe((function(e,t){"use strict";var r=Yr(),n={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,l(e))}})),Xr=pe((function(e,t){"use strict";var r=Kr();t.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),Zr=pe((function(e,t){"use strict";var r=Xr();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}})),Jr=pe((function(e,t){"use strict";var r=Zr(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!r(e)&&!n.test(a.call(e))}})),Qr=pe((function(e,t){"use strict";var r="razdwatrzy";t.exports=function(){return"function"==typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}})),en=pe((function(e,t){"use strict";var r=String.prototype.indexOf;t.exports=function(e){return r.call(this,e,arguments[1])>-1}})),tn=pe((function(e,t){"use strict";t.exports=Qr()()?String.prototype.contains:en()})),rn=pe((function(e,t){"use strict";var r=Yr(),n=Jr(),a=Gr(),o=Cr(),i=tn(),u=t.exports=function(e,t){var n,u,s,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],r(e)?(n=i.call(e,"c"),u=i.call(e,"e"),s=i.call(e,"w")):(n=s=!0,u=!1),c={value:t,configurable:n,enumerable:u,writable:s},l?a(o(l),c):c};u.gs=function(e,t,u){var s,l,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],r(t)?n(t)?r(u)?n(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,r(e)?(s=i.call(e,"c"),l=i.call(e,"e")):(s=!0,l=!1),d={get:t,set:u,configurable:s,enumerable:l},c?a(o(c),d):d}})),nn=pe((function(e,t){"use strict";var r,n,a,o,i,u,s,c=rn(),d=Or(),p=Function.prototype.apply,f=Function.prototype.call,m=Object.create,h=Object.defineProperty,g=Object.defineProperties,v=Object.prototype.hasOwnProperty,b={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){a.call(o,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var r,n,a,o;if(d(t),!v.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if(n=r[e],"object"===l(n))for(o=0;a=n[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},o=function(e){var t,r,n,a,o;if(v.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===l(a)){for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];for(a=a.slice(),t=0;n=a[t];++t)p.call(n,this,o)}else switch(arguments.length){case 1:f.call(a,this);break;case 2:f.call(a,this,arguments[1]);break;case 3:f.call(a,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];p.call(a,this,o)}},i={on:r=function(e,t){var r;return d(t),v.call(this,"__ee__")?r=this.__ee__:(r=b.value=m(null),h(this,"__ee__",b),b.value=null),r[e]?"object"===l(r[e])?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},once:n,off:a,emit:o},u={on:c(r),once:c(n),off:c(a),emit:c(o)},s=g({},u),t.exports=e=function(e){return null==e?m(s):g(Object(e),u)},e.methods=i})),an=pe((function(e,t){"use strict";t.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&(t=r(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),on=pe((function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":l(globalThis))&&(!!globalThis&&globalThis.Array===Array)}})),un=pe((function(e,t){var r=function(){if("object"===("undefined"==typeof self?"undefined":l(self))&&self)return self;if("object"===(void 0===i?"undefined":l(i))&&i)return i;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()})),sn=pe((function(e,t){"use strict";t.exports=on()()?globalThis:un()})),ln=pe((function(e,t){"use strict";var r=sn(),n={object:!0,symbol:!0};t.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!n[l(t.iterator)]&&(!!n[l(t.toPrimitive)]&&!!n[l(t.toStringTag)])}})),cn=pe((function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===l(e)||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}})),dn=pe((function(e,t){"use strict";var r=cn();t.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}})),pn=pe((function(e,t){"use strict";var r=rn(),n=Object.create,a=Object.defineProperty,o=Object.prototype,i=n(null);t.exports=function(e){for(var t,n,u=0;i[e+(u||"")];)++u;return i[e+=u||""]=!0,a(o,t="@@"+e,r.gs(null,(function(e){n||(n=!0,a(this,t,r(e)),n=!1)}))),t}})),fn=pe((function(e,t){"use strict";var r=rn(),n=sn().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))})}})),mn=pe((function(e,t){"use strict";var r=rn(),n=dn(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:r((function(t){return a[t]?a[t]:a[t]=e(String(t))})),keyFor:r((function(e){var t;for(t in n(e),a)if(a[t]===e)return t}))})}})),hn=pe((function(e,t){"use strict";var r,n,a,o=rn(),i=dn(),u=sn().Symbol,s=pn(),c=fn(),d=mn(),p=Object.create,f=Object.defineProperties,m=Object.defineProperty;if("function"==typeof u)try{String(u()),a=!0}catch(e){}else u=null;n=function(e){if(this instanceof n)throw new TypeError("Symbol is not a constructor");return r(e)},t.exports=r=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?u(t):(r=p(n.prototype),t=void 0===t?"":String(t),f(r,{__description__:o("",t),__name__:o("",s(t))}))},c(r),d(r),f(n.prototype,{constructor:o(r),toString:o("",(function(){return this.__name__}))}),f(r.prototype,{toString:o((function(){return"Symbol ("+i(this).__description__+")"})),valueOf:o((function(){return i(this)}))}),m(r.prototype,r.toPrimitive,o("",(function(){var e=i(this);return"symbol"===l(e)?e:e.toString()}))),m(r.prototype,r.toStringTag,o("c","Symbol")),m(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),m(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]))})),gn=pe((function(e,t){"use strict";t.exports=ln()()?sn().Symbol:hn()})),vn=pe((function(e,t){"use strict";var r=Object.prototype.toString,n=r.call(function(){return arguments}());t.exports=function(e){return r.call(e)===n}})),bn=pe((function(e,t){"use strict";var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&n(r.call(e))}})),yn=pe((function(e,t){"use strict";var r=Object.prototype.toString,n=r.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===l(e)&&(e instanceof String||r.call(e)===n)||!1}})),wn=pe((function(e,t){"use strict";var r=gn().iterator,n=vn(),a=bn(),o=Tr(),i=Or(),u=Mr(),s=Fr(),l=yn(),c=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},f=Object.defineProperty;t.exports=function(e){var t,m,h,g,v,b,y,w,D,x,E=arguments[1],A=arguments[2];if(e=Object(u(e)),s(E)&&i(E),this&&this!==Array&&a(this))t=this;else{if(!E){if(n(e))return 1!==(v=e.length)?Array.apply(null,e):((g=new Array(1))[0]=e[0],g);if(c(e)){for(g=new Array(v=e.length),m=0;m<v;++m)g[m]=e[m];return g}}g=[]}if(!c(e))if(void 0!==(D=e[r])){for(y=i(D).call(e),t&&(g=new t),w=y.next(),m=0;!w.done;)x=E?d.call(E,A,w.value,m):w.value,t?(p.value=x,f(g,m,p)):g[m]=x,w=y.next(),++m;v=m}else if(l(e)){for(v=e.length,t&&(g=new t),m=0,h=0;m<v;++m)x=e[m],m+1<v&&(b=x.charCodeAt(0))>=55296&&b<=56319&&(x+=e[++m]),x=E?d.call(E,A,x,h):x,t?(p.value=x,f(g,h,p)):g[h]=x,++h;v=h}if(void 0===v)for(v=o(e.length),t&&(g=new t(v)),m=0;m<v;++m)x=E?d.call(E,A,e[m],m):e[m],t?(p.value=x,f(g,m,p)):g[m]=x;return t&&(p.value=null,g.length=v),g}})),Dn=pe((function(e,t){"use strict";t.exports=an()()?Array.from:wn()})),xn=pe((function(e,t){"use strict";var r=Dn(),n=Array.isArray;t.exports=function(e){return n(e)?e:r(e)}})),En=pe((function(e,t){"use strict";var r,n=xn(),a=Fr(),o=Or(),i=Array.prototype.slice;r=function(e){return this.map((function(t,r){return t?t(e[r]):e[r]})).concat(i.call(e,this.length))},t.exports=function(e){return(e=n(e)).forEach((function(e){a(e)&&o(e)})),r.bind(e)}})),An=pe((function(e,t){"use strict";var r=Or();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}})),Fn=pe((function(e,t){"use strict";var r=Hr(),n=Wr(),a=rn(),o=nn().methods,i=En(),u=An(),s=Function.prototype.apply,l=Function.prototype.call,c=Object.create,d=Object.defineProperties,p=o.on,f=o.emit;t.exports=function(e,t,o){var m,h,g,v,b,y,w,D,x,E,A,F,C,k,N,R=c(null);return h=!1!==t?t:isNaN(e.length)?1:e.length,o.normalizer&&(E=u(o.normalizer),g=E.get,v=E.set,b=E.delete,y=E.clear),null!=o.resolvers&&(N=i(o.resolvers)),k=g?n((function(t){var n,a,o=arguments;if(N&&(o=N(o)),null!==(n=g(o))&&hasOwnProperty.call(R,n))return A&&m.emit("get",n,o,this),R[n];if(a=1===o.length?l.call(e,this,o[0]):s.call(e,this,o),null===n){if(null!==(n=g(o)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=v(o)}else if(hasOwnProperty.call(R,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return R[n]=a,F&&m.emit("set",n,null,a),a}),h):0===t?function(){var t;if(hasOwnProperty.call(R,"data"))return A&&m.emit("get","data",arguments,this),R.data;if(t=arguments.length?s.call(e,this,arguments):l.call(e,this),hasOwnProperty.call(R,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return R.data=t,F&&m.emit("set","data",null,t),t}:function(t){var n,a,o=arguments;if(N&&(o=N(arguments)),a=String(o[0]),hasOwnProperty.call(R,a))return A&&m.emit("get",a,o,this),R[a];if(n=1===o.length?l.call(e,this,o[0]):s.call(e,this,o),hasOwnProperty.call(R,a))throw r("Circular invocation","CIRCULAR_INVOCATION");return R[a]=n,F&&m.emit("set",a,null,n),n},m={original:e,memoized:k,profileName:o.profileName,get:function(e){return N&&(e=N(e)),g?g(e):String(e[0])},has:function(e){return hasOwnProperty.call(R,e)},delete:function(e){var t;hasOwnProperty.call(R,e)&&(b&&b(e),t=R[e],delete R[e],C&&m.emit("delete",e,t))},clear:function(){var e=R;y&&y(),R=c(null),m.emit("clear",e)},on:function(e,t){return"get"===e?A=!0:"set"===e?F=!0:"delete"===e&&(C=!0),p.call(this,e,t)},emit:f,updateEnv:function(){e=m.original}},w=g?n((function(e){var t,r=arguments;N&&(r=N(r)),null!==(t=g(r))&&m.delete(t)}),h):0===t?function(){return m.delete("data")}:function(e){return N&&(e=N(arguments)[0]),m.delete(e)},D=n((function(){var e,r=arguments;return 0===t?R.data:(N&&(r=N(r)),e=g?g(r):String(r[0]),R[e])})),x=n((function(){var e,r=arguments;return 0===t?m.has("data"):(N&&(r=N(r)),null!==(e=g?g(r):String(r[0]))&&m.has(e))})),d(k,{__memoized__:a(!0),delete:a(w),clear:a(m.clear),_get:a(D),_has:a(x)}),m}})),Cn=pe((function(e,t){"use strict";var r=Or(),n=Ir(),a=Br(),o=Fn(),i=Sr();t.exports=function e(t){var u,s,l;if(r(t),(u=Object(arguments[1])).async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!u.force?t:(s=i(u.length,t.length,u.async&&a.async),l=o(t,s,u),n(a,(function(e,t){u[t]&&e(u[t],l,u)})),e.__profiler__&&e.__profiler__(l),l.updateEnv(),l.memoized)}})),kn=pe((function(e,t){"use strict";t.exports=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}})),Nn=pe((function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var r=String(t[0]),n=0,a=e;--a;)r+=""+t[++n];return r}:function(){return""}}})),Rn=pe((function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&(!e({})&&e(NaN)&&!e(34))}})),Tn=pe((function(e,t){"use strict";t.exports=function(e){return e!=e}})),Sn=pe((function(e,t){"use strict";t.exports=Rn()()?Number.isNaN:Tn()})),On=pe((function(e,t){"use strict";var r=Sn(),n=Tr(),a=Mr(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,u=Math.abs,s=Math.floor;t.exports=function(e){var t,l,c,d;if(!r(e))return o.apply(this,arguments);for(l=n(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?s(c):n(this.length)-s(u(c));t<l;++t)if(i.call(this,t)&&(d=this[t],r(d)))return t;return-1}})),Mn=pe((function(e,t){"use strict";var r=On(),n=Object.create;t.exports=function(){var e=0,t=[],a=n(null);return{get:function(e){var n,a=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;a<i-1;){if(-1===(n=r.call(o[0],e[a])))return null;o=o[1][n],++a}return-1===(n=r.call(o[0],e[a]))?null:o[1][n]||null}return null},set:function(n){var o,i=0,u=t,s=n.length;if(0===s)u[s]=++e;else{for(u[s]||(u[s]=[[],[]]),u=u[s];i<s-1;)-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1,u[1].push([[],[]])),u=u[1][o],++i;-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1),u[1][o]=++e}return a[e]=n,e},delete:function(e){var n,o=0,i=t,u=a[e],s=u.length,l=[];if(0===s)delete i[s];else if(i=i[s]){for(;o<s-1;){if(-1===(n=r.call(i[0],u[o])))return;l.push(i,n),i=i[1][n],++o}if(-1===(n=r.call(i[0],u[o])))return;for(e=i[1][n],i[0].splice(n,1),i[1].splice(n,1);!i[0].length&&l.length;)n=l.pop(),(i=l.pop())[0].splice(n,1),i[1].splice(n,1)}delete a[e]},clear:function(){t=[],a=n(null)}}}})),Pn=pe((function(e,t){"use strict";var r=On();t.exports=function(){var e=0,t=[],n=[];return{get:function(e){var a=r.call(t,e[0]);return-1===a?null:n[a]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var a=r.call(n,e);-1!==a&&(t.splice(a,1),n.splice(a,1))},clear:function(){t=[],n=[]}}}})),In=pe((function(e,t){"use strict";var r=On(),n=Object.create;t.exports=function(e){var t=0,a=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,i=a;o<e-1;){if(-1===(n=r.call(i[0],t[o])))return null;i=i[1][n],++o}return-1===(n=r.call(i[0],t[o]))?null:i[1][n]||null},set:function(n){for(var i,u=0,s=a;u<e-1;)-1===(i=r.call(s[0],n[u]))&&(i=s[0].push(n[u])-1,s[1].push([[],[]])),s=s[1][i],++u;return-1===(i=r.call(s[0],n[u]))&&(i=s[0].push(n[u])-1),s[1][i]=++t,o[t]=n,t},delete:function(t){for(var n,i=0,u=a,s=[],l=o[t];i<e-1;){if(-1===(n=r.call(u[0],l[i])))return;s.push(u,n),u=u[1][n],++i}if(-1!==(n=r.call(u[0],l[i]))){for(t=u[1][n],u[0].splice(n,1),u[1].splice(n,1);!u[0].length&&s.length;)n=s.pop(),(u=s.pop())[0].splice(n,1),u[1].splice(n,1);delete o[t]}},clear:function(){a=[[],[]],o=n(null)}}}})),Bn=pe((function(e,t){"use strict";var r=Or(),n=Ir(),a=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return r(t),n(e,(function(e,r,n,u){o[r]=a.call(t,i,e,r,n,u)})),o}})),Ln=pe((function(e,t){"use strict";var r=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var t,n,a=s.createTextNode(""),o=0;return new e((function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(a.data=o=++o%2;n;)e=n.shift(),n.length||(n=null),e()})).observe(a,{characterData:!0}),function(e){r(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,a.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":l(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(r(e))};if("object"===(void 0===s?"undefined":l(s))&&s){if("function"==typeof MutationObserver)return n(MutationObserver);if("function"==typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(r(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":l(setTimeout))?function(e){setTimeout(r(e),0)}:null}()})),jn=pe((function(){"use strict";var e=Dn(),t=Bn(),r=Ur(),n=Wr(),a=Ln(),o=Array.prototype.slice,i=Function.prototype.apply,u=Object.create;Br().async=function(s,l){var c,d,p,f=u(null),m=u(null),h=l.memoized,g=l.original;l.memoized=n((function(e){var t=arguments,r=t[t.length-1];return"function"==typeof r&&(c=r,t=o.call(t,0,-1)),h.apply(d=this,p=t)}),h);try{r(l.memoized,h)}catch(e){}l.on("get",(function(e){var t,r,n;if(c){if(f[e])return"function"==typeof f[e]?f[e]=[f[e],c]:f[e].push(c),void(c=null);t=c,r=d,n=p,c=d=p=null,a((function(){var a;hasOwnProperty.call(m,e)?(a=m[e],l.emit("getasync",e,n,r),i.call(t,a.context,a.args)):(c=t,d=r,p=n,h.apply(r,n))}))}})),l.original=function(){var t,r,n,o;return c?(t=e(arguments),r=function t(r){var n,u,s=t.id;if(null!=s){if(delete t.id,n=f[s],delete f[s],n)return u=e(arguments),l.has(s)&&(r?l.delete(s):(m[s]={context:this,args:u},l.emit("setasync",s,"function"==typeof n?1:n.length))),"function"==typeof n?o=i.call(n,this,u):n.forEach((function(e){o=i.call(e,this,u)}),this),o}else a(i.bind(t,this,arguments))},n=c,c=d=p=null,t.push(r),o=i.call(g,this,t),r.cb=n,c=r,o):i.call(g,this,arguments)},l.on("set",(function(e){c?(f[e]?"function"==typeof f[e]?f[e]=[f[e],c.cb]:f[e].push(c.cb):f[e]=c.cb,delete c.cb,c.id=e,c=null):l.delete(e)})),l.on("delete",(function(e){var t;hasOwnProperty.call(f,e)||m[e]&&(t=m[e],delete m[e],l.emit("deleteasync",e,o.call(t.args,1)))})),l.on("clear",(function(){var e=m;m=u(null),l.emit("clearasync",t(e,(function(e){return o.call(e.args,1)})))}))}})),qn=pe((function(e,t){"use strict";var r=Array.prototype.forEach,n=Object.create;t.exports=function(e){var t=n(null);return r.call(arguments,(function(e){t[e]=!0})),t}})),zn=pe((function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}})),Vn=pe((function(e,t){"use strict";var r=zn();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),Gn=pe((function(e,t){"use strict";var r=Mr(),n=Vn();t.exports=function(e){return n(r(e))}})),$n=pe((function(e,t){"use strict";var r=zn();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),Hn=pe((function(e,t){"use strict";var r=$n(),n=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t=t.replace(n,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),Un=pe((function(e,t){function r(e){return!!e&&("object"===l(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=r,t.exports.default=r})),Wn=pe((function(){"use strict";var e=Bn(),t=qn(),r=Gn(),n=Hn(),a=Un(),o=Ln(),i=Object.create,u=t("then","then:finally","done","done:finally");Br().promise=function(t,s){var l=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=r(t),!u[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");s.on("set",(function(e,r,n){var i=!1;if(!a(n))return c[e]=n,void s.emit("setasync",e,1);l[e]=1,d[e]=n;var u=function(t){var r=l[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete l[e],c[e]=t,s.emit("setasync",e,r))},p=function(){i=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},f=t;if(f||(f="then"),"then"===f){var m=function(){o(p)};"function"==typeof(n=n.then((function(e){o(u.bind(this,e))}),m)).finally&&n.finally(m)}else if("done"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(u,p)}else if("done:finally"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(u),n.finally(p)}})),s.on("get",(function(e,t,r){var n;if(l[e])++l[e];else{n=d[e];var i=function(){s.emit("getasync",e,t,r)};a(n)?"function"==typeof n.done?n.done(i):n.then((function(){o(i)})):i()}})),s.on("delete",(function(e){if(delete d[e],l[e])delete l[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],s.emit("deleteasync",e,[t])}})),s.on("clear",(function(){var t=c;c=i(null),l=i(null),d=i(null),s.emit("clearasync",e(t,(function(e){return[e]})))}))}})),Yn=pe((function(){"use strict";var e=Or(),t=Ir(),r=Br(),n=Function.prototype.apply;r.dispose=function(a,o,i){var u;if(e(a),i.async&&r.async||i.promise&&r.promise)return o.on("deleteasync",u=function(e,t){n.call(a,null,t)}),void o.on("clearasync",(function(e){t(e,(function(e,t){u(t,e)}))}));o.on("delete",u=function(e,t){a(t)}),o.on("clear",(function(e){t(e,(function(e,t){u(t,e)}))}))}})),Kn=pe((function(e,t){"use strict";t.exports=2147483647})),Xn=pe((function(e,t){"use strict";var r=Tr(),n=Kn();t.exports=function(e){if((e=r(e))>n)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),Zn=pe((function(){"use strict";var e=Dn(),t=Ir(),r=Ln(),n=Un(),a=Xn(),o=Br(),i=Function.prototype,u=Math.max,s=Math.min,l=Object.create;o.maxAge=function(c,d,p){var f,m,h,g;(c=a(c))&&(f=l(null),m=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+m,(function(e){f[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof f[e].unref&&f[e].unref(),g&&(g[e]&&"nextTick"!==g[e]&&clearTimeout(g[e]),g[e]=setTimeout((function(){delete g[e]}),h),"function"==typeof g[e].unref&&g[e].unref())})),d.on("delete"+m,(function(e){clearTimeout(f[e]),delete f[e],g&&("nextTick"!==g[e]&&clearTimeout(g[e]),delete g[e])})),p.preFetch&&(h=!0===p.preFetch||isNaN(p.preFetch)?.333:u(s(Number(p.preFetch),1),0))&&(g={},h=(1-h)*c,d.on("get"+m,(function(t,a,o){g[t]||(g[t]="nextTick",r((function(){var r;"nextTick"===g[t]&&(delete g[t],d.delete(t),p.async&&(a=e(a)).push(i),r=d.memoized.apply(o,a),p.promise&&n(r)&&("function"==typeof r.done?r.done(i,i):r.then(i,i)))})))}))),d.on("clear"+m,(function(){t(f,(function(e){clearTimeout(e)})),f={},g&&(t(g,(function(e){"nextTick"!==e&&clearTimeout(e)})),g={})})))}})),Jn=pe((function(e,t){"use strict";var r=Tr(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=n(null),s=n(null),l=0;return e=r(e),{hit:function(r){var n=s[r],c=++l;if(u[c]=r,s[r]=c,!n){if(++o<=e)return;return r=u[i],t(r),r}if(delete u[n],i===n)for(;!a.call(u,++i););},delete:t=function(e){var t=s[e];if(t&&(delete u[t],delete s[e],--o,i===t)){if(!o)return l=0,void(i=1);for(;!a.call(u,++i););}},clear:function(){o=0,i=1,u=n(null),s=n(null),l=0}}}})),Qn=pe((function(){"use strict";var e=Tr(),t=Jn(),r=Br();r.max=function(n,a,o){var i,u,s;(n=e(n))&&(u=t(n),i=o.async&&r.async||o.promise&&r.promise?"async":"",a.on("set"+i,s=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+i,s),a.on("delete"+i,u.delete),a.on("clear"+i,u.clear))}})),ea=pe((function(){"use strict";var e=rn(),t=Br(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,o,i){var u,s;u=r(null),s=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+s,(function(e,t){u[e]=t||1})),o.on("get"+s,(function(e){++u[e]})),o.on("delete"+s,(function(e){delete u[e]})),o.on("clear"+s,(function(){u={}})),n(o.memoized,{deleteRef:e((function(){var e=o.get(arguments);return null===e?null:u[e]?! --u[e]&&(o.delete(e),!0):null})),getRefCount:e((function(){var e=o.get(arguments);return null===e?0:u[e]?u[e]:0}))})}})),ta=pe((function(e,t){"use strict";var r=Cr(),n=Sr(),a=Cn();t.exports=function(e){var t,o=r(arguments[1]);return o.normalizer||0!==(t=o.length=n(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=kn():t>1&&(o.normalizer=Nn()(t)):o.normalizer=!1===t?Mn()():1===t?Pn()():In()(t)),o.async&&jn(),o.promise&&Wn(),o.dispose&&Yn(),o.maxAge&&Zn(),o.max&&Qn(),o.refCounter&&ea(),a(e,o)}})),ra={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;ra[t]=r,ra[t+"_PRIO"]=n,ra[t+"_GROUP"]=a,ra.results[n]=r,ra.resultGroups[n]=a,ra.resultGroupMap[r]=a})),Object.freeze(ra.results),Object.freeze(ra.resultGroups),Object.freeze(ra.resultGroupMap),Object.freeze(ra);var na=ra;var aa=function(){"object"===("undefined"==typeof console?"undefined":l(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},oa=/[\t\r\n\f]/g,ia=Q((function e(){Z(this,e),this.parent=void 0}),[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var r=" "+e+" ";return(" "+t+" ").replace(oa," ").indexOf(r)>=0}}]),ua={};fe(ua,{DqElement:function(){return Tp},RuleError:function(){return Mh},aggregate:function(){return sa},aggregateChecks:function(){return ma},aggregateNodeResults:function(){return ga},aggregateResult:function(){return ba},areStylesSet:function(){return ya},assert:function(){return wa},checkHelper:function(){return Sp},clone:function(){return Op},closest:function(){return Kp},collectResultsFromFrames:function(){return Wf},contains:function(){return Yf},convertSelector:function(){return Up},cssParser:function(){return Ip},deepMerge:function(){return Kf},escapeSelector:function(){return xa},extendMetaData:function(){return Xf},filterHtmlAttrs:function(){return Nh},finalizeRuleResult:function(){return ha},findBy:function(){return $f},getAllChecks:function(){return Gf},getAncestry:function(){return is},getBaseLang:function(){return dm},getCheckMessage:function(){return wm},getCheckOption:function(){return Dm},getEnvironmentData:function(){return xm},getFlattenedTree:function(){return um},getFrameContexts:function(){return Pm},getFriendlyUriEnd:function(){return Fa},getNodeAttributes:function(){return ka},getNodeFromTree:function(){return ps},getPreloadConfig:function(){return xh},getRootNode:function(){return ms},getRule:function(){return Im},getScroll:function(){return Lm},getScrollState:function(){return qm},getSelector:function(){return ns},getSelectorData:function(){return Zu},getShadowSelector:function(){return Vu},getStandards:function(){return zm},getStyleSheetFactory:function(){return Gm},getXpath:function(){return ss},injectStyle:function(){return $m},isArrayLike:function(){return Hm},isContextObject:function(){return Ym},isContextProp:function(){return Km},isContextSpec:function(){return Wm},isHidden:function(){return Jm},isHtmlElement:function(){return Qm},isLabelledFramesSelector:function(){return Xm},isLabelledShadowDomSelector:function(){return Zm},isNodeInContext:function(){return eh},isShadowRoot:function(){return Jf},isValidLang:function(){return Gh},isXHTML:function(){return zu},matchAncestry:function(){return rh},matches:function(){return Bp},matchesExpression:function(){return Yp},matchesSelector:function(){return Na},memoize:function(){return qu},mergeResults:function(){return Uf},nodeLookup:function(){return ah},nodeSerializer:function(){return Vf},nodeSorter:function(){return nh},objectHasOwn:function(){return Um},parseCrossOriginStylesheet:function(){return uh},parseSameOriginStylesheet:function(){return oh},parseStylesheet:function(){return ih},parseTabindex:function(){return sh},performanceTimer:function(){return ch},pollyfillElementsFromPoint:function(){return dh},preload:function(){return wh},preloadCssom:function(){return hh},preloadMedia:function(){return yh},processMessage:function(){return ym},publishMetaData:function(){return Eh},querySelectorAll:function(){return Fh},querySelectorAllFilter:function(){return mh},queue:function(){return ef},respondable:function(){return Pf},ruleShouldRun:function(){return kh},select:function(){return _h},sendCommandToFrame:function(){return Bf},serializeError:function(){return Sh},setScrollState:function(){return Ph},shadowSelect:function(){return Ih},shadowSelectAll:function(){return Lh},shouldPreload:function(){return Dh},toArray:function(){return Da},tokenList:function(){return em},uniqueArray:function(){return ph},uuid:function(){return vf},validInputTypes:function(){return qh},validLangs:function(){return Vh}});var sa=function(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map((function(t){return e.indexOf(t)})).sort();return e[n.pop()]},la=na.CANTTELL_PRIO,ca=na.FAIL_PRIO,da=[];da[na.PASS_PRIO]=!0,da[na.CANTTELL_PRIO]=null,da[na.FAIL_PRIO]=!1;var pa=["any","all","none"];function fa(e,t){return pa.reduce((function(r,n){return r[n]=(e[n]||[]).map((function(e){return t(e,n)})),r}),{})}var ma=function(e){var t=Object.assign({},e);fa(t,(function(e,t){var r=void 0===e.result?-1:da.indexOf(e.result);e.priority=-1!==r?r:na.CANTTELL_PRIO,"none"===t&&(e.priority===na.PASS_PRIO?e.priority=na.FAIL_PRIO:e.priority===na.FAIL_PRIO&&(e.priority=na.PASS_PRIO))}));var r={all:t.all.reduce((function(e,t){return Math.max(e,t.priority)}),0),none:t.none.reduce((function(e,t){return Math.max(e,t.priority)}),0),any:t.any.reduce((function(e,t){return Math.min(e,t.priority)}),4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return pa.forEach((function(e){t[e]=t[e].filter((function(n){return n.priority===t.priority&&n.priority===r[e]})),t[e].forEach((function(e){return n.push(e.impact)}))})),[la,ca].includes(t.priority)?t.impact=sa(na.impact,n):t.impact=null,fa(t,(function(e){delete e.result,delete e.priority})),t.result=na.results[t.priority],delete t.priority,t};function ha(e){var t=c._audit.rules.find((function(t){return t.id===e.id}));return t&&t.impact&&e.nodes.forEach((function(e){["any","all","none"].forEach((function(r){(e[r]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,ga(e.nodes)),delete e.nodes,e}var ga=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return ma(e);if(Array.isArray(e.node))return ha(e);throw new TypeError("Invalid Result type")})))&&e.length){var r=e.map((function(e){return e.result}));t.result=sa(na.results,r,t.result)}else t.result="inapplicable";na.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){var r=na.resultGroupMap[e.result];t[r].push(e)}));var n=na.FAIL_GROUP;if(0===t[n].length&&(n=na.CANTTELL_GROUP),t[n].length>0){var a=t[n].map((function(e){return e.impact}));t.impact=sa(na.impact,a)||null}else t.impact=null;return t};function va(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),na.resultGroups.forEach((function(e){delete n[e]})),e[r].push(n)}var ba=function(e){var t={};return na.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?va(t,e,na.CANTTELL_GROUP):e.result===na.NA?va(t,e,na.NA_GROUP):na.resultGroups.forEach((function(r){Array.isArray(e[r])&&e[r].length>0&&va(t,e,r)}))})),t};var ya=function e(t,r,n){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o<r.length;++o){var u=r[o];if(a.getPropertyValue(u.property)===u.value)return!0}return!(!t.parentNode||t.nodeName.toUpperCase()===n.toUpperCase())&&e(t.parentNode,r,n)};var wa=function(e,t){if(!e)throw new Error(t)};var Da=function(e){return Array.prototype.slice.call(e)};var xa=function(e){for(var t,r=String(e),n=r.length,a=-1,o="",i=r.charCodeAt(0);++a<n;)0!=(t=r.charCodeAt(a))?o+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":(0!=a||1!=n||45!=t)&&(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?r.charAt(a):"\\"+r.charAt(a):o+="�";return o};function Ea(e,t){return[e.substring(0,t),e.substring(t)]}function Aa(e){return e.replace(/\s+$/,"")}var Fa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=void 0===n?25:n,o=function(e){var t=e,r="",n="",a="",o="",i="";if(e.includes("#")){var u=Y(Ea(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var s=Y(Ea(e,e.indexOf("?")),2);e=s[0],o=s[1]}if(e.includes("://")){var l=Y(e.split("://"),2);r=l[0];var c=Y(Ea(e=l[1],e.indexOf("/")),2);n=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=Y(Ea(e=e.substr(2),e.indexOf("/")),2);n=d[0],e=d[1]}if("www."===n.substr(0,4)&&(n=n.substr(4)),n&&n.includes(":")){var p=Y(Ea(n,n.indexOf(":")),2);n=p[0],a=p[1]}return{original:t,protocol:r,domain:n,port:a,path:e,query:o,hash:i}}(e),i=o.path,u=o.domain,s=o.hash,l=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=a?Aa(l+s):l.length<2&&s.length>2&&s.length<=a?Aa(s):void 0;if(u&&u.length<a&&i.length<=1)return Aa(u+i);if(i==="/"+l&&u&&r&&u!==r&&(u+i).length<=a)return Aa(u+i);var c=l.lastIndexOf(".");return(-1===c||c>1)&&(-1!==c||l.length>2)&&l.length<=a&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(l)?Aa(l):void 0}};var Ca,ka=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Na=function(e,t){return Ca&&e[Ca]||(Ca=function(e){var t,r,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length;for(t=0;t<a;t++)if(e[r=n[t]])return r}(e)),!!e[Ca]&&e[Ca](t)},Ra={};fe(Ra,{ArrayFrom:function(){return ju.default},Colorjs:function(){return Ou},CssSelectorParser:function(){return Pa.CssSelectorParser},doT:function(){return Ia.default},emojiRegexText:function(){return Ba},memoize:function(){return La.default}});var _a=me(ge()),Ta=me(ve()),Sa=(me(be()),me(vt())),Oa=me(Pt()),Ma=me(br());"hasOwn"in Object||(Object.hasOwn=Sa.default),"values"in Object||(Object.values=Oa.default),"Promise"in i||_a.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=Ta.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,r=Object(this),n=r.length>>>0,a=arguments[1],o=0;o<n;o++)if(t=r[o],e.call(a,t,o,r))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r,n=Object(this),a=n.length>>>0,o=0;o<a;o++)if(r=n[o],e.call(t,r,o,n))return o;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),r=parseInt(t.length,10)||0;if(0===r)return!1;var n,a,o=parseInt(arguments[1],10)||0;for(o>=0?n=o:(n=r+o)<0&&(n=0);n<r;){if(e===(a=t[n])||e!=e&&a!=a)return!0;n++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),r=t.length>>>0,n=arguments.length>=2?arguments[1]:void 0,a=0;a<r;a++)if(a in t&&e.call(n,t[a],a,t))return!0;return!1}}),Array.from||(Array.from=Ma.default),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,(function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r}),[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Pa=me(xr()),Ia=me(Er()),Ba=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},La=me(ta());function ja(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map((function(e){return[e]})));var n=t[0].length,a=t[0].map((function(e,r){return t.map((function(e){return e[r]}))})),o=e.map((function(e){return a.map((function(t){var r=0;if(!Array.isArray(e)){var n,a=te(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;r+=e*o}}catch(e){a.e(e)}finally{a.f()}return r}for(var i=0;i<e.length;i++)r+=e[i]*(t[i]||0);return r}))}));return 1===r&&(o=o[0]),1===n?o.map((function(e){return e[0]})):o}function qa(e){return"string"===za(e)}function za(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Va(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return+e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Ga(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,r=e.match(/^([a-z]+)\((.+?)\)$/i);if(r){var n=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function(e,r){/%$/.test(r)?(r=new Number(r.slice(0,-1)/100)).type="<percentage>":/deg$/.test(r)?((r=new Number(+r.slice(0,-3))).type="<angle>",r.unit="deg"):t.test(r)&&((r=new Number(r)).type="<number>"),e.startsWith("/")&&((r=r instanceof Number?r:new Number(r)).alpha=!0),n.push(r)})),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:n}}}}function $a(e){return e[e.length-1]}function Ha(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ua(e,t,r){return(r-e)/(t-e)}function Wa(e,t,r){return Ha(t[0],t[1],Ua(e[0],e[1],r))}function Ya(e){return e.map((function(e){return e.split("|").map((function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var r=new String(t[1]);return r.range=[+t[2],+t[3]],r}return e}))}))}var Ka=Object.freeze({__proto__:null,isString:qa,type:za,toPrecision:Va,parseFunction:Ga,last:$a,interpolate:Ha,interpolateInv:Ua,mapRange:Wa,parseCoordGrammar:Ya,multiplyMatrices:ja}),Xa=Q((function e(){Z(this,e)}),[{key:"add",value:function(e,t,r){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),Za=new Xa,Ja={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Qa={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function eo(e){return Array.isArray(e)?e:Qa[e]}function to(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=eo(e),t=eo(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Za.run("chromatic-adaptation-start",a),a.M||(a.W1===Qa.D65&&a.W2===Qa.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Qa.D50&&a.W2===Qa.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Za.run("chromatic-adaptation-end",a),a.M)return ja(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var ro=(e=new WeakSet,t=new WeakMap,Q((function r(n){var a,o,i,u,s,l,c;Z(this,r),G(this,e),V(this,t,void 0),this.id=n.id,this.name=n.name,this.base=n.base?ro.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var d=null!==(a=n.coords)&&void 0!==a?a:this.base.coords;this.coords=d;var p=null!==(o=null!==(i=n.white)&&void 0!==i?i:this.base.white)&&void 0!==o?o:"D65";for(var f in this.white=eo(p),this.formats=null!==(u=n.formats)&&void 0!==u?u:{},this.formats){var m=this.formats[f];m.type||(m.type="function"),m.name||(m.name=f)}!n.cssId||null!==(s=this.formats.functions)&&void 0!==s&&s.color?null===(l=this.formats)||void 0===l||!l.color||null!==(c=this.formats)&&void 0!==c&&c.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,U(t,this,W(e,this,ao).call(this).reverse()),Za.run("colorspace-init-end",this)}),[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,r=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var n=Object.values(this.coords);return e.every((function(e,t){var a=n[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=Y(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-r)&&(void 0===u||e<=u+r)}return!0}))}},{key:"cssId",get:function(){var e;return(null===(e=this.formats.functions)||void 0===e||null===(e=e.color)||void 0===e?void 0:e.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===l(t)?t=W(e,this,no).call(this,t):(r="default"===t?Object.values(this.formats)[0]:this.formats[t])?r=W(e,this,no).call(this,r):null;var r}},{key:"to",value:function(e,r){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],r=n[1]}if(this===(e=ro.get(e)))return r;r=r.map((function(e){return Number.isNaN(e)?0:e}));for(var a,o,i=H(t,this),u=H(t,e),s=0;s<i.length&&i[s]===u[s];s++)a=i[s],o=s;if(!a)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var l=i.length-1;l>o;l--)r=i[l].toBase(r);for(var c=o+1;c<u.length;c++)r=u[c].fromBase(r);return r}},{key:"from",value:function(e,t){if(1===arguments.length){var r=[e.space,e.coords];e=r[0],t=r[1]}return(e=ro.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var r,n=this.coords[t],a=n.range||n.refRange;e.push(null!==(r=null==a?void 0:a.min)&&void 0!==r?r:0)}return e}}],[{key:"all",get:function(){return q(new Set(Object.values(ro.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var r,n=te(t.aliases);try{for(n.s();!(r=n.n()).done;){var a=r.value;this.register(a,t)}}catch(e){n.e(e)}finally{n.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof ro)return e;if("string"===za(e)){var t=ro.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];if(n.length)return ro.get.apply(ro,n);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var r,n,a=za(e);if("string"===a)if(e.includes(".")){var o=Y(e.split("."),2);r=o[0],n=o[1]}else r=void 0,n=e;else if(Array.isArray(e)){var i=Y(e,2);r=i[0],n=i[1]}else r=e.space,n=e.coordId;if((r=ro.get(r))||(r=t),!r)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(a=za(n))||"string"===a&&n>=0){var u=Object.entries(r.coords)[n];if(u)return j({space:r,id:u[0],index:n},u[1])}r=ro.get(r);var s=n.toLowerCase(),l=0;for(var c in r.coords){var d,p=r.coords[c];if(c.toLowerCase()===s||(null===(d=p.name)||void 0===d?void 0:d.toLowerCase())===s)return j({space:r,id:c,index:l},p);l++}throw new TypeError('No "'.concat(n,'" coordinate found in ').concat(r.name,". Its coordinates are: ").concat(Object.keys(r.coords).join(", ")))}}]));function no(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Ya(e.coords);var t=Object.entries(this.coords).map((function(t,r){var n=Y(t,2),a=(n[0],n[1]),o=e.coordGrammar[r][0],i=a.range||a.refRange,u=o.range,s="";return"<percentage>"==o?(u=[0,100],s="%"):"<angle>"==o&&(s="deg"),{fromRange:i,toRange:u,suffix:s}}));e.serializeCoords=function(e,r){return e.map((function(e,n){var a=t[n],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=Wa(o,i,e)),e=Va(e,r),u&&(e+=u),e}))}}return e}function ao(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var oo=ro;he(oo,"registry",{}),he(oo,"DEFAULT_FORMAT",{type:"functions",name:"color"});var io=new oo({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),uo=function(e){function t(e){var r,n,a,o;(Z(this,t),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=io),e.toXYZ_M&&e.fromXYZ_M)&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var r=ja(e.toXYZ_M,t);return n.white!==n.base.white&&(r=to(n.white,n.base.white,r)),r}),null!==(o=e.fromBase)&&void 0!==o||(e.fromBase=function(t){return t=to(n.base.white,n.white,t),ja(e.fromXYZ_M,t)}));return null!==(r=e.referred)&&void 0!==r||(e.referred="display"),n=M(this,t,[e])}return B(t,e),Q(t)}(oo);function so(e){var t,r={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Za.run("parse-start",r),r.color)return r.color;if(r.parsed=Ga(r.str),r.parsed){var n=r.parsed.name;if("color"===n){var a,o=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,u=te(oo.all);try{var s,l=function(){var e,t=a.value,n=t.getFormat("color");if(n&&(o===n.id||null!==(e=n.ids)&&void 0!==e&&e.includes(o))){var u=Object.keys(t.coords).length,s=Array(u).fill(0);return s.forEach((function(e,t){return s[t]=r.parsed.args[t]||0})),{v:{spaceId:t.id,coords:s,alpha:i}}}};for(u.s();!(a=u.n()).done;)if(s=l())return s.v}catch(e){u.e(e)}finally{u.f()}var c="";if(o in oo.registry){var d,p=null===(d=oo.registry[o].formats)||void 0===d||null===(d=d.functions)||void 0===d||null===(d=d.color)||void 0===d?void 0:d.id;p&&(c="Did you mean color(".concat(p,")?"))}throw new TypeError("Cannot parse color(".concat(o,"). ")+(c||"Missing a plugin?"))}var f,m=te(oo.all);try{var h,g=function(){var e=f.value,t=e.getFormat(n);if(t&&"function"===t.type){var a=1;(t.lastAlpha||$a(r.parsed.args).alpha)&&(a=r.parsed.args.pop());var o=r.parsed.args;return t.coordGrammar&&Object.entries(e.coords).forEach((function(e,r){var a,i=Y(e,2),u=i[0],s=i[1],l=t.coordGrammar[r],c=null===(a=o[r])||void 0===a?void 0:a.type;if(!(l=l.find((function(e){return e==c})))){var d=s.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(n,"()"))}var p=l.range;"<percentage>"===c&&(p||(p=[0,1]));var f=s.range||s.refRange;p&&f&&(o[r]=Wa(p,f,o[r]))})),{v:{spaceId:e.id,coords:o,alpha:a}}}};for(m.s();!(f=m.n()).done;)if(h=g())return h.v}catch(e){m.e(e)}finally{m.f()}}else{var v,b=te(oo.all);try{for(b.s();!(v=b.n()).done;){var y=v.value;for(var w in y.formats){var D=y.formats[w];if("custom"===D.type&&(!D.test||D.test(r.str))){var x,E=D.parse(r.str);if(E)return null!==(x=E.alpha)&&void 0!==x||(E.alpha=1),E}}}}catch(e){b.e(e)}finally{b.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function lo(e){if(!e)throw new TypeError("Empty color reference");qa(e)&&(e=so(e));var t=e.space||e.spaceId;return t instanceof oo||(e.space=oo.get(t)),void 0===e.alpha&&(e.alpha=1),e}function co(e,t){return(t=oo.get(t)).from(e)}function po(e,t){var r=oo.resolveCoord(t,e.space),n=r.space,a=r.index;return co(e,n)[a]}function fo(e,t,r){return t=oo.get(t),e.coords=t.to(e.space,r),e}function mo(e,t,r){if(e=lo(e),2===arguments.length&&"object"===za(arguments[1])){var n=arguments[1];for(var a in n)mo(e,a,n[a])}else{"function"==typeof r&&(r=r(po(e,t)));var o=oo.resolveCoord(t,e.space),i=o.space,u=o.index,s=co(e,i);s[u]=r,fo(e,i,s)}return e}var ho=new oo({id:"xyz-d50",name:"XYZ D50",white:"D50",base:io,fromBase:function(e){return to(io.white,"D50",e)},toBase:function(e){return to("D50",io.white,e)},formats:{color:{}}}),go=216/24389,vo=24/116,bo=24389/27,yo=Qa.D50,wo=new oo({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:yo,base:ho,fromBase:function(e){var t=e.map((function(e,t){return e/yo[t]})),r=t.map((function(e){return e>go?Math.cbrt(e):(bo*e+16)/116}));return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>vo?Math.pow(t[0],3):(116*t[0]-16)/bo,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/bo,t[2]>vo?Math.pow(t[2],3):(116*t[2]-16)/bo].map((function(e,t){return e*yo[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Do(e){return(e%360+360)%360}var xo=new oo({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:wo,fromBase:function(e){var t,r=Y(e,3),n=r[0],a=r[1],o=r[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),Do(t)]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2];return n<0&&(n=0),isNaN(a)&&(a=0),[r,n*Math.cos(a*Math.PI/180),n*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Eo=Math.pow(25,7),Ao=Math.PI,Fo=180/Ao,Co=Ao/180;function ko(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.kL,a=void 0===n?1:n,o=r.kC,i=void 0===o?1:o,u=r.kH,s=void 0===u?1:u,l=Y(wo.from(e),3),c=l[0],d=l[1],p=l[2],f=xo.from(wo,[c,d,p])[1],m=Y(wo.from(t),3),h=m[0],g=m[1],v=m[2],b=xo.from(wo,[h,g,v])[1];f<0&&(f=0),b<0&&(b=0);var y=(f+b)/2,w=Math.pow(y,7),D=.5*(1-Math.sqrt(w/(w+Eo))),x=(1+D)*d,E=(1+D)*g,A=Math.sqrt(Math.pow(x,2)+Math.pow(p,2)),F=Math.sqrt(Math.pow(E,2)+Math.pow(v,2)),C=0===x&&0===p?0:Math.atan2(p,x),k=0===E&&0===v?0:Math.atan2(v,E);C<0&&(C+=2*Ao),k<0&&(k+=2*Ao);var N,R=h-c,_=F-A,T=(k*=Fo)-(C*=Fo),S=C+k,O=Math.abs(T);A*F==0?N=0:O<=180?N=T:T>180?N=T-360:T<-180?N=T+360:console.log("the unthinkable has happened");var M,P=2*Math.sqrt(F*A)*Math.sin(N*Co/2),I=(c+h)/2,B=(A+F)/2,L=Math.pow(B,7);M=A*F==0?S:O<=180?S/2:S<360?(S+360)/2:(S-360)/2;var j=Math.pow(I-50,2),q=1+.015*j/Math.sqrt(20+j),z=1+.045*B,V=1;V-=.17*Math.cos((M-30)*Co),V+=.24*Math.cos(2*M*Co),V+=.32*Math.cos((3*M+6)*Co);var G=1+.015*B*(V-=.2*Math.cos((4*M-63)*Co)),$=30*Math.exp(-1*Math.pow((M-275)/25,2)),H=2*Math.sqrt(L/(L+Eo)),U=-1*Math.sin(2*$*Co)*H,W=Math.pow(R/(a*q),2);return W+=Math.pow(_/(i*z),2),W+=Math.pow(P/(s*G),2),W+=U*(_/(i*z))*(P/(s*G)),Math.sqrt(W)}function No(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===r?75e-6:r;e=lo(e),t=oo.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:n})}function Ro(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function _o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method,n=void 0===r?Ja.gamut_mapping:r,a=t.space,o=void 0===a?e.space:a;if(qa(arguments[1])&&(o=arguments[1]),No(e,o=oo.get(o),{epsilon:0}))return e;var i=To(e,o);if("clip"!==n&&!No(e,o)){var u=_o(Ro(i),{method:"clip",space:o});if(ko(e,u)>2){for(var s=oo.resolveCoord(n),l=s.space,c=s.id,d=To(i,l),p=(s.range||s.refRange)[0],f=po(d,c);f-p>.01;){var m=Ro(d);ko(d,m=_o(m,{space:o,method:"clip"}))-2<.01?p=po(d,c):f=po(d,c),mo(d,c,(p+f)/2)}i=To(d,o)}else i=u}if("clip"===n||!No(i,o,{epsilon:0})){var h=Object.values(o.coords).map((function(e){return e.range||[]}));i.coords=i.coords.map((function(e,t){var r=Y(h[t],2),n=r[0],a=r[1];return void 0!==n&&(e=Math.max(n,e)),void 0!==a&&(e=Math.min(e,a)),e}))}return o!==e.space&&(i=To(i,e.space)),e.coords=i.coords,e}function To(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=lo(e);var n=(t=oo.get(t)).from(e),a={space:t,coords:n,alpha:e.alpha};return r&&(a=_o(a)),a}function So(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?Ja.precision:o,u=a.format,s=void 0===u?"default":u,l=a.inGamut,c=void 0===l||l,p=O(a,d),f=s;s=null!==(t=null!==(r=(e=lo(e)).space.getFormat(s))&&void 0!==r?r:e.space.getFormat("default"))&&void 0!==t?t:oo.DEFAULT_FORMAT,c||(c=s.toGamut);var m=e.coords;if(m=m.map((function(e){return e||0})),c&&!No(e)&&(m=_o(Ro(e),!0===c?void 0:c).coords),"custom"===s.type){if(p.precision=i,!s.serialize)throw new TypeError("format ".concat(f," can only be used to parse colors, not for serialization"));n=s.serialize(m,e.alpha,p)}else{var h=s.name||"color";s.serializeCoords?m=s.serializeCoords(m,i):null!==i&&(m=m.map((function(e){return Va(e,i)})));var g=q(m);if("color"===h){var v,b=s.id||(null===(v=s.ids)||void 0===v?void 0:v[0])||e.space.id;g.unshift(b)}var y=e.alpha;null!==i&&(y=Va(y,i));var w=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(y):"";n="".concat(h,"(").concat(g.join(s.commas?", ":" ")).concat(w,")")}return n}_o.returns="color",To.returns="color";var Oo=new uo({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),Mo=1.09929682680944,Po=.018053968510807,Io=new uo({id:"rec2020",name:"REC.2020",base:Oo,toBase:function(e){return e.map((function(e){return e<4.5*Po?e/4.5:Math.pow((e+Mo-1)/Mo,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=Po?Mo*Math.pow(e,.45)-(Mo-1):4.5*e}))},formats:{color:{}}}),Bo=new uo({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),Lo=new uo({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),jo={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},qo=Array(3).fill("<percentage> | <number>[0, 255]"),zo=Array(3).fill("<number>[0, 255]"),Vo=new uo({id:"srgb",name:"sRGB",base:Lo,fromBase:function(e){return e.map((function(e){var t=e<0?-1:1,r=e*t;return r>.0031308?t*(1.055*Math.pow(r,1/2.4)-.055):12.92*e}))},toBase:function(e){return e.map((function(e){var t=e<0?-1:1,r=e*t;return r<.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)}))},formats:{rgb:{coords:qo},rgb_number:{name:"rgb",commas:!0,coords:zo,noAlpha:!0},color:{},rgba:{coords:qo,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:zo},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===r||r;t<1&&e.push(t),e=e.map((function(e){return Math.round(255*e)}));var a=n&&e.every((function(e){return e%17==0}));return"#"+e.map((function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")})).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=jo.black,t.alpha=0):t.coords=jo[e],t.coords)return t}}}}),Go=new uo({id:"p3",name:"P3",base:Bo,fromBase:Vo.fromBase,toBase:Vo.toBase,formats:{color:{id:"display-p3"}}});if(Ja.display_space=Vo,"undefined"!=typeof CSS&&null!==(o=CSS)&&void 0!==o&&o.supports)for(var $o=0,Ho=[wo,Io,Go];$o<Ho.length;$o++){var Uo=Ho[$o],Wo=Uo.getMinCoords(),Yo=So({space:Uo,coords:Wo,alpha:1});if(CSS.supports("color",Yo)){Ja.display_space=Uo;break}}function Ko(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.space,a=void 0===n?Ja.display_space:n,o=O(r,p),i=So(e,o);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",i)||!Ja.display_space)(i=new String(i)).color=e;else{var u=To(e,a);(i=new String(So(u,o))).color=u}return i}function Xo(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",n=(r=oo.get(r)).from(e),a=r.from(t);return Math.sqrt(n.reduce((function(e,t,r){var n=a[r];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)}),0))}function Zo(e){return po(e,[io,"y"])}function Jo(e,t){mo(e,[io,"y"],t)}var Qo=Object.freeze({__proto__:null,getLuminance:Zo,setLuminance:Jo,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Zo(this)},set:function(e){Jo(this,e)}})}});function ei(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function ti(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}var ri=216/24389,ni=24/116,ai=24389/27,oi=Qa.D65,ii=new oo({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:oi,base:io,fromBase:function(e){var t=e.map((function(e,t){return e/oi[t]})),r=t.map((function(e){return e>ri?Math.cbrt(e):(ai*e+16)/116}));return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>ni?Math.pow(t[0],3):(116*t[0]-16)/ai,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/ai,t[2]>ni?Math.pow(t[2],3):(116*t[2]-16)/ai].map((function(e,t){return e*oi[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ui=.5*Math.pow(5,.5)+.5;var si=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=lo(e),t=lo(t);var r=Math.max(Zo(e),0),n=Math.max(Zo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return(r+.05)/(n+.05)},contrastAPCA:function(e,t){var r,n,a,o;t=lo(t),e=lo(e);var i=Y((t=To(t,"srgb")).coords,3);n=i[0],a=i[1],o=i[2];var u=.2126729*ti(n)+.7151522*ti(a)+.072175*ti(o),s=Y((e=To(e,"srgb")).coords,3);n=s[0],a=s[1],o=s[2];var l=.2126729*ti(n)+.7151522*ti(a)+.072175*ti(o),c=ei(u),d=ei(l),p=d>c;return r=Math.abs(d-c)<5e-4?0:p?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(r)<.1?0:r>0?r-.027:r+.027)},contrastMichelson:function(e,t){e=lo(e),t=lo(t);var r=Math.max(Zo(e),0),n=Math.max(Zo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}var o=r+n;return 0===o?0:(r-n)/o},contrastWeber:function(e,t){e=lo(e),t=lo(t);var r=Math.max(Zo(e),0),n=Math.max(Zo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return 0===n?5e4:(r-n)/n},contrastLstar:function(e,t){e=lo(e),t=lo(t);var r=po(e,[wo,"l"]),n=po(t,[wo,"l"]);return Math.abs(r-n)},contrastDeltaPhi:function(e,t){e=lo(e),t=lo(t);var r=po(e,[ii,"l"]),n=po(t,[ii,"l"]),a=Math.abs(Math.pow(r,ui)-Math.pow(n,ui)),o=Math.pow(a,1/ui)*Math.SQRT2-40;return o<7.5?0:o}});function li(e){var t=Y(co(e,io),3),r=t[0],n=t[1],a=r+15*n+3*t[2];return[4*r/a,9*n/a]}function ci(e){var t=Y(co(e,io),3),r=t[0],n=t[1],a=r+n+t[2];return[r/a,n/a]}var di=Object.freeze({__proto__:null,uv:li,xy:ci,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return li(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return ci(this)}})}});var pi=Math.PI/180;var fi=new oo({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:io,fromBase:function(e){return e.map((function(e){return Math.max(203*e,0)}))},toBase:function(e){return e.map((function(e){return Math.max(e/203,0)}))}}),mi=1.15,hi=.66,gi=2610/Math.pow(2,14),vi=Math.pow(2,14)/2610,bi=3424/Math.pow(2,12),yi=2413/Math.pow(2,7),wi=2392/Math.pow(2,7),Di=1.7*2523/Math.pow(2,5),xi=Math.pow(2,5)/(1.7*2523),Ei=-.56,Ai=16295499532821565e-27,Fi=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Ci=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ki=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Ni=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Ri=new oo({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:fi,fromBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=ja(Fi,[mi*r-(mi-1)*a,hi*n-(hi-1)*r,a]).map((function(e){var t=bi+yi*Math.pow(e/1e4,gi),r=1+wi*Math.pow(e/1e4,gi);return Math.pow(t/r,Di)})),i=Y(ja(ki,o),3),u=i[0],s=i[1],l=i[2];return[(1+Ei)*u/(1+Ei*u)-Ai,s,l]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=ja(Ni,[(r+Ai)/(1+Ei-Ei*(r+Ai)),n,a]).map((function(e){var t=bi-Math.pow(e,xi),r=wi*Math.pow(e,xi)-yi;return 1e4*Math.pow(t/r,vi)})),i=Y(ja(Ci,o),3),u=i[0],s=i[1],l=i[2],c=(u+(mi-1)*l)/mi;return[c,(s+(hi-1)*c)/hi,l]},formats:{color:{}}}),_i=new oo({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Ri,fromBase:function(e){var t,r=Y(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),Do(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}});var Ti=.8359375,Si=2413/128,Oi=18.6875,Mi=2610/16384,Pi=2523/32,Ii=16384/2610,Bi=32/2523,Li=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],ji=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],qi=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],zi=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],Vi=new oo({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:fi,fromBase:function(e){return function(e){var t=e.map((function(e){var t=Ti+Si*Math.pow(e/1e4,Mi),r=1+Oi*Math.pow(e/1e4,Mi);return Math.pow(t/r,Pi)}));return ja(ji,t)}(ja(Li,e))},toBase:function(e){var t=function(e){var t=ja(qi,e),r=t.map((function(e){var t=Math.max(Math.pow(e,Bi)-Ti,0),r=Si-Oi*Math.pow(e,Bi);return 1e4*Math.pow(t/r,Ii)}));return r}(e);return ja(zi,t)},formats:{color:{}}});var Gi=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],$i=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],Hi=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],Ui=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],Wi=new oo({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:io,fromBase:function(e){var t=ja(Gi,e).map((function(e){return Math.cbrt(e)}));return ja(Hi,t)},toBase:function(e){var t=ja(Ui,e).map((function(e){return Math.pow(e,3)}));return ja($i,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});var Yi=Object.freeze({__proto__:null,deltaE76:function(e,t){return Xo(e,t,"lab")},deltaECMC:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.l,a=void 0===n?2:n,o=r.c,i=void 0===o?1:o,u=Y(wo.from(e),3),s=u[0],l=u[1],c=u[2],d=Y(xo.from(wo,[s,l,c]),3),p=d[1],f=d[2],m=Y(wo.from(t),3),h=m[0],g=m[1],v=m[2],b=xo.from(wo,[h,g,v])[1];p<0&&(p=0),b<0&&(b=0);var y=s-h,w=p-b,D=l-g,x=c-v,E=Math.pow(D,2)+Math.pow(x,2)-Math.pow(w,2),A=.511;s>=16&&(A=.040975*s/(1+.01765*s));var F,C=.0638*p/(1+.0131*p)+.638;Number.isNaN(f)&&(f=0),F=f>=164&&f<=345?.56+Math.abs(.2*Math.cos((f+168)*pi)):.36+Math.abs(.4*Math.cos((f+35)*pi));var k=Math.pow(p,4),N=Math.sqrt(k/(k+1900)),R=C*(N*F+1-N),_=Math.pow(y/(a*A),2);return _+=Math.pow(w/(i*C),2),_+=E/Math.pow(R,2),Math.sqrt(_)},deltaE2000:ko,deltaEJz:function(e,t){var r=Y(_i.from(e),3),n=r[0],a=r[1],o=r[2],i=Y(_i.from(t),3),u=i[0],s=i[1],l=i[2],c=n-u,d=a-s;Number.isNaN(o)&&Number.isNaN(l)?(o=0,l=0):Number.isNaN(o)?o=l:Number.isNaN(l)&&(l=o);var p=o-l,f=2*Math.sqrt(a*s)*Math.sin(p/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(f,2))},deltaEITP:function(e,t){var r=Y(Vi.from(e),3),n=r[0],a=r[1],o=r[2],i=Y(Vi.from(t),3),u=i[0],s=i[1],l=i[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(a-s,2)+Math.pow(o-l,2))},deltaEOK:function(e,t){var r=Y(Wi.from(e),3),n=r[0],a=r[1],o=r[2],i=Y(Wi.from(t),3),u=n-i[0],s=a-i[1],l=o-i[2];return Math.sqrt(Math.pow(u,2)+Math.pow(s,2)+Math.pow(l,2))}});function Ki(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qa(r)&&(r={method:r});var n=r,a=n.method,o=void 0===a?Ja.deltaE:a,i=O(n,m);for(var u in e=lo(e),t=lo(t),Yi)if("deltae"+o.toLowerCase()===u.toLowerCase())return Yi[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var Xi=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return mo(e,[oo.get("oklch","lch"),"l"],(function(e){return e*(1+t)}))},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return mo(e,[oo.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function Zi(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[lo(e),lo(t)];if(e=a[0],t=a[1],"object"===za(r)){var o=[.5,r];r=o[0],n=o[1]}var i=n;return Qi(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(r)}function Ji(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(eu(e)){n=t;var a=Y((r=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=n,i=o.maxDeltaE,u=o.deltaEMethod,s=o.steps,l=void 0===s?2:s,c=o.maxSteps,d=void 0===c?1e3:c,p=O(o,h);if(!r){var f=[lo(e),lo(t)];r=Qi(e=f[0],t=f[1],p)}var m=Ki(e,t),g=i>0?Math.max(l,Math.ceil(m/i)+1):l,v=[];if(void 0!==d&&(g=Math.min(g,d)),1===g)v=[{p:.5,color:r(.5)}];else{var b=1/(g-1);v=Array.from({length:g},(function(e,t){var n=t*b;return{p:n,color:r(n)}}))}if(i>0)for(var y=v.reduce((function(e,t,r){if(0===r)return 0;var n=Ki(t.color,v[r-1].color,u);return Math.max(e,n)}),0);y>i;){y=0;for(var w=1;w<v.length&&v.length<d;w++){var D=v[w-1],x=v[w],E=(x.p+D.p)/2,A=r(E);y=Math.max(y,Ki(A,D.color),Ki(A,x.color)),v.splice(w,0,{p:E,color:r(E)}),w++}}return v=v.map((function(e){return e.color}))}function Qi(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(eu(e)){var n=e,a=t;return Qi.apply(void 0,q(n.rangeArgs.colors).concat([j({},n.rangeArgs.options,a)]))}var o=r.space,i=r.outputSpace,u=r.progression,s=r.premultiplied;e=lo(e),t=lo(t),e=Ro(e),t=Ro(t);var l={colors:[e,t],options:r};if(o=o?oo.get(o):oo.registry[Ja.interpolationSpace]||e.space,i=i?oo.get(i):o,e=To(e,o),t=To(t,o),e=_o(e),t=_o(t),o.coords.h&&"angle"===o.coords.h.type){var c=r.hue=r.hue||"shorter",d=[o,"h"],p=[po(e,d),po(t,d)],f=p[0],m=p[1],h=function(e,t){if("raw"===e)return t;var r=Y(t.map(Do),2),n=r[0],a=r[1],o=a-n;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(n+=360):"longer"===e?-180<o&&o<180&&(o>0?a+=360:n+=360):"shorter"===e&&(o>180?n+=360:o<-180&&(a+=360)),[n,a]}(c,[f,m]),g=Y(h,2);f=g[0],m=g[1],mo(e,d,f),mo(t,d,m)}return s&&(e.coords=e.coords.map((function(t){return t*e.alpha})),t.coords=t.coords.map((function(e){return e*t.alpha}))),Object.assign((function(r){r=u?u(r):r;var n=e.coords.map((function(e,n){return Ha(e,t.coords[n],r)})),a=Ha(e.alpha,t.alpha,r),l={space:o,coords:n,alpha:a};return s&&(l.coords=l.coords.map((function(e){return e/a}))),i!==o&&(l=To(l,i)),l}),{rangeArgs:l})}function eu(e){return"function"===za(e)&&!!e.rangeArgs}Ja.interpolationSpace="lab";var tu=Object.freeze({__proto__:null,mix:Zi,steps:Ji,range:Qi,isRange:eu,register:function(e){e.defineFunction("mix",Zi,{returns:"color"}),e.defineFunction("range",Qi,{returns:"function<color>"}),e.defineFunction("steps",Ji,{returns:"array<color>"})}}),ru=new oo({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Vo,fromBase:function(e){var t=Math.max.apply(Math,q(e)),r=Math.min.apply(Math,q(e)),n=Y(e,3),a=n[0],o=n[1],i=n[2],u=NaN,s=0,l=(r+t)/2,c=t-r;if(0!==c){switch(s=0===l||1===l?0:(t-l)/Math.min(l,1-l),t){case a:u=(o-i)/c+(o<i?6:0);break;case o:u=(i-a)/c+2;break;case i:u=(a-o)/c+4}u*=60}return[u,100*s,100*l]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2];function o(e){var t=(e+r/30)%12,o=n*Math.min(a,1-a);return a-o*Math.max(-1,Math.min(t-3,9-t,1))}return(r%=360)<0&&(r+=360),n/=100,a/=100,[o(0),o(8),o(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),nu=new oo({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:ru,fromBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)+(n/=100)*Math.min(a,1-a);return[r,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)*(1-(n/=100)/2);return[r,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),au=new oo({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:nu,fromBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2];return[r,a*(100-n)/100,100-a]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=(n/=100)+(a/=100);if(o>=1)return[r,0,100*(n/o)];var i=1-a;return[r,100*(0===i?0:1-n/i),100*i]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),ou=new uo({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),iu=new uo({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:ou,toBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)}))},fromBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)}))},formats:{color:{id:"a98-rgb"}}}),uu=new uo({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:ho,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),su=1/512,lu=new uo({id:"prophoto",name:"ProPhoto",base:uu,toBase:function(e){return e.map((function(e){return e<.03125?e/16:Math.pow(e,1.8)}))},fromBase:function(e){return e.map((function(e){return e>=su?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),cu=new oo({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Wi,fromBase:function(e){var t,r=Y(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),Do(t)]},toBase:function(e){var t,r,n=Y(e,3),a=n[0],o=n[1],i=n[2];return isNaN(i)?(t=0,r=0):(t=o*Math.cos(i*Math.PI/180),r=o*Math.sin(i*Math.PI/180)),[a,t,r]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),du=2610/Math.pow(2,14),pu=Math.pow(2,14)/2610,fu=2523/Math.pow(2,5),mu=Math.pow(2,5)/2523,hu=3424/Math.pow(2,12),gu=2413/Math.pow(2,7),vu=2392/Math.pow(2,7),bu=new uo({id:"rec2100pq",name:"REC.2100-PQ",base:Oo,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,mu)-hu,0)/(gu-vu*Math.pow(e,mu)),pu)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),r=hu+gu*Math.pow(t,du),n=1+vu*Math.pow(t,du);return Math.pow(r/n,fu)}))},formats:{color:{id:"rec2100-pq"}}}),yu=.17883277,wu=.28466892,Du=.55991073,xu=3.7743,Eu=new uo({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Oo,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*xu:Math.exp((e-Du)/yu+wu)/12*xu}))},fromBase:function(e){return e.map((function(e){return(e/=xu)<=1/12?Math.sqrt(3*e):yu*Math.log(12*e-wu)+Du}))},formats:{color:{id:"rec2100-hlg"}}}),Au={};function Fu(e){var t=e.id;e.toCone_M,e.fromCone_M;Au[t]=arguments[0]}function Cu(e,t){var r=Au[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],n=Y(ja(r.toCone_M,e),3),a=n[0],o=n[1],i=n[2],u=Y(ja(r.toCone_M,t),3),s=ja([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],r.toCone_M);return ja(r.fromCone_M,s)}Za.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=Cu(e.W1,e.W2,e.options.method))})),Za.add("chromatic-adaptation-end",(function(e){e.M||(e.M=Cu(e.W1,e.W2,e.options.method))})),Fu({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Fu({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),Fu({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),Fu({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Qa,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Qa.ACES=[.32168/.33767,1,.34065/.33767];var ku=new uo({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Qa.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),Nu=Math.pow(2,-16),Ru=-.35828683,_u=(Math.log2(65504)+9.72)/17.52,Tu=new uo({id:"acescc",name:"ACEScc",coords:{r:{range:[Ru,_u],name:"Red"},g:{range:[Ru,_u],name:"Green"},b:{range:[Ru,_u],name:"Blue"}},referred:"scene",base:ku,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-Nu):e<_u?Math.pow(2,17.52*e-9.72):65504}))},fromBase:function(e){return e.map((function(e){return e<=0?(Math.log2(Nu)+9.72)/17.52:e<Nu?(Math.log2(Nu+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52}))},formats:{color:{}}}),Su=Object.freeze({__proto__:null,XYZ_D65:io,XYZ_D50:ho,XYZ_ABS_D65:fi,Lab_D65:ii,Lab:wo,LCH:xo,sRGB_Linear:Lo,sRGB:Vo,HSL:ru,HWB:au,HSV:nu,P3_Linear:Bo,P3:Go,A98RGB_Linear:ou,A98RGB:iu,ProPhoto_Linear:uu,ProPhoto:lu,REC_2020_Linear:Oo,REC_2020:Io,OKLab:Wi,OKLCH:cu,Jzazbz:Ri,JzCzHz:_i,ICTCP:Vi,REC_2100_PQ:bu,REC_2100_HLG:Eu,ACEScg:ku,ACEScc:Tu}),Ou=(P=new WeakMap,Q((function e(){var t,r,n,a,o=this;Z(this,e),V(this,P,void 0);for(var i=arguments.length,u=new Array(i),s=0;s<i;s++)u[s]=arguments[s];1===u.length&&(t=lo(u[0])),t?(r=t.space||t.spaceId,n=t.coords,a=t.alpha):(r=u[0],n=u[1],a=u[2]),U(P,this,oo.get(r)),this.coords=n?n.slice():[0,0,0],this.alpha=a<1?a:1;for(var l=0;l<this.coords.length;l++)"NaN"===this.coords[l]&&(this.coords[l]=NaN);var c=function(e){Object.defineProperty(o,e,{get:function(){return o.get(e)},set:function(t){return o.set(e,t)}})};for(var d in H(P,this).coords)c(d)}),[{key:"space",get:function(){return H(P,this)}},{key:"spaceId",get:function(){return H(P,this).id}},{key:"clone",value:function(){return new Ou(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Ko.apply(void 0,[this].concat(t));return n.color=new Ou(n.color),n}}],[{key:"get",value:function(e){if(e instanceof Ou)return e;for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return S(Ou,[e].concat(r))}},{key:"defineFunction",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=r.instance,a=void 0===n||n,o=r.returns,i=function(){var e=t.apply(void 0,arguments);if("color"===o)e=Ou.get(e);else if("function<color>"===o){var r=e;e=function(){var e=r.apply(void 0,arguments);return Ou.get(e)},Object.assign(e,r)}else"array<color>"===o&&(e=e.map((function(e){return Ou.get(e)})));return e};e in Ou||(Ou[e]=i),a&&(Ou.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(e){for(var t in e)Ou.defineFunction(t,e[t],e[t])}},{key:"extend",value:function(e){if(e.register)e.register(Ou);else for(var t in e)Ou.defineFunction(t,e[t])}}]));Ou.defineFunctions({get:po,getAll:co,set:mo,setAll:fo,to:To,equals:function(e,t){return e=lo(e),t=lo(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((function(e,r){return e===t.coords[r]}))},inGamut:No,toGamut:_o,distance:Xo,toString:So}),Object.assign(Ou,{util:Ka,hooks:Za,WHITES:Qa,Space:oo,spaces:oo.registry,parse:so,defaults:Ja});for(var Mu=0,Pu=Object.keys(Su);Mu<Pu.length;Mu++){var Iu=Pu[Mu];oo.register(Su[Iu])}for(var Bu in oo.registry)Lu(Bu,oo.registry[Bu]);function Lu(e,t){Object.keys(t.coords),Object.values(t.coords).map((function(e){return e.name}));var r=e.replace(/-/g,"_");Object.defineProperty(Ou.prototype,r,{get:function(){var r=this,n=this.getAll(e);return"undefined"==typeof Proxy?n:new Proxy(n,{has:function(e,r){try{return oo.resolveCoord([t,r]),!0}catch(e){}return Reflect.has(e,r)},get:function(e,r,n){if(r&&"symbol"!==l(r)&&!(r in e)){var a=oo.resolveCoord([t,r]).index;if(a>=0)return e[a]}return Reflect.get(e,r,n)},set:function(n,a,o,i){if(a&&"symbol"!==l(a)&&!(a in n)||a>=0){var u=oo.resolveCoord([t,a]).index;if(u>=0)return n[u]=o,r.setAll(e,n),!0}return Reflect.set(n,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}Za.add("colorspace-init-end",(function(e){var t;Lu(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){Lu(t,e)}))})),Ou.extend(Yi),Ou.extend({deltaE:Ki}),Ou.extend(Xi),Ou.extend({contrast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qa(r)&&(r={algorithm:r});var n=r,a=n.algorithm,o=O(n,f);if(!a){var i=Object.keys(si).map((function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var u in e=lo(e),t=lo(t),si)if("contrast"+a.toLowerCase()===u.toLowerCase())return si[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),Ou.extend(di),Ou.extend(Qo),Ou.extend(tu),Ou.extend(si);var ju=me(br());Ia.default.templateSettings.strip=!1,c._memoizedFns=[];var qu=function(e){var t=(0,La.default)(e);return c._memoizedFns.push(t),t},zu=qu((function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName}));function Vu(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||s;if(11!==n.nodeType)return e(t,r,n);for(var a=[];11===n.nodeType;){if(!n.host)return"";a.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return a.unshift({elm:t,doc:n}),a.map((function(t){return e(t.elm,r,t.doc)}))}var Gu=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],$u=31,Hu=/([\\"])/g,Uu=/(\r\n|\r|\n)/g;function Wu(e){return e.replace(Hu,"\\$1").replace(Uu,"\\a ")}function Yu(e,t){var r,n=t.name;if(-1!==n.indexOf("href")||-1!==n.indexOf("src")){var a=Fa(e.getAttribute(n));r=a?xa(t.name)+'$="'+Wu(a)+'"':xa(t.name)+'="'+Wu(e.getAttribute(n))+'"'}else r=xa(n)+'="'+Wu(t.value)+'"';return r}function Ku(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Xu(e){return!Gu.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<$u)}function Zu(e){for(var t={classes:{},tags:{},attributes:{}},r=(e=Array.isArray(e)?e:[e]).slice(),n=[],a=function(){var e=r.pop(),a=e.actualNode;if(a.querySelectorAll){var o=a.nodeName;t.tags[o]?t.tags[o]++:t.tags[o]=1,a.classList&&Array.from(a.classList).forEach((function(e){var r=xa(e);t.classes[r]?t.classes[r]++:t.classes[r]=1})),a.hasAttributes()&&Array.from(ka(a)).filter(Xu).forEach((function(e){var r=Yu(a,e);r&&(t.attributes[r]?t.attributes[r]++:t.attributes[r]=1)}))}for(e.children.length&&(n.push(r),r=e.children.slice());!r.length&&n.length;)r=n.pop()};r.length;)a();return t}function Ju(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[];return r.find((function(r){return r!==e&&Na(r,t)}))?":nth-child("+(1+r.indexOf(e))+")":""}function Qu(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||s,r="#"+xa(e.getAttribute("id")||"");return r.match(/player_uid_/)||1!==t.querySelectorAll(r).length?void 0:r}}function es(e){var t=zu(s);return xa(t?e.localName:e.nodeName.toLowerCase())}function ts(e,t){var r,n="",a=function(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach((function(t){var o=xa(t);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"})})),r.sort(Ku)}(e,t),o=function(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(ka(e)).filter(Xu).forEach((function(t){var o=Yu(e,t);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"})})),r.sort(Ku)}(e,t);return a.length&&1===a[0].count?r=[a[0]]:o.length&&1===o[0].count?(r=[o[0]],n=es(e)):((r=a.concat(o)).sort(Ku),(r=r.slice(0,3)).some((function(e){return"class"===e.species}))?r.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):n=es(e)),n+r.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function rs(e,t,r){if(!c._selectorData)throw new Error("Expect axe._selectorData to be set up");var n,a,o=t.toRoot,i=void 0!==o&&o;do{var u=Qu(e);u||(u=ts(e,c._selectorData),u+=Ju(e,u)),n=n?u+" > "+n:u,a=!a||a.length>na.selectorSimilarFilterLimit?as(r,n):a.filter((function(e){return Na(e,n)})),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}var ns=qu((function(e,t){return Vu(rs,e,t)})),as=qu((function(e,t){return Array.from(e.querySelectorAll(t))}));function os(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if("head"!==t&&"body"!==t&&(null==n?void 0:n.children.length)>1){var o=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(o,")")}return r?os(r)+" > "+t+a:t+a}function is(e,t){return Vu(os,e,t)}function us(e,t){var r,n;if(!e)return[];if(!t&&9===e.nodeType)return t=[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=us(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do{1===r.nodeType&&r.nodeName===e.nodeName&&n++,r=r.previousSibling}while(r);1===n&&(n=null)}else if(e.nextSibling){r=e.nextSibling;do{1===r.nodeType&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling)}while(r)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&xa(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a)}return t}var ss=function(e){return function(e){return e.reduce((function(e,t){return t.id?"//".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")}),"")}(us(e))},ls={},cs={set:function(e,t){!function(e){wa("string"==typeof e,"key must be a string, "+l(e)+" given"),wa(""!==e,"key must not be empty")}(e),ls[e]=t},get:function(e,t){if(function(e){wa("function"==typeof e||void 0===e,"creator must be a function or undefined, "+l(e)+" given")}(t),e in ls)return ls[e];if("function"==typeof t){var r=t();return wa(void 0!==r,"Cache creator function should not return undefined"),this.set(e,r),ls[e]}},clear:function(){ls={}}};var ds=cs;var ps=function(e,t){var r=t||e;return ds.get("nodeMap")?ds.get("nodeMap").get(r):null},fs={};fe(fs,{createGrid:function(){return pl},findElmsInContext:function(){return gs},findNearbyElms:function(){return xl},findUp:function(){return bs},findUpVirtual:function(){return vs},focusDisabled:function(){return _l},getComposedParent:function(){return js},getElementByReference:function(){return Ml},getElementCoordinates:function(){return zs},getElementStack:function(){return jl},getModalDialog:function(){return Fl},getNodeGrid:function(){return Dl},getOverflowHiddenAncestors:function(){return Ds},getRootNode:function(){return hs},getScrollOffset:function(){return qs},getTabbableElements:function(){return ql},getTargetRects:function(){return $l},getTargetSize:function(){return Hl},getTextElementStack:function(){return _d},getViewportSize:function(){return Vs},getVisibleChildTextRects:function(){return Nd},hasContent:function(){return Id},hasContentVirtual:function(){return Pd},hasLangText:function(){return Bd},idrefs:function(){return Wl},insertedIntoFocusOrder:function(){return Ld},isCurrentPageLink:function(){return Ol},isFocusable:function(){return Vl},isHTML5:function(){return Vd},isHiddenForEveryone:function(){return Is},isHiddenWithCSS:function(){return zd},isInTabOrder:function(){return Gl},isInTextBlock:function(){return Wd},isInert:function(){return Cl},isModalOpen:function(){return Yd},isMultiline:function(){return Kd},isNativelyFocusable:function(){return zl},isNode:function(){return Xd},isOffscreen:function(){return Gs},isOpaque:function(){return sp},isSkipLink:function(){return lp},isVisible:function(){return mp},isVisibleOnScreen:function(){return Hs},isVisibleToScreenReaders:function(){return Hc},isVisualContent:function(){return Sd},reduceToElementsBelowFloating:function(){return hp},shadowElementsFromPoint:function(){return yp},urlPropsFromAttribute:function(){return xp},visuallyContains:function(){return gp},visuallyOverlaps:function(){return Ep},visuallySort:function(){return Pl}});var ms=function(e){var t=e.getRootNode&&e.getRootNode()||s;return t===e&&(t=s),t},hs=ms;var gs=function(e){var t,r=e.context,n=e.value,a=e.attr,o=e.elm,i=void 0===o?"":o,u=xa(n);return t=9===r.nodeType||11===r.nodeType?r:hs(r),Array.from(t.querySelectorAll(i+"["+a+"="+u+"]"))};var vs=function(e,t){var r;if(r=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest){var n=e.actualNode.closest(t);return n||null}do{(r=r.assignedSlot?r.assignedSlot:r.parentNode)&&11===r.nodeType&&(r=r.host)}while(r&&!Na(r,t)&&r!==s.documentElement);return r&&Na(r,t)?r:null};var bs=function(e,t){return vs(ps(e),t)};function ys(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var ws=qu((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(ws(e.parent))):t})),Ds=ws,xs=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Es=/(\w+)\((\d+)/;function As(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Fs(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Cs(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function ks(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Ns(e){return"true"===e.attr("aria-hidden")}function Rs(e){return"0"===e.getComputedStylePropertyValue("opacity")}function _s(e){var t=Lm(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===r||0===n)}function Ts(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.getComputedStylePropertyValue("position");if("fixed"===t)return!1;var r=Ds(e);if(!r.length)return!1;var n=e.boundingClientRect;return r.some((function(r){if("absolute"===t&&!function(e,t){var r=e.parent;for(;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return!0;r=r.parent}return!1}(e,r)&&"static"===r.getComputedStylePropertyValue("position"))return!1;var a=r.boundingClientRect;return a.width<2||a.height<2||!ys(n,a)}))}function Ss(e){var t=e.getComputedStylePropertyValue("clip").match(xs),r=e.getComputedStylePropertyValue("clip-path").match(Es);if(t&&5===t.length){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function Os(e,t){var r=Kp(e,"map");if(!r)return!0;var n=r.attr("name");if(!n)return!0;var a=ms(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=Fh(c._tree,'img[usemap="#'.concat(xa(n),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function Ms(e){var t;if("details"!==(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName))return!1;if("summary"===e.props.nodeName&&e.parent.children.find((function(e){return"summary"===e.props.nodeName}))===e)return!1;return!e.parent.hasAttr("open")}var Ps=[Fs,Cs,ks,Ms];function Is(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=void 0!==n&&n;return e=ah(e).vNode,r?Bs(e,a):Ls(e,a)}var Bs=qu((function(e,t){return!!As(e)||!!e.actualNode&&(!!Ps.some((function(r){return r(e,{isAncestor:t})}))||!e.actualNode.isConnected)})),Ls=qu((function(e,t){return!!Bs(e,t)||!!e.parent&&Ls(e.parent,!0)}));var js=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null};var qs=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}};var zs=function(e){var t=qs(s),r=t.left,n=t.top,a=e.getBoundingClientRect();return{top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}};var Vs=function(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var n=t.body;return{width:n.clientWidth,height:n.clientHeight}};var Gs=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=ah(e).domNode;if(t){var r,n=s.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(s.body||n).getPropertyValue("direction"),u=zs(t);if(u.bottom<0&&(function(e,t){for(e=js(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=js(e)}return!0}(t,u.bottom)||"absolute"===a.position))return!0;if(0===u.left&&0===u.right)return!1;if("ltr"===o){if(u.right<=0)return!0}else if(r=Math.max(n.scrollWidth,Vs(i).width),u.left>=r)return!0;return!1}},$s=[Rs,_s,Ts,Ss,Gs];function Hs(e){return e=ah(e).vNode,Us(e)}var Us=qu((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Os(e,Us):!Is(e,{skipAncestors:!0,isAncestor:t})&&((!e.actualNode||!$s.some((function(r){return r(e,{isAncestor:t})})))&&(!e.parent||Us(e.parent,!0)))}));function Ws(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,r,n-o,a-r)}function Ys(e,t){var r=e.x,n=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return n>=a&&r<=o&&n<=i&&r>=u}var Ks={};function Xs(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return r>=n||a>=o?null:new i.DOMRect(r,a,n-r,o-a)}function Zs(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new i.DOMPoint(t+n/2,r+a/2)}fe(Ks,{getBoundingRect:function(){return Ws},getIntersectionRect:function(){return Xs},getOffset:function(){return el},getRectCenter:function(){return Zs},hasVisualOverlap:function(){return nl},isPointInRect:function(){return Ys},rectHasMinimumSize:function(){return Qs},rectsOverlap:function(){return ys},splitRects:function(){return al}});var Js=.05;function Qs(e,t){var r=t.width,n=t.height;return r+Js>=e&&n+Js>=e}function el(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,n=$l(e),a=$l(t);if(!n.length||!a.length)return null;var o,i=Zs(n.reduce(Ws)),u=1/0,s=te(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(Ys(i,l))return 0;var c=rl(i,tl(i,l));u=Math.min(u,c)}}catch(e){s.e(e)}finally{s.f()}if(Qs(2*r,Hl(t)))return u;var d=rl(i,Zs(a.reduce(Ws)))-r;return Math.max(0,Math.min(u,d))}function tl(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function rl(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function nl(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return!(r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top)&&Pl(e,t)>0}function al(e,t){var r,n=[e],a=te(t);try{var o=function(){var e=r.value;if((n=n.reduce((function(t,r){return t.concat(function(e,t){var r=e.top,n=e.left,a=e.bottom,o=e.right,i=r<t.bottom&&a>t.top,u=n<t.right&&o>t.left,s=[];ol(t.top,r,a)&&u&&s.push({top:r,left:n,bottom:t.top,right:o});ol(t.right,n,o)&&i&&s.push({top:r,left:t.right,bottom:a,right:o});ol(t.bottom,r,a)&&u&&s.push({top:t.bottom,right:o,bottom:a,left:n});ol(t.left,n,o)&&i&&s.push({top:r,left:n,bottom:a,right:t.left});if(0===s.length){if(c=t,(l=e).top>=c.top&&l.left>=c.left&&l.bottom<=c.bottom&&l.right<=c.right)return[];s.push(e)}var l,c;return s.map(il)}(r,e))}),[])).length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return n}var ol=function(e,t,r){return e>t&&e<r};function il(e){return new i.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var ul=0,sl=.1,ll=.2,cl=.3,dl=0;function pl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(ds.get("gridCreated")&&!r)return na.gridSize;if(ds.set("gridCreated",!0),!r){var n=ps(s.documentElement);if(n||(n=new Cp(s.documentElement)),dl=0,n._stackingOrder=[gl(ul,dl++,null)],null!=t||(t=new yl),bl(t,n),Lm(n.actualNode)){var a=new yl(n);n._subGrid=a}}for(var o=s.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),u=r?o.nextNode():o.currentNode;u;){var l=ps(u);l&&l.parent?r=l.parent:u.assignedSlot?r=ps(u.assignedSlot):u.parentElement?r=ps(u.parentElement):u.parentNode&&ps(u.parentNode)&&(r=ps(u.parentNode)),l||(l=new c.VirtualNode(u,r)),l._stackingOrder=hl(l,r,dl++);var d=vl(l,r),p=d?d._subGrid:t;if(Lm(l.actualNode)){var f=new yl(l);l._subGrid=f}var m=l.boundingClientRect;0!==m.width&&0!==m.height&&Hs(u)&&bl(p,l),Jf(u)&&pl(u.shadowRoot,p,l),u=o.nextNode()}return na.gridSize}function fl(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if("fixed"===r||"sticky"===r)return!0;if("auto"!==n&&"static"!==r)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var s=e.getComputedStylePropertyValue("will-change");if("transform"===s||"opacity"===s)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var l=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(l)||!("auto"===n||!ml(t))}function ml(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function hl(e,t,r){var n=t._stackingOrder.slice();if(fl(e,t)){var a=n.findIndex((function(e){var t=e.stackLevel;return[ul,ll,cl].includes(t)}));-1!==a&&n.splice(a,n.length-a)}var o=function(e,t){var r=function(e,t){var r=e.getComputedStylePropertyValue("position");if("static"===r&&!ml(t))return"auto";return e.getComputedStylePropertyValue("z-index")}(e,t);if(!["auto","0"].includes(r))return parseInt(r);if("static"!==e.getComputedStylePropertyValue("position"))return cl;if("none"!==e.getComputedStylePropertyValue("float"))return ll;if(fl(e,t))return sl;return null}(e,t);return null!==o&&n.push(gl(o,r,e)),n}function gl(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function vl(e,t){for(var r=null,n=[e];t;){if(Lm(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=ps(t.actualNode.parentElement||t.actualNode.parentNode)}return n.forEach((function(e){return e._scrollRegionParent=r})),r}function bl(e,t){var r=Ds(t);t.clientRects.forEach((function(n){var a,o=r.reduce((function(e,t){return e&&Xs(e,t.boundingClientRect)}),n);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,(function(e){e.includes(t)||e.push(t)}))}}))}var yl=Q((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Z(this,e),this.container=t,this.cells=[]}),[{key:"toGridIndex",value:function(e){return Math.floor(e/na.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,r,n=e.x,a=e.y;wa(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(n);wa(Ys({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(r=u[i-u._negativeIndex])&&void 0!==r?r:[]}},{key:"loopGridPosition",value:function(e,t){var r=e,n=r.left,a=r.right,o=r.top,i=r.bottom;this.boundaries&&(e=Ws(this.boundaries,e)),this.boundaries=e,wl(this.cells,o,i,(function(e,r){wl(e,n,a,(function(e,n){t(e,{row:r,col:n})}))}))}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),r=this.toGridIndex(r+o-1),n=this.toGridIndex(n+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,r-a,n-t)}}]);function wl(e,t,r,n){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var o=0;o<e._negativeIndex-t;o++)e.splice(0,0,[]);e._negativeIndex=t}for(var i=t-e._negativeIndex,u=r-e._negativeIndex,s=i;s<=u;s++){var l,c;null!==(c=e[l=s])&&void 0!==c||(e[l]=[]),n(e[s],s+e._negativeIndex)}}function Dl(e){return pl(),ah(e).vNode._grid}function xl(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Dl(e);if(null==n||null===(t=n.cells)||void 0===t||!t.length)return[];var a=e.boundingClientRect,o=El(e),i=n.getGridPositionOfRect(a,r),u=[];return n.loopGridPosition(i,(function(t){var r,n=te(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;a&&a!==e&&!u.includes(a)&&o===El(a)&&u.push(a)}}catch(e){n.e(e)}finally{n.f()}})),u}var El=qu((function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||El(e.parent))})),Al=qu((function(){var e;if(!c._tree)return null;var t=mh(c._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&Hs(e)}));if(!t.length)return null;var r=t.find((function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)}));return r||(null!==(e=t.find((function(e){var t,r=null!==(t=function(e){pl();var t=c._tree[0]._grid,r=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(!t)return;for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var o=0;o<a.length;o++){var u=a[o];if(u)for(var s=0;s<u.length;s++){var l=u[s],d=Xs(l.boundingClientRect,r);if("html"!==l.props.nodeName&&l!==e&&"none"!==l.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:l,rect:d}}}}}(e))&&void 0!==t?t:{},n=r.vNode,a=r.rect;return!!n&&!s.elementsFromPoint(a.left+1,a.top+1).includes(n.actualNode)})))&&void 0!==e?e:null)})),Fl=Al;function Cl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?kl(e,n):Nl(e,n)}var kl=qu((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var r=Fl();if(r&&!Yf(r,e))return!0}return!1})),Nl=qu((function(e,t){return!!kl(e,t)||!!e.parent&&Nl(e.parent,!0)})),Rl=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];var _l=function(e){var t,r=ah(e).vNode;if(t=r.props.nodeName,Rl.includes(t)&&r.hasAttr("disabled")||Cl(r))return!0;for(var n=r.parent,a=[],o=!1;n&&n.shadowId===r.shadowId&&!o&&(a.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){o=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(o=!0),n=n.parent}return a.forEach((function(e){return e._inDisabledFieldset=o})),!!o||"area"!==r.props.nodeName&&(!!r.actualNode&&Is(r))},Tl=/^\/\#/,Sl=/^#[!/]/;function Ol(e){var t,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(Tl.test(r))return!0;var n=e.hash,a=e.protocol,o=e.hostname,u=e.port,s=e.pathname;if(Sl.test(n))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var l,c=i.location.origin+i.location.pathname;return l=o?"".concat(a,"//").concat(o).concat(u?":".concat(u):""):i.location.origin,(l+=s?("/"!==s[0]?"/":"")+s:i.location.pathname)===c}var Ml=function(e,t){var r=e.getAttribute(t);if(!r)return null;if("href"===t&&!Ol(e))return null;-1!==r.indexOf("#")&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=s.getElementById(r);return n||((n=s.getElementsByName(r)).length?n[0]:null)};function Pl(e,t){pl();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(void 0===t._stackingOrder[n])return-1;if(void 0===e._stackingOrder[n])return 1;if(t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return-1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,o=t.actualNode;if(a.getRootNode&&a.getRootNode()!==o.getRootNode()){for(var u=[];a;)u.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;o&&!u.find((function(e){return e.root===o.getRootNode()}));)o=o.getRootNode().host;if((a=u.find((function(e){return e.root===o.getRootNode()})).node)===o)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=i.Node,l=s.DOCUMENT_POSITION_FOLLOWING,c=s.DOCUMENT_POSITION_CONTAINS,d=s.DOCUMENT_POSITION_CONTAINED_BY,p=a.compareDocumentPosition(o),f=p&l?1:-1,m=p&c||p&d,h=Il(e),g=Il(t);return h===g||m?f:g-h}function Il(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:Bl(e)?1:0}function Bl(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=Bl(e.parent);return e._isFloated=t,t}function Ll(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=Zs(t),a=e.getCellFromPoint(n)||[],o=Math.floor(n.x),i=Math.floor(n.y),u=a.filter((function(e){return e.clientRects.some((function(e){var t=e.left,r=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&i<Math.floor(r+e.height)&&i>=Math.floor(r)}))})),l=e.container;return l&&(u=Ll(l._grid,l.boundingClientRect,!0).concat(u)),r||(u=u.sort(Pl).map((function(e){return e.actualNode})).concat(s.documentElement).filter((function(e,t,r){return r.indexOf(e)===t}))),u}var jl=function(e){var t=Dl(e);return t?Ll(t,ps(e).boundingClientRect):[]};var ql=function(e){return Fh(e,"*").filter((function(e){var t=e.isFocusable,r=sh(e.actualNode.getAttribute("tabindex"));return null!==r?t&&r>=0:t}))};var zl=function(e){var t=ah(e).vNode;if(!t||_l(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!Fh(t,"summary").length}return!1};function Vl(e){var t=ah(e).vNode;return 1===t.props.nodeType&&(!_l(t)&&(!!zl(t)||null!==sh(t.attr("tabindex"))))}function Gl(e){var t=ah(e).vNode;return 1===t.props.nodeType&&(!(sh(t.attr("tabindex"))<=-1)&&Vl(t))}var $l=qu((function(e){var t=e.boundingClientRect,r=xl(e).filter((function(t){return nl(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return Yf(e,t)&&!Gl(t)}(e,t)}));if(!r.length)return[t];var n=r.map((function(e){return e.boundingClientRect}));return al(t,n)}));var Hl=qu((function(e,t){return function(e,t){return e.reduce((function(e,r){var n=Qs(t,e);return n!==Qs(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r}))}($l(e),t)}));var Ul={};fe(Ul,{accessibleText:function(){return Yl},accessibleTextVirtual:function(){return gd},autocomplete:function(){return wd},formControlValue:function(){return od},formControlValueMethods:function(){return nd},hasUnicode:function(){return md},isHumanInterpretable:function(){return yd},isIconLigature:function(){return hd},isValidAutocomplete:function(){return Dd},label:function(){return Fd},labelText:function(){return sd},labelVirtual:function(){return Ad},nativeElementType:function(){return Cd},nativeTextAlternative:function(){return fd},nativeTextMethods:function(){return pd},removeUnicode:function(){return bd},sanitize:function(){return mc},subtreeText:function(){return ud},titleText:function(){return zc},unsupported:function(){return $c},visible:function(){return Ed},visibleTextNodes:function(){return kd},visibleVirtual:function(){return Wc}});var Wl=function(e,t){e=e.actualNode||e;try{var r=hs(e),n=[],a=e.getAttribute(t);if(a){a=em(a);for(var o=0;o<a.length;o++)n.push(r.getElementById(a[o]))}return n}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}};var Yl=function(e,t){return gd(ps(e),t)};var Kl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=ah(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||t.inLabelledByContext||t.inControlContext||!r.attr("aria-labelledby")?"":Wl(r,"aria-labelledby").filter((function(e){return e})).reduce((function(e,n){var a=Yl(n,j({inLabelledByContext:!0,startNode:t.startNode||r},t));return e?"".concat(e," ").concat(a):a}),"")};function Xl(e){var t=ah(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var Zl={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},Jl={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},Ql={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},ec={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},tc={ariaAttrs:Zl,ariaRoles:j({},Jl,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:Ql,cssColors:ec},rc=j({},tc);var nc=rc;var ac=function(e){var t=nc.ariaRoles[e];return!!t&&!!t.unsupported};var oc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=void 0!==n&&n,o=nc.ariaRoles[e],i=ac(e);return!(!o||a&&i)&&(!!r||"abstract"!==o.type)};var ic=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(1!==(e=e instanceof ia?e:ps(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(r?em(o):[o]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&oc(e,{allowAbstract:n})}))||null};var uc=function(e){return Object.keys(nc.htmlElms).filter((function(t){var r=nc.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):!!r.variant&&(!(!r.variant.default||!r.variant.default.contentTypes)&&r.variant.default.contentTypes.includes(e))}))};var sc=function(){return ds.get("globalAriaAttrs",(function(){return Object.keys(nc.ariaAttrs).filter((function(e){return nc.ariaAttrs[e].global}))}))};var lc=qu((function(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var o=r[n].cells;t[n]=t[n]||[];for(var i=0,u=0,s=o.length;u<s;u++)for(var l=0;l<o[u].colSpan;l++){for(var c=o[u].getAttribute("rowspan"),d=0===parseInt(c)||0===o[u].rowspan?r.length:o[u].rowSpan,p=0;p<d;p++){for(t[n+p]=t[n+p]||[];t[n+p][i];)i++;t[n+p][i]=o[u]}i++}}return t}));var cc=qu((function(e,t){var r,n;for(t||(t=lc(bs(e,"table"))),r=0;r<t.length;r++)if(t[r]&&-1!==(n=t[r].indexOf(e)))return{x:n,y:r}}));function dc(e){var t=ah(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),o=ic(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===o)return"col";if("rowheader"===o)return"row";if("col"===a||"row"===a)return a;if("th"!==r.props.nodeName)return!1;if(!r.actualNode)return"auto";var i=lc(bs(n,"table")),u=cc(n,i);return i[u.y].every((function(e){return"TH"===e.nodeName.toUpperCase()}))?"col":i.map((function(e){return e[u.x]})).every((function(e){return e&&"TH"===e.nodeName.toUpperCase()}))?"row":"auto"}var pc=function(e){return-1!==["col","auto"].indexOf(dc(e))};var fc=function(e){return["row","auto"].includes(dc(e))};var mc=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},hc=function(){return ds.get("sectioningContentSelector",(function(){return uc("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"}))},gc=function(){return ds.get("sectioningContentPlusMainSelector",(function(){return hc()+" , main:not([role]), [role=main]"}))};function vc(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,r=void 0!==t&&t;return!!(mc(Kl(e))||mc(Xl(e))||r&&1===(null==e?void 0:e.props.nodeType)&&mc(e.attr("title")))}var bc={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Kp(e.parent,hc())&&!vc(e,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return Kp(e,gc())?null:"contentinfo"},form:function(e){return vc(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Kp(e,gc())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),r=sc().find((function(t){return e.hasAttr(t)}));return!t||r||Vl(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var r=Wl(e.actualNode,"list").filter((function(e){return!!e}))[0];t=r&&"datalist"===r.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return vc(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=Kp(e,"table"),r=ic(t);return["grid","treegrid"].includes(r)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return pc(e)?"columnheader":fc(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"};var yc=function(e,t){var r=l(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===r)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e};var wc=function(e,t){return yc(!!gd(e),t)};var Dc=function(e,t){if("object"!==l(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(r){return yc(e(r),t[r])}))};var xc=function(e,t){return e=ah(e).vNode,Dc((function(t){return e.attr(t)}),t)};function Ec(e,t){return!!t(e)}var Ac=function(e,t){return yc(ic(e),t)};var Fc=function(e,t){return yc(Mc(e),t)};var Cc=function(e,t){return e=ah(e).vNode,yc(e.props.nodeName,t)};var kc=function(e,t){return e=ah(e).vNode,Dc((function(t){return e.props[t]}),t)};var Nc=function(e,t){return yc(jc(e),t)},Rc={hasAccessibleName:wc,attributes:xc,condition:Ec,explicitRole:Ac,implicitRole:Fc,nodeName:Cc,properties:kc,semanticRole:Nc};var _c=function e(t,r){return t=ah(t).vNode,Array.isArray(r)?r.some((function(r){return e(t,r)})):"string"==typeof r?Bp(t,r):Object.keys(r).every((function(e){if(!Rc[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var n=Rc[e],a=r[e];return n(t,a)}))};var Tc=function(e,t){return _c(e,t)};Tc.hasAccessibleName=wc,Tc.attributes=xc,Tc.condition=Ec,Tc.explicitRole=Ac,Tc.fromDefinition=_c,Tc.fromFunction=Dc,Tc.fromPrimative=yc,Tc.implicitRole=Fc,Tc.nodeName=Cc,Tc.properties=kc,Tc.semanticRole=Nc;var Sc=Tc;var Oc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,r=void 0!==t&&t,n=nc.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var a=n.variant,o=O(n,g);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],s=u.matches,l=O(u,v),c=Array.isArray(s)?s:[s],d=0;d<c.length&&r;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return n;if(Sc(e,s))for(var p in l)l.hasOwnProperty(p)&&(o[p]=l[p])}for(var f in a.default)a.default.hasOwnProperty(f)&&void 0===o[f]&&(o[f]=a.default[f]);return o};var Mc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=e instanceof ia?e:ps(e);if(e=r.actualNode,!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=r.props.nodeName,a=bc[n];return!a&&t?Oc(r).chromiumRole||null:"function"==typeof a?a(r):a||null},Pc={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Ic(e,t){var r=Pc[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=ic(e.parent,t);return["none","presentation"].includes(n)&&!Lc(e.parent)?n:n?null:Ic(e.parent,t)}function Bc(e,t){var r=t.chromium,n=O(t,b),a=Mc(e,{chromium:r});if(!a)return null;var o=Ic(e,n);return o||a}function Lc(e){return sc().some((function(t){return e.hasAttr(t)}))||Vl(e)}var jc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noPresentational,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,n=O(t,y),a=ah(e).vNode;if(1!==a.props.nodeType)return null;var o=ic(a,n);return o?["presentation","none"].includes(o)&&Lc(a)?r?null:Bc(a,n):o:r?null:Bc(a,n)}(e,O(t,w));return r&&["presentation","none"].includes(n)?null:n},qc=["iframe"];var zc=function(e){var t=ah(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Tc(t,qc)&&["none","presentation"].includes(jc(t))?"":t.attr("title"):""};var Vc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof ia?e:ps(e)).props.nodeType)return!1;var r=jc(e),n=nc.ariaRoles[r];return!(!n||!n.nameFromContent)||!t&&(!n||["presentation","none"].includes(r))};var Gc=function(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Wl(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return c.utils.getNodeFromTree(e)}));return[].concat(q(r),q(n))}return q(r)},$c={accessibleNameFromFieldValue:["progressbar"]};function Hc(e){return e=ah(e).vNode,Uc(e)}var Uc=qu((function(e,t){return!Ns(e)&&!Cl(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Os(e,Uc):!Is(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||Uc(e.parent,!0)))}));var Wc=function e(t,r,n){var a=ah(t).vNode,o=r?Hc:Hs,i=!t.actualNode||t.actualNode&&o(t),u=a.children.map((function(t){var a=t.props,o=a.nodeType,u=a.nodeValue;if(3===o){if(u&&i)return u}else if(!n)return e(t,r)})).join("");return mc(u)},Yc=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];var Kc=function(e){var t=(e=e instanceof ia?e:ps(e)).props.nodeName;return"textarea"===t||"input"===t&&!Yc.includes((e.attr("type")||"").toLowerCase())};var Xc=function(e){return"select"===(e=e instanceof ia?e:ps(e)).props.nodeName};var Zc=function(e){return"textbox"===ic(e)};var Jc=function(e){return"listbox"===ic(e)};var Qc=function(e){return"combobox"===ic(e)},ed=["progressbar","scrollbar","slider","spinbutton"];var td=function(e){var t=ic(e);return ed.includes(t)},rd=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],nd={nativeTextboxValue:function(e){var t=ah(e).vNode;if(Kc(t))return t.props.value||"";return""},nativeSelectValue:function(e){var t=ah(e).vNode;if(!Xc(t))return"";var r=Fh(t,"option"),n=r.filter((function(e){return e.props.selected}));n.length||n.push(r[0]);return n.map((function(e){return Wc(e)})).join(" ")||""},ariaTextboxValue:function(e){var t=ah(e),r=t.vNode,n=t.domNode;if(!Zc(r))return"";return!n||n&&!Is(n)?Wc(r,!0):n.textContent},ariaListboxValue:ad,ariaComboboxValue:function(e,t){var r=ah(e).vNode;if(!Qc(r))return"";var n=Gc(r).filter((function(e){return"listbox"===jc(e)}))[0];return n?ad(n,t):""},ariaRangeValue:function(e){var t=ah(e).vNode;if(!td(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}};function ad(e,t){var r=ah(e).vNode;if(!Jc(r))return"";var n=Gc(r).filter((function(e){return"option"===jc(e)&&"true"===e.attr("aria-selected")}));return 0===n.length?"":gd(n[0],t)}var od=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode,n=$c.accessibleNameFromFieldValue||[],a=jc(e);if(t.startNode===e||!rd.includes(a)||n.includes(a))return"";var o=Object.keys(nd).map((function(e){return nd[e]})).reduce((function(r,n){return r||n(e,t)}),"");return t.debug&&aa(o||"{empty-value}",r,t),o};var id=uc("phrasing").concat(["#text"]);var ud=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=gd.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,o=n.inControlContext,i=n.inLabelledByContext,u=jc(e),s=Oc(e,{noMatchAccessibleName:!0}).contentTypes;return r(e,t)||1!==e.props.nodeType||null!=s&&s.includes("embedded")||rd.includes(u)?"":t.subtreeDescendant||t.inLabelledByContext||Vc(e,{strict:a})?(a||(t=j({subtreeDescendant:!o&&!i},t)),Gc(e).reduce((function(e,r){return function(e,t,r){var n=t.props.nodeName,a=gd(t,r);if(!a)return e;id.includes(n)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a));return e+a}(e,r,t)}),"")):""};var sd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=gd.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var n,a=j({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return gs({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Kp(e,"label");return i?(n=[].concat(q(o),[i.actualNode])).sort(nh):n=o,n.map((function(e){return Yl(e,a)})).filter((function(e){return""!==e})).join(" ")},ld={submit:"Submit",image:"Submit",reset:"Reset",button:""};function cd(e,t){return t.attr(e)||""}function dd(e,t,r){var n=t.actualNode,a=[e=e.toLowerCase(),n.nodeName.toLowerCase()].join(","),o=n.querySelector(a);return o&&o.nodeName.toLowerCase()===e?Yl(o,r):""}var pd={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return ld[e.props.type]||""},tableCaptionText:dd.bind(null,"caption"),figureText:dd.bind(null,"figcaption"),svgTitleText:dd.bind(null,"title"),fieldsetLegendText:dd.bind(null,"legend"),altText:cd.bind(null,"alt"),tableSummaryText:cd.bind(null,"summary"),titleText:zc,subtreeText:ud,labelText:sd,singleSpace:function(){return" "},placeholderText:cd.bind(null,"placeholder")};function fd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(jc(e)))return"";var n=function(e){var t=Oc(e,{noMatchAccessibleName:!0});return(t.namingMethods||[]).map((function(e){return pd[e]}))}(e),a=n.reduce((function(r,n){return r||n(e,t)}),"");return t.debug&&c.log(a||"{empty-value}",r,t),a}var md=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,o=!1;return r&&(o||(o=Ba().test(e))),n&&(o||(o=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function hd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!mc(n)||md(n,{emoji:!0,nonBmp:!0}))return!1;var a=ds.get("canvasContext",(function(){return s.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),o=a.canvas,u=ds.get("fonts",(function(){return{}})),l=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[l]||(u[l]={occurrences:0,numLigatures:0});var c=u[l];if(c.occurrences>=r){if(c.numLigatures/c.occurrences==1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,p="".concat(d,"px ").concat(l);a.font=p;var f=n.charAt(0),m=a.measureText(f).width;if(0===m)return c.numLigatures++,!0;if(m<30){var h=30/m;m*=h,p="".concat(d*=h,"px ").concat(l)}o.width=m,o.height=d,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(f,0,0);var g=new Uint32Array(a.getImageData(0,0,m,d).data.buffer);if(!g.some((function(e){return e})))return c.numLigatures++,!0;a.clearRect(0,0,m,d),a.fillText(n,0,0);var v=new Uint32Array(a.getImageData(0,0,m,d).data.buffer),b=g.reduce((function(e,t,r){return 0===t&&0===v[r]||0!==t&&0!==v[r]?e:++e}),0),y=n.split("").reduce((function(e,t){return e+a.measureText(t).width}),0),w=a.measureText(n).width;return b/g.length>=t&&1-w/y>=t&&(c.numLigatures++,!0)}function gd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){t.startNode||(t=j({startNode:e},t));1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=j({includeHidden:!Hc(e)},t));return t}(e,t),function(e,t){if(!e)return!1;if(1!==e.props.nodeType||t.includeHidden)return!1;return!Hc(e)}(e,t))return"";if(function(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(r=t.occurrenceThreshold)&&void 0!==r?r:t.occuranceThreshold;if(3!==e.props.nodeType||!n)return!1;return hd(e,a,o)}(e,t))return"";var r=[Kl,Xl,fd,od,ud,vd,zc].reduce((function(r,n){return t.startNode===e&&(r=mc(r)),""!==r?r:n(e,t)}),"");return t.debug&&c.log(r||"{empty-value}",e.actualNode,t),r}function vd(e){return 3!==e.props.nodeType?"":e.props.nodeValue}gd.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var bd=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Ba(),"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e};var yd=function(e){return function(e){return 0===mc(e).length}(e)||function(e){return 1===e.length&&e.match(/\D/)}(e)||function(e){return["aa","abc"].includes(e.toLowerCase())}(e)||function(e){var t=bd(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!mc(t)}(e)?0:1},wd={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};var Dd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,n=void 0!==r&&r,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,u=void 0===i?[]:i,s=t.qualifiers,l=void 0===s?[]:s,c=t.standaloneTerms,d=void 0===c?[]:c,p=t.qualifiedTerms,f=void 0===p?[]:p,m=t.ignoredValues,h=void 0===m?[]:m;if(e=e.toLowerCase().trim(),(o=o.concat(wd.stateTerms)).includes(e)||""===e)return!0;l=l.concat(wd.qualifiers),u=u.concat(wd.locations),d=d.concat(wd.standaloneTerms),f=f.concat(wd.qualifiedTerms);var g=e.split(/\s+/g);if("webauthn"===g[g.length-1]&&(g.pop(),0===g.length))return!1;if(!n&&(g[0].length>8&&"section-"===g[0].substr(0,8)&&g.shift(),u.includes(g[0])&&g.shift(),l.includes(g[0])&&(g.shift(),d=[]),1!==g.length))return!1;var v=g[g.length-1];return h.includes(v)?void 0:d.includes(v)||f.includes(v)};var xd=function(e){var t;return e.attr("aria-labelledby")&&(t=Wl(e.actualNode,"aria-labelledby").map((function(e){var t=ps(e);return t?Wc(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=mc(t))?t:null};var Ed=function(e,t,r){return e=ps(e),Wc(e,t,r)};var Ad=function(e){var t,r;if(r=xd(e))return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=xa(e.attr("id"));if(r=(t=hs(e.actualNode).querySelector('label[for="'+n+'"]'))&&Ed(t,!0))return r}return(r=(t=Kp(e,"label"))&&Wc(t,!0))||null};var Fd=function(e){return e=ps(e),Ad(e)},Cd=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}];var kd=function e(t){var r=Hs(t),n=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?r&&n.push(t):n=n.concat(e(t))})),n},Nd=qu((function(e){var t=ps(e),r=t.boundingClientRect,n=[],a=Ds(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==mc(e.nodeValue)){var t=function(e){var t=s.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some((function(e){return!Ys(Zs(e),t)}))})(t,r)||n.push.apply(n,q(Rd(t,a)))}})),n.length?n:Rd([r],a)}));function Rd(e,t){var r=[];return e.forEach((function(e){if(!(e.width<1||e.height<1)){var n=t.reduce((function(e,t){return e&&Xs(e,t.boundingClientRect)}),e);n&&r.push(n)}})),r}var _d=function(e){var t=Dl(e);return t?Nd(e).map((function(e){return Ll(t,e)})):[]},Td=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];var Sd=function(e){var t=ah(e).vNode,r=c.commons.aria.getExplicitRole(t);if(r)return-1!==Td.indexOf(r);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},Od=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Md(e){return!Od.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var Pd=function e(t,r,n){return Md(t)||Sd(t.actualNode)||!n&&!!xd(t)||!r&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))};var Id=function(e,t,r){return e=ps(e),Pd(e,t,r)};function Bd(e){return!(void 0!==e.children&&!Md(e))||(1===e.props.nodeType&&Sd(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&Bd(e)&&!Is(e)})))}var Ld=function(e){return sh(e.getAttribute("tabindex"))>-1&&Vl(e)&&!zl(e)};function jd(e,t){var r=ah(e),n=r.vNode,a=r.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=qd(a,t)),n._isHiddenWithCSS):qd(a,t)}function qd(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=i.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var n=["hidden","collapse"],a=r.getPropertyValue("visibility");if(n.includes(a)&&!t)return!0;if(n.includes(a)&&t&&n.includes(t))return!0;var o=js(e);return!(!o||n.includes(a))&&jd(o,a)}var zd=jd;var Vd=function(e){var t=e.doctype;return null!==t&&("html"===t.name&&!t.publicId&&!t.systemId)};var Gd=function(e){var t;(e instanceof ia||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var r=nc.ariaRoles[e];return(null==r?void 0:r.type)||null};function $d(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return $d(e,t)}))}var Hd=["block","list-item","table","flex","grid","inline-block"];function Ud(e){var t=i.getComputedStyle(e).getPropertyValue("display");return Hd.includes(t)||"table-"===t.substr(0,6)}var Wd=function(e,t){if(Ud(e))return!1;var r=function(e){for(var t=js(e);t&&!Ud(t);)t=js(t);return ps(t)}(e),n="",a="",o=0;return $d(r,(function(t){if(2===o)return!1;if(3===t.nodeType&&(n+=t.nodeValue),1===t.nodeType){var r=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(r))0===o?(n="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===Gd(t))return a+=t.textContent,!1}}})),n=mc(n),null!=t&&t.noLengthCompare?0!==n.length:(a=mc(a),n.length>a.length)};var Yd=function(e){var t=(e=e||{}).modalPercent||.75;if(ds.get("isModalOpen"))return ds.get("isModalOpen");if(mh(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",Hs).length)return ds.set("isModalOpen",!0),!0;for(var r,n=Vs(i),a=n.width*t,o=n.height*t,u=(n.width-a)/2,l=(n.height-o)/2,d=[{x:u,y:l},{x:n.width-u,y:l},{x:n.width/2,y:n.height/2},{x:u,y:n.height-l},{x:n.width-u,y:n.height-l}].map((function(e){return Array.from(s.elementsFromPoint(e.x,e.y))})),p=function(){var e=d[f].find((function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=a&&parseInt(t.height,10)>=o&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)}));if(e&&d.every((function(t){return t.includes(e)})))return ds.set("isModalOpen",!0),{v:!0}},f=0;f<d.length;f++)if(r=p())return r.v;ds.set("isModalOpen",void 0)};function Kd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n,a=0,o=0,i=te(r.getClientRects());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==o)return!0;a=u.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var Xd=function(e){return e instanceof i.Node},Zd="color.incompleteData",Jd={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var r=ds.get(Zd,(function(){return{}}));return t&&(r[e]=t),r[e]},get:function(e){var t=ds.get(Zd);return null==t?void 0:t[e]},clear:function(){ds.set(Zd,{})}},Qd=Jd;var ep=function(e,t){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return Qd.set("bgColor","imgNode"),!0;var n=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==n;if(a){var o=/gradient/.test(n);Qd.set("bgColor",o?"bgGradient":"bgImage")}return a},tp=/^#[0-9a-f]{3,8}$/i,rp=/hsl\(\s*([-\d.]+)(rad|turn)/,np=(I=new WeakMap,L=new WeakMap,$=new WeakMap,J=new WeakMap,ee=new WeakMap,ae=new WeakMap,oe=new WeakSet,Q((function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(Z(this,e),G(this,oe),V(this,I,void 0),V(this,L,void 0),V(this,$,void 0),V(this,J,void 0),V(this,ee,void 0),V(this,ae,void 0),t instanceof np){var o=t.r,i=t.g,u=t.b;return this.r=o,this.g=i,this.b=u,void(this.alpha=t.alpha)}this.red=t,this.green=r,this.blue=n,this.alpha=a}),[{key:"r",get:function(){return H(I,this)},set:function(e){U(I,this,e),U(J,this,Math.round(255*ip(e,0,1)))}},{key:"g",get:function(){return H(L,this)},set:function(e){U(L,this,e),U(ee,this,Math.round(255*ip(e,0,1)))}},{key:"b",get:function(){return H($,this)},set:function(e){U($,this,e),U(ae,this,Math.round(255*ip(e,0,1)))}},{key:"red",get:function(){return H(J,this)},set:function(e){U(I,this,e/255),U(J,this,ip(e,0,255))}},{key:"green",get:function(){return H(ee,this)},set:function(e){U(L,this,e/255),U(ee,this,ip(e,0,255))}},{key:"blue",get:function(){return H(ae,this)},set:function(e){U($,this,e/255),U(ae,this,ip(e,0,255))}},{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?r:"0"+r)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(rp,(function(e,t,r){var n=t+r;switch(r){case"rad":return e.replace(n,180*t/Math.PI);case"turn":return e.replace(n,360*t)}}));try{var t;"Prototype"in i&&"Version"in i.Prototype&&(t=Array.from,Array.from=ju.default);var r=new Ou(e).toGamut({space:"srgb",method:"clip"}).to("srgb");t&&(Array.from=t,t=null),this.r=r.r,this.g=r.g,this.b=r.b,this.alpha=+r.alpha}catch(t){throw Qd.set("colorParse",e),new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(tp)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.r,t=this.g,r=this.b;return.2126*(e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4))}},{key:"getLuminosity",value:function(){return.3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(e){var t=e-this.getLuminosity();return W(oe,this,ap).call(this,t).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(e){var t=new np(this),r=Y([{name:"r",value:t.r},{name:"g",value:t.g},{name:"b",value:t.b}].sort((function(e,t){return e.value-t.value})),3),n=r[0],a=r[1],o=r[2];return o.value>n.value?(a.value=(a.value-n.value)*e/(o.value-n.value),o.value=e):a.value=o.value=0,n.value=0,t[o.name]=o.value,t[n.name]=n.value,t[a.name]=a.value,t}},{key:"clip",value:function(){var e=new np(this),t=e.getLuminosity(),r=Math.min(e.r,e.g,e.b),n=Math.max(e.r,e.g,e.b);return r<0&&(e.r=t+(e.r-t)*t/(t-r),e.g=t+(e.g-t)*t/(t-r),e.b=t+(e.b-t)*t/(t-r)),n>1&&(e.r=t+(e.r-t)*(1-t)/(n-t),e.g=t+(e.g-t)*(1-t)/(n-t),e.b=t+(e.b-t)*(1-t)/(n-t)),e}}]));function ap(e){var t=new np(this);return t.r+=e,t.g+=e,t.b+=e,t}var op=np;function ip(e,t,r){return Math.min(Math.max(t,e),r)}var up=function(e){var t=new op;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t};var sp=function(e){var t=i.getComputedStyle(e);return ep(e,t)||1===up(t).alpha};function lp(e){if(!e.href)return!1;var t=ds.get("firstPageLink",cp);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function cp(){return(i.location.origin?Fh(c._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!Ol(e.actualNode)})):Fh(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var dp=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,pp=/(\w+)\((\d+)/;function fp(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof ia?e:ps(e);e=a?a.actualNode:e;var o="_isVisible"+(t?"ScreenReader":""),u=null!==(n=i.Node)&&void 0!==n?n:{},s=u.DOCUMENT_NODE,l=u.DOCUMENT_FRAGMENT_NODE,d=a?a.props.nodeType:e.nodeType,p=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&void 0!==a[o])return a[o];if(d===s)return!0;if(["style","script","noscript","template"].includes(p))return!1;if((e&&d===l&&(e=e.host),t)&&"true"===(a?a.attr("aria-hidden"):e.getAttribute("aria-hidden")))return!1;if(!e){var f=a.parent,m=!0;return f&&(m=fp(f,t,!0)),a&&(a[o]=m),m}var h=i.getComputedStyle(e,null);if(null===h)return!1;if("area"===p)return function(e,t,r){var n=bs(e,"map");if(!n)return!1;var a=n.getAttribute("name");if(!a)return!1;var o=hs(e);if(!o||9!==o.nodeType)return!1;var i=Fh(c._tree,'img[usemap="#'.concat(xa(a),'"]'));return!(!i||!i.length)&&i.some((function(e){return fp(e.actualNode,t,r)}))}(e,t,r);if("none"===h.getPropertyValue("display"))return!1;var g=parseInt(h.getPropertyValue("height")),v=parseInt(h.getPropertyValue("width")),b=Lm(e),y=b&&0===g,w=b&&0===v,D="absolute"===h.getPropertyValue("position")&&(g<2||v<2)&&"hidden"===h.getPropertyValue("overflow");if(!t&&(function(e){var t=e.getPropertyValue("clip").match(dp),r=e.getPropertyValue("clip-path").match(pp);if(t&&5===t.length){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(h)||"0"===h.getPropertyValue("opacity")||y||w||D))return!1;if(!r&&("hidden"===h.getPropertyValue("visibility")||!t&&Gs(e)))return!1;var x=e.assignedSlot?e.assignedSlot:e.parentNode,E=!1;return x&&(E=fp(x,t,!0)),a&&(a[o]=E),E}var mp=fp;var hp=function(e,t){for(var r=["fixed","sticky"],n=[],a=!1,o=0;o<e.length;++o){var u=e[o];u===t&&(a=!0);var s=i.getComputedStyle(u);a||-1===r.indexOf(s.position)?n.push(u):n=[]}return n};function gp(e,t){var r=vp(t);do{var n=vp(e);if(n===r||n===t)return bp(e,t);e=n}while(e);return!1}function vp(e){for(var t=ps(e).parent;t;){if(Lm(t.actualNode))return t.actualNode;t=t.parent}}function bp(e,t){var r=i.getComputedStyle(t),n=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var a=Array.from(e.getClientRects()),o=t.getBoundingClientRect(),u={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(n)||t instanceof i.HTMLHtmlElement)&&(u.width=t.scrollWidth,u.height=t.scrollHeight),1===a.length&&"hidden"===n&&"nowrap"===r.getPropertyValue("white-space")&&(a[0]=u),a.some((function(e){return!(Math.ceil(e.left)<Math.floor(u.left)||Math.ceil(e.top)<Math.floor(u.top)||Math.floor(e.left+e.width)>Math.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))}))}var yp=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,r)||[]).filter((function(e){return hs(e)===n})).reduce((function(n,o){if(Jf(o)){var i=e(t,r,o.shadowRoot,a+1);(n=n.concat(i)).length&&gp(n[0],o)&&n.push(o)}else n.push(o);return n}),[])};function wp(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=Y(r[n].split("="),2),o=a[0],i=a[1],u=void 0===i?"":i;t[decodeURIComponent(o)]=decodeURIComponent(u)}return t}function Dp(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===Y(t,1)[0]?"":e:""}var xp=function(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;["A","AREA"].includes(r)&&!e.ownerSVGElement||((n=s.createElement("a")).href=e.getAttribute(t));var a,o=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=function(e){var t=e.split("/").pop();if(!t||-1===t.indexOf("."))return{pathname:e,filename:""};return{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}(/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname)),u=i.pathname,l=i.filename;return{protocol:o,hostname:n.hostname,port:(a=n.port,["443","80"].includes(a)?"":a),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:wp(n.search),hash:Dp(n.hash),filename:l}}};var Ep=function(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,o=n-t.scrollTop,u=n-t.scrollTop+t.scrollHeight,s=a-t.scrollLeft,l=a-t.scrollLeft+t.scrollWidth;if(e.left>l&&e.left>r.right||e.top>u&&e.top>r.bottom||e.right<s&&e.right<r.left||e.bottom<o&&e.bottom<r.top)return!1;var c=i.getComputedStyle(t);return!(e.left>r.right||e.top>r.bottom)||("scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement)},Ap=0,Fp=function(e){function t(e,r,n){var a;if(Z(this,t),(a=M(this,t)).shadowId=n,a.children=[],a.actualNode=e,a.parent=r,r||(Ap=0),a.nodeIndex=Ap++,a._isHidden=null,a._cache={},a._isXHTML=zu(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var o=e.getAttribute("type");o=a._isXHTML?o:(o||"").toLowerCase(),qh().includes(o)||(o="text"),a._type=o}return ds.get("nodeMap")&&ds.get("nodeMap").set(e,a),a}return B(t,e),Q(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,r=e.nodeName,n=e.id,a=e.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?r:r.toLowerCase(),id:n,type:this._type,nodeValue:a},1===t&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map((function(e){return e.name})));return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Vl(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=ql(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(e){return e.width>0}))),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])}(ia),Cp=Fp,kp="DqElm.RunOptions";function Np(e){var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),t||""}function Rp(e){return e?function(e){var t=300,r=Np(e),n=ps(e);n||(n=new Cp(e));var a=n.props.nodeName;if(r.length<t)return r;var o=[],i=e.cloneNode(!1),u=ka(i),s=Np(i);if(s.length<t){var l,c="",d=te(u);try{for(d.s();!(l=d.n()).done;){var p=l.value,f={name:p.name,value:p.value};c+=" ".concat(f.name,'="').concat(f.value,'"')}}catch(e){d.e(e)}finally{d.f()}return"<".concat(a).concat(c,">")}var m,h="<".concat(a,">").length,g=te(u);try{for(g.s();!(m=g.n()).done;){var v=m.value,b=v.name,y=v.value;if(h>t)break;var w={name:b,value:y},D=w.name,x=w.value;D=D.length>20?D.substring(0,20)+"...":D,x=x.length>20?x.substring(0,20)+"...":x;var E="".concat(D,'="').concat(x,'"');h+=(" "+E).length,o.push(E)}}catch(e){g.e(e)}finally{g.f()}return(s="<".concat(a," ").concat(o.join(" "),">")).length>t?s=s.substring(0,t)+" ...>":o.length<u.length&&(s=s.substring(0,s.length-1)+" ...>"),s}(e):""}var _p=qu((function(e,t,r){var n,a,o,i;(null!=t||(t=null),null!=r||(r={}),t)||(t=null!==(o=ds.get(kp))&&void 0!==o?o:{});(this.spec=r,e instanceof ia?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=ps(e)),this.fromFrame=(null===(n=this.spec.selector)||void 0===n?void 0:n.length)>1,this._includeElementInJson=t.elementRef,t.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(a=this._virtualNode)||void 0===a?void 0:a.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml)||(this.source=null!==(i=this.spec.source)&&void 0!==i?i:Rp(this._element));return this}));_p.prototype={get selector(){return this.spec.selector||[ns(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[is(this.element)]},get xpath(){return this.spec.xpath||[ss(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},_p.fromFrame=function(e,t,r){var n=_p.mergeSpecs(e,r);return new _p(r.element,t,n)},_p.mergeSpecs=function(e,t){return j({},e,{selector:[].concat(q(t.selector),q(e.selector)),ancestry:[].concat(q(t.ancestry),q(e.ancestry)),xpath:[].concat(q(t.xpath),q(e.xpath)),nodeIndexes:[].concat(q(t.nodeIndexes),q(e.nodeIndexes)),fromFrame:!0})},_p.setRunOptions=function(e){var t=e.elementRef,r=e.absolutePaths;ds.set(kp,{elementRef:t,absolutePaths:r})};var Tp=_p;var Sp=function(e,t,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==!1?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof ia?[t]:Da(t),e.relatedNodes=[],t.forEach((function(t){if(t instanceof ia&&(t=t.actualNode),t instanceof i.Node){var r=new Tp(t);e.relatedNodes.push(r)}})))}}};function Op(e){return Mp(e,new Map)}function Mp(e,t){var r,n;if(null===e||"object"!==l(e))return e;if(null!==(r=i)&&void 0!==r&&r.Node&&e instanceof i.Node||null!==(n=i)&&void 0!==n&&n.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach((function(e){a.push(Mp(e,t))})),a}var o={};for(var u in t.set(e,o),e)o[u]=Mp(e[u],t);return o}var Pp=new Pa.CssSelectorParser;Pp.registerSelectorPseudos("not"),Pp.registerSelectorPseudos("is"),Pp.registerNestingOperators(">"),Pp.registerAttrEqualityMods("^","$","*","~");var Ip=Pp;function Bp(e,t){return Up(t).some((function(t){return Yp(e,t)}))}function Lp(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every((function(t){return e.hasClass(t.value)}))}(e,t)&&function(e,t){return!t.attributes||t.attributes.every((function(t){var r=e.attr(t.key);return null!==r&&t.test(r)}))}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(r=e,!((n=t).pseudos&&!n.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return Yp(r,e)}));if("is"===e.name)return e.expressions.some((function(e){return Yp(r,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var r,n}var jp,qp=(jp=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(jp,"\\")}),zp=/\\/g;function Vp(e){if(e)return e.map((function(e){var t,r,n=e.name.replace(zp,""),a=(e.value||"").replace(zp,"");switch(e.operator){case"^=":r=new RegExp("^"+qp(a));break;case"$=":r=new RegExp(qp(a)+"$");break;case"~=":r=new RegExp("(^|\\s)"+qp(a)+"(\\s|$)");break;case"|=":r=new RegExp("^"+qp(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:n,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}}))}function Gp(e){if(e)return e.map((function(e){return{value:e=e.replace(zp,""),regexp:new RegExp("(^|\\s)"+qp(e)+"(\\s|$)")}}))}function $p(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=Hp(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function Hp(e){return e.map((function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:Vp(r.attrs),classes:Gp(r.classNames),pseudos:$p(r.pseudos)}),r=r.rule;return t}))}function Up(e){var t=Ip.parse(e);return Hp(t=t.selectors?t.selectors:[t])}function Wp(e,t,r,n){if(!e)return!1;for(var a=Array.isArray(t)?t[r]:t,o=Lp(e,a);!o&&n&&e.parent;)o=Lp(e=e.parent,a);if(r>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&Wp(e.parent,t,r-1," "===a.combinator)}return o}function Yp(e,t,r){return Wp(e,t,t.length-1,r)}var Kp=function(e,t){for(;e;){if(Bp(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Xp(){}function Zp(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Jp,Qp,ef=function(){var e,t=[],r=0,n=0,a=Xp,o=!1,i=function(t){e=t,setTimeout((function(){null!=e&&aa("Uncaught error (of queue)",e)}),1)},u=i;function s(e){return function(r){t[e]=r,(n-=1)||a===Xp||(o=!0,a(t))}}function c(e){return a=Xp,u(e),t}var d={defer:function(a){if("object"===l(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(Zp(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++n,function(){for(var e=t.length;r<e;r++){var n=t[r];try{n.call(null,s(r),c)}catch(e){c(e)}}}(),d}},then:function(r){if(Zp(r),a!==Xp)throw new Error("queue `then` already set");return e||(a=r,n||(o=!0,a(t))),d},catch:function(t){if(Zp(t),u!==i)throw new Error("queue `catch` already set");return e?(t(e),e=null):u=t,d},abort:c};return d},tf=i.crypto||i.msCrypto;if(!Qp&&tf&&tf.getRandomValues){var rf=new Uint8Array(16);Qp=function(){return tf.getRandomValues(rf),rf}}if(!Qp){var nf=new Array(16);Qp=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),nf[t]=e>>>((3&t)<<3)&255;return nf}}for(var af="function"==typeof i.Buffer?i.Buffer:Array,of=[],uf={},sf=0;sf<256;sf++)of[sf]=(sf+256).toString(16).substr(1),uf[of[sf]]=sf;function lf(e,t){var r=t||0,n=of;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var cf=Qp(),df=[1|cf[0],cf[1],cf[2],cf[3],cf[4],cf[5]],pf=16383&(cf[6]<<8|cf[7]),ff=0,mf=0;function hf(e,t,r){var n=t&&r||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:pf,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:mf+1,s=i-ff+(u-mf)/1e4;if(s<0&&null==e.clockseq&&(o=o+1&16383),(s<0||i>ff)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ff=i,mf=u,pf=o;var l=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[n++]=l>>>24&255,a[n++]=l>>>16&255,a[n++]=l>>>8&255,a[n++]=255&l;var c=i/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=255&c,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=o>>>8|128,a[n++]=255&o;for(var d=e.node||df,p=0;p<6;p++)a[n+p]=d[p];return t||lf(a)}function gf(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new af(16):null,e=null);var a=(e=e||{}).random||(e.rng||Qp)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[n+o]=a[o];return t||lf(a)}(Jp=gf).v1=hf,Jp.v4=gf,Jp.parse=function(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){a<16&&(t[n+a++]=uf[e])}));a<16;)t[n+a++]=0;return t},Jp.unparse=lf,Jp.BufferClass=af,c._uuid=hf();var vf=gf,bf=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function yf(e){var t;try{t=JSON.parse(e)}catch(e){return}if(null!==(r=t)&&"object"===l(r)&&"string"==typeof r.channelId&&r.source===wf()){var r,n=t,a=n.topic,o=n.channelId,u=n.messageId,s=n.keepalive;return{topic:a,message:"object"===l(t.error)?function(e){var t=e.message||"Unknown error occurred",r=bf.includes(e.name)?e.name:"Error",n=i[r]||Error;e.stack&&(t+="\n"+e.stack.replace(e.message,""));return new n(t)}(t.error):t.payload,messageId:u,channelId:o,keepalive:!!s}}}function wf(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function Df(e){Ef(e),wa(i.parent===e,"Source of the response must be the parent window.")}function xf(e){Ef(e),wa(e.parent===i,"Respondable target must be a frame in the current window")}function Ef(e){wa(i!==e,"Messages can not be sent to the same window.")}var Af={};var Ff=[];function Cf(){var e="".concat(gf(),":").concat(gf());return Ff.includes(e)?Cf():(Ff.push(e),e)}function kf(e,t,r,n){if(r?Df(e):xf(e),t.message instanceof Error&&!r)return c.log(t.message),!1;var a=function(e){var t=e.topic,r=e.channelId,n=e.message,a={channelId:r,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:wf()};return n instanceof Error?a.error={name:n.name,message:n.message,stack:n.stack}:a.payload=n,JSON.stringify(a)}(j({messageId:Cf()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length)&&("function"==typeof n&&function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];wa(!Af[e],"A replyHandler already exists for this message channel."),Af[e]={replyHandler:t,sendToParent:r}}(t.channelId,n,r),o.forEach((function(t){try{e.postMessage(a,t)}catch(r){if(r instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw r}})),!0)}function Nf(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(n,a,o){kf(e,{channelId:t,message:n,keepalive:a},r,o)}}function Rf(e,t){var r,n=e.origin,a=e.data,o=e.source;try{var u=yf(a)||{},s=u.channelId,l=u.message,d=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(n)||(r=d,Ff.includes(r)||(Ff.push(r),0)))return;if(l instanceof Error&&o.parent!==i)return c.log(l),!1;try{if(u.topic){var p=Nf(o,s);Df(o),t(u,p)}else!function(e,t){var r=t.channelId,n=t.message,a=t.keepalive,o=function(e){return Af[e]}(r)||{},i=o.replyHandler,u=o.sendToParent;if(!i)return;u?Df(e):xf(e);var s=Nf(e,r,u);!a&&r&&function(e){delete Af[e]}(r);try{i(n,a,s)}catch(e){c.log(e),s(e,a)}}(o,u)}catch(e){!function(e,t,r){if(!e.parent!==i)return c.log(t);try{kf(e,{topic:null,channelId:r,message:t,messageId:Cf(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,s)}}catch(e){return c.log(e),!1}}var _f,Tf,Sf={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){Rf(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,r){return"function"==typeof i.addEventListener&&kf(e,t,!1,r)}};function Of(e){e.updateMessenger(Sf)}var Mf={};function Pf(e,t,r,n,a){var o={topic:t,message:r,channelId:"".concat(gf(),":").concat(gf()),keepalive:n};return Tf(e,o,a)}function If(e,t){var r=e.topic,n=e.message,a=e.keepalive,o=Mf[r];if(o)try{o(n,a,t)}catch(e){c.log(e),t(e,a)}}function Bf(e,t,r,n){var a,o,i=e.contentWindow,u=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return aa("Frame does not have a content window",e),void r(null);if(0!==u){var s=setTimeout((function(){s=setTimeout((function(){t.debug?n(jf("No response from frame",e)):r(null)}),0)}),u);Pf(i,"axe.ping",null,void 0,(function(){clearTimeout(s),Lf(e,t,r,n)}))}else Lf(e,t,r,n)}function Lf(e,t,r,n){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,s=setTimeout((function(){n(jf("Axe in frame timed out",e))}),i);Pf(u,"axe.start",t,void 0,(function(e){clearTimeout(s),e instanceof Error==!1?r(e):n(e)}))}function jf(e,t){var r;return c._tree&&(r=ns(t)),new Error(e+": "+(r||t))}Pf.updateMessenger=function(e){var t=e.open,r=e.post;wa("function"==typeof t,"open callback must be a function"),wa("function"==typeof r,"post callback must be a function"),_f&&_f();var n=t(If);n?(wa("function"==typeof n,"open callback must return a cleanup function"),_f=n):_f=null,Tf=r},Pf.subscribe=function(e,t){wa("function"==typeof t,"Subscriber callback must be a function"),wa(!Mf[e],"Topic ".concat(e," is already registered to.")),Mf[e]=t},Pf.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},Of(Pf);var qf=null,zf={update:function(e){wa("object"===l(e),"serializer must be an object"),qf=e},toSpec:function(e){return zf.dqElmToSpec(new Tp(e))},dqElmToSpec:function(e,t){var r;return e instanceof Tp==!1?e:(t&&(e=function(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,o=!1!==t.selectors||r;return e=new Tp(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}(e,t)),"function"==typeof(null===(r=qf)||void 0===r?void 0:r.toSpec)?qf.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var r;return"function"==typeof(null===(r=qf)||void 0===r?void 0:r.mergeSpecs)?qf.mergeSpecs(e,t):Tp.mergeSpecs(e,t)},mapRawResults:function(e){return e.map((function(e){return j({},e,{nodes:zf.mapRawNodeResults(e.nodes)})}))},mapRawNodeResults:function(e){return null==e?void 0:e.map((function(e){var t=e.node,r=O(e,D);r.node=zf.dqElmToSpec(t);for(var n=0,a=["any","all","none"];n<a.length;n++){var o=a[n];r[o]=r[o].map((function(e){var t=e.relatedNodes,r=O(e,x);return r.relatedNodes=t.map(zf.dqElmToSpec),r}))}return r}))}},Vf=zf;var Gf=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])};var $f=function(e,t,r){if(Array.isArray(e))return e.find((function(e){return null!==e&&"object"===l(e)&&Object.hasOwn(e,t)&&e[t]===r}))};function Hf(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),n=0;n<r;n++){var a=null==e?void 0:e[n],o=null==t?void 0:t[n];if("number"!=typeof a||isNaN(a))return 0===n?1:-1;if("number"!=typeof o||isNaN(o))return 0===n?-1:1;if(a!==o)return a-o}return 0}var Uf=function(e,t){var r=[];return e.forEach((function(e){var t,n=(t=e)&&t.results?Array.isArray(t.results)?t.results.length?t.results:null:[t.results]:null;if(n&&n.length){var a=function(e){if(e.frameElement)return Vf.toSpec(e.frameElement);if(e.frameSpec)return e.frameSpec;return null}(e);n.forEach((function(e){e.nodes&&a&&function(e,t,r){e.forEach((function(e){e.node=Vf.mergeSpecs(e.node,r),Gf(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return Vf.mergeSpecs(e,r)}))}))}))}(e.nodes,0,a);var t,n=$f(r,"id",e.id);n?(e.nodes.length&&function(e,t){for(var r,n=t[0].node,a=0;a<e.length;a++){var o=Hf((r=e[a].node).nodeIndexes,n.nodeIndexes);if(o>0||0===o&&n.selector.length<r.selector.length)return void e.splice.apply(e,[a,0].concat(q(t)))}e.push.apply(e,q(t))}(n.nodes,e.nodes),e.error&&(null!==(t=n.error)&&void 0!==t||(n.error=e.error))):r.push(e)}))}})),r.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return Hf(e.node.nodeIndexes,t.node.nodeIndexes)}))})),r};function Wf(e,t,r,n,a,o){t=j({},t,{elementRef:!1});var i=ef();e.frames.forEach((function(e){var a=e.node,o=O(e,E);i.defer((function(e,i){Bf(a,{options:t,command:r,parameter:n,context:o},(function(t){return e(t?{results:t,frameElement:a}:null)}),i)}))})),i.then((function(e){a(Uf(e,t))})).catch(o)}function Yf(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var Kf=function e(){for(var t={},r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return n.forEach((function(r){if(r&&"object"===l(r)&&!Array.isArray(r))for(var n=0,a=Object.keys(r);n<a.length;n++){var o=a[n];!t.hasOwnProperty(o)||"object"!==l(r[o])||Array.isArray(t[o])?t[o]=r[o]:t[o]=e(t[o],r[o])}})),t};var Xf=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(r){e[r]=null;try{e[r]=t[r](e)}catch(e){}}))},Zf=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];var Jf=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Zf.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1};var Qf,em=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},tm=" [idsMap]";function rm(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,o=0;o<t.length;o++)if(t[o].length>1&&t[o].some((function(e){return nm(e)})))return;var i=new Set;t.forEach((function(e){var t,r=function(e,t,r){var n=e[e.length-1],a=null,o=e.length>1||!!n.pseudos||!!n.classes;if(nm(n))a=t["*"];else{if(n.id){var i;if(!t[tm]||!Object.hasOwn(t[tm],n.id)||null===(i=t[tm][n.id])||void 0===i||!i.length)return;a=t[tm][n.id].filter((function(e){return e.shadowId===r}))}if(n.tag&&"*"!==n.tag){var u;if(null===(u=t[n.tag])||void 0===u||!u.length)return;var s=t[n.tag];a=a?am(s,a):s}if(n.classes){var l;if(null===(l=t["[class]"])||void 0===l||!l.length)return;var c=t["[class]"];a=a?am(c,a):c}if(n.attributes)for(var d=0;d<n.attributes.length;d++){var p,f=n.attributes[d];if("attrValue"===f.type&&(o=!0),null===(p=t["[".concat(f.key,"]")])||void 0===p||!p.length)return;var m=t["[".concat(f.key,"]")];a=a?am(m,a):m}}return{nodes:a,isComplexSelector:o}}(e,n,a);null==r||null===(t=r.nodes)||void 0===t||t.forEach((function(t){r.isComplexSelector&&!Yp(t,e)||i.add(t)}))}));var u=[];return i.forEach((function(e){return u.push(e)})),r&&(u=u.filter(r)),u.sort((function(e,t){return e.nodeIndex-t.nodeIndex}))}}function nm(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function am(e,t){return e.filter((function(e){return t.includes(e)}))}function om(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t)}function im(e,t){1===e.props.nodeType&&(om(e.props.nodeName,e,t),om("*",e,t),e.attrNames.forEach((function(r){"id"===r&&(t[tm]=t[tm]||{},em(e.attr(r)).forEach((function(r){om(r,e,t[tm])}))),om("[".concat(r,"]"),e,t)})))}function um(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.documentElement,t=arguments.length>1?arguments[1]:void 0;Qf=!1;var r={};ds.set("nodeMap",new WeakMap),ds.set("selectorMap",r);var n=cm(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Qf,n}function sm(e,t,r){var n=new Cp(e,t,r);return im(n,ds.get("selectorMap")),n}function lm(e,t,r){var n=[];return e.forEach((function(e){var a=cm(e,r,t);a&&n.push.apply(n,q(a))})),n}function cm(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var o=e.nodeName.toLowerCase();if(Jf(e))return Qf=!0,n=sm(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=lm(a,n,t),[n];if("content"===o&&"function"==typeof e.getDistributedNodes)return lm(a=Array.from(e.getDistributedNodes()),r,t);if("slot"===o&&"function"==typeof e.assignedNodes){(a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e));i.getComputedStyle(e);return lm(a,r,t)}return e.nodeType===s.ELEMENT_NODE?(n=sm(e,r,t),a=Array.from(e.childNodes),n.children=lm(a,n,t),[n]):e.nodeType===s.TEXT_NODE?[sm(e,r)]:void 0}var dm=function(e){return e?e.trim().split("-")[0].toLowerCase():""};var pm=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map((function(e){if(t[e].length){var r=c._audit.data.failureSummaries[e];return r&&"function"==typeof r.failureMessage?r.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\n\n")};function fm(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var mm=na.resultGroups;function hm(e,t){var r=c.utils.aggregateResult(e);return mm.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(r[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])})),r[e]=(r[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map((function(e){if("object"===l(e.node)){var r=gm(e.node,t);Object.assign(e,r)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach((function(r){Array.isArray(e[r])&&e[r].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return gm(e,t)}))}))}))}(e,t),e}))),mm.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),r}function gm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=Vf.dqElmToSpec(e,t);var r,n,a,o,i,u={};c._audit.noHtml?u.html=null:u.html=null!==(r=e.source)&&void 0!==r?r:"Undefined";t.elementRef&&!e.fromFrame&&(u.element=null!==(n=e.element)&&void 0!==n?n:null);(!1!==t.selectors||e.fromFrame)&&(u.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]);t.ancestry&&(u.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]);t.xpath&&(u.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]);return u}var vm=/\$\{\s?data\s?\}/g;function bm(e,t){if("string"==typeof t)return e.replace(vm,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=void 0===t[r]?"":String(t[r]);e=e.replace(n,a)}return e}var ym=function e(t,r){if(t){if(Array.isArray(r))return r.values=r.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?bm(1===r.length?t.singular:t.plural,r):bm(t,r);if("string"==typeof t)return bm(t,r);if("string"==typeof r)return bm(t[r],r);var n=t.default||fm();return r&&r.messageKey&&t[r.messageKey]&&(n=t[r.messageKey]),e(n,r)}};var wm=function(e,t,r){var n=c._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return ym(n.messages[t],r)};var Dm=function(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};function xm(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===l(t)?t:"object"!==l(r)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:Em(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function Em(e){if(!e.navigator||"object"!==l(e.navigator))return{};var t,r=e.navigator,n=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:r.userAgent,windowWidth:a,windowHeight:n,orientationAngle:i,orientationType:u}}function Am(e,t){var r=t.focusable,n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&Fm(e),size:Cm(e),page:n}}function Fm(e){var t=sh(e.getAttribute("tabindex"));return null===t||t>=0}function Cm(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r}return{width:t,height:r}}function km(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];Hm(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=Nm(e[r]);n&&t.push(n)}return t}function Nm(e){return e instanceof i.Node?e:"string"==typeof e?[e]:(Xm(e)?(!function(e){Tm(Array.isArray(e.fromFrames),"fromFrames property must be an array"),Tm(e.fromFrames.every((function(e){return!Um(e,"fromFrames")})),"Invalid context; fromFrames selector must be appended, rather than nested"),Tm(!Um(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):Zm(e)&&(e=[e]),function(e){if(!Array.isArray(e))return;var t,r=[],n=te(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(Zm(a)&&(Rm(a),a=a.fromShadowDom),"string"!=typeof a&&!_m(a))return;r.push(a)}}catch(e){n.e(e)}finally{n.f()}return r}(e))}function Rm(e){Tm(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),Tm(e.fromShadowDom.every((function(e){return!Um(e,"fromFrames")})),"shadow selector must be inside fromFrame instead"),Tm(e.fromShadowDom.every((function(e){return!Um(e,"fromShadowDom")})),"fromShadowDom selector must be appended, rather than nested")}function _m(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function Tm(e,t){wa(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function Sm(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var o=e[t][n];if(o instanceof i.Node)if(o.documentElement instanceof i.Node)r.push(e.flatTree[0]);else if(o.host instanceof i.Node){var u=Array.from(o.children).map((function(e){return ps(e)}));r.push.apply(r,q(u))}else r.push(ps(o));else if(o&&o.length)if(o.length>1)Om(e,t,o);else{var s=Lh(o[0]);r.push.apply(r,q(s.map((function(e){return ps(e)}))))}}return r.filter((function(e){return e}))}function Om(e,t,r){e.frames=e.frames||[],Lh(r.shift()).forEach((function(n){var a=e.frames.find((function(e){return e.node===n}));a||(a=Am(n,e),e.frames.push(a)),a[t].push(r)}))}function Mm(e,t){var r,n,a,o,u,c=this;e=Op(e),this.frames=[],this.page="boolean"==typeof(null===(r=e)||void 0===r?void 0:r.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(n=e)||void 0===n?void 0:n.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===l(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(Ym(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Tm(!Um(e,"fromFrames"),"fromFrames"+t),Tm(!Um(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Km(e))return{include:[s],exclude:[]};e={include:e,exclude:[]}}var r=km(e.include);return 0===r.length&&r.push(s),{include:r,exclude:km(e.exclude)}}(e),this.flatTree=null!=t?t:um(function(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var o=n[a];if(o instanceof i.Element)return o.ownerDocument.documentElement;if(o instanceof i.Document)return o.documentElement}return s.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=Sm(this,"include"),this.exclude=Sm(this,"exclude"),_h("frame, iframe",this).forEach((function(e){eh(e,c)&&function(e,t){if(!Hc(t)||$f(e.frames,"node",t))return;e.frames.push(Am(t,e))}(c,e.actualNode)})),void 0===this.page&&(this.page=1===(u=this.include).length&&u[0].actualNode===s.documentElement,this.frames.forEach((function(e){e.page=c.page}))),function(e){if(0===e.include.length&&0===e.frames.length){var t=Pf.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(nh)}function Pm(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Mm(e).frames.map((function(e){var t=e.node,r=O(e,A);return r.initiator=!1,{frameSelector:is(t),frameContext:r}}))}function Im(e){var t=c._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function Bm(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var Lm=qu((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=i.getComputedStyle(e),o=Bm(a,"overflow-x"),u=Bm(a,"overflow-y");return r&&o||n&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}));function jm(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var r=Lm(t);return r&&e.push(r),e.concat(jm(t))}),[])}var qm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(jm(s.body))};function zm(){return Op(nc)}var Vm,Gm=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=void 0!==n&&n,o=t.shadowId,i=t.root,u=t.priority,s=t.isLink,l=void 0!==s&&s,c=e.createElement("style");if(l){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:u}}};var $m=function(e){if(Vm&&Vm.parentNode)return void 0===Vm.styleSheet?Vm.appendChild(s.createTextNode(e)):Vm.styleSheet.cssText+=e,Vm;if(e){var t=s.head||s.getElementsByTagName("head")[0];return(Vm=s.createElement("style")).type="text/css",void 0===Vm.styleSheet?Vm.appendChild(s.createTextNode(e)):Vm.styleSheet.cssText=e,t.appendChild(Vm),Vm}};function Hm(e){return!!e&&"object"===l(e)&&"number"==typeof e.length&&e instanceof i.Node==!1}function Um(e,t){return!(!e||"object"!==l(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Wm(e){return Ym(e)||Km(e)}function Ym(e){return["include","exclude"].some((function(t){return Um(e,t)&&Km(e[t])}))}function Km(e){return"string"==typeof e||e instanceof i.Node||Xm(e)||Zm(e)||Hm(e)}function Xm(e){return Um(e,"fromFrames")}function Zm(e){return Um(e,"fromShadowDom")}var Jm=function e(t,r){var n=ps(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),n&&null!==n._isHidden)return n._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!r&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return n&&(n._isHidden=o),o};var Qm=function(e){var t,r,n=null!==(t=null===(r=e.props)||void 0===r?void 0:r.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!nc.htmlElms[n]};function eh(e,t){var r=t.include,n=void 0===r?[]:r,a=t.exclude,o=void 0===a?[]:a,i=n.filter((function(t){return Yf(t,e)}));if(0===i.length)return!1;var u=o.filter((function(t){return Yf(t,e)}));if(0===u.length)return!0;var s=th(i);return Yf(th(u),s)}function th(e){var t,r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;t&&Yf(a,t)||(t=a)}}catch(e){n.e(e)}finally{n.f()}return t}function rh(e,t){return e.length===t.length&&e.every((function(e,r){var n=t[r];return Array.isArray(e)?e.length===n.length&&e.every((function(e,t){return n[t]===e})):e===n}))}var nh=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function ah(e){return e instanceof ia?{vNode:e,domNode:e.actualNode}:{vNode:ps(e),domNode:e}}var oh=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter((function(e){return 3===e.type}));if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=i.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!n.includes(e)})).map((function(e,a){var o=[].concat(q(r),[a]),i=/^https?:\/\/|^\/\//i.test(e);return uh(e,t,o,n,i)})),s=o.filter((function(e){return 3!==e.type}));return s.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:s.map((function(e){return e.cssText})).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)};var ih=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?oh(e,t,r,n,a):uh(e.href,t,r,n,!0)};var uh=function(e,t,r,n,a){return n.push(e),new Promise((function(t,r){var n=new i.XMLHttpRequest;n.open("GET",e),n.timeout=na.preload.timeout,n.addEventListener("error",r),n.addEventListener("timeout",r),n.addEventListener("loadend",(function(e){if(e.loaded&&n.responseText)return t(n.responseText);r(n.responseText)})),n.send()})).then((function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return ih(o.sheet,t,r,n,o.isCrossOrigin)}))};var sh=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},lh=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=e(),r=!1;return{start:function(){this.reset(),r=!0,this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",!0),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=!1},auditStart:function(){r||this.reset(),this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",!0),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end")},mark:function(e){var t;null!==(t=i.performance)&&void 0!==t&&t.mark&&i.performance.mark(e)},measure:function(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null!==(n=i.performance)&&void 0!==n&&n.measure){try{i.performance.measure(e,t,r)}catch(e){this._log(e)}a||this.clearMark(t,r)}},logMeasures:function(e){var t,r,n=this,a=function(e){return Array.isArray(e)?e[e.length-1]:e},o=function(e){n._log("Measure "+e.name+" took "+e.duration+"ms")};if(null!==(t=i.performance)&&void 0!==t&&t.getEntriesByType&&null!==(r=i.performance)&&void 0!==r&&r.getEntriesByName){var u=a(i.performance.getEntriesByName("mark_axe_start"))||a(i.performance.getEntriesByName("mark_audit_start"));if(u)for(var s=i.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=u.startTime})),l=0;l<s.length;++l){var c=s[l];if(c.name===e)return void o(c);e||o(c)}else this._log("Axe must be started before using performanceTimer")}},timeElapsed:function(){return e()-t},clearMark:function(){var e;if(null!==(e=i.performance)&&void 0!==e&&e.clearMarks){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var a=0,o=r;a<o.length;a++){var u=o[a];i.performance.clearMarks(u)}}},reset:function(){t=e()},_log:function(e){aa(e)}}}(),ch=lh;function dh(){if(s.elementsFromPoint)return s.elementsFromPoint;if(s.msElementsFromPoint)return s.msElementsFromPoint;var e,t=((e=s.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),r=t?"pointer-events":"visibility",n=t?"none":"hidden",a=s.createElement("style");return a.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,i,u,l=[],c=[];for(s.head.appendChild(a);(o=s.elementFromPoint(e,t))&&-1===l.indexOf(o);)l.push(o),c.push({value:o.style.getPropertyValue(r),priority:o.style.getPropertyPriority(r)}),o.style.setProperty(r,n,"important");for(l.indexOf(s.documentElement)<l.length-1&&(l.splice(l.indexOf(s.documentElement),1),l.push(s.documentElement)),i=c.length;u=c[--i];)l[i].style.setProperty(r,u.value?u.value:"",u.priority);return s.head.removeChild(a),l}}"function"==typeof i.addEventListener&&(s.elementsFromPoint=dh());var ph=function(e,t){return e.concat(t).filter((function(e,t,r){return r.indexOf(e)===t}))};function fh(e,t,r,n,a){var o=a||{};return o.vNodes=e,o.vNodesIndex=0,o.anyLevel=t,o.thisLevel=r,o.parentShadowId=n,o}var mh=function(e,t,r){e=Array.isArray(e)?e:[e];var n=Up(t),a=rm(e,n,r);return a||function(e,t,r){for(var n=ds.get("qsa.recycledLocalVariables",(function(){return[]})),a=[],o=fh(Array.isArray(e)?e:[e],t,null,e[0].shadowId,n.pop()),i=[];o.vNodesIndex<o.vNodes.length;){for(var u,s,l=o.vNodes[o.vNodesIndex++],c=null,d=null,p=((null===(u=o.anyLevel)||void 0===u?void 0:u.length)||0)+((null===(s=o.thisLevel)||void 0===s?void 0:s.length)||0),f=!1,m=0;m<p;m++){var h,g,v,b=m<((null===(h=o.anyLevel)||void 0===h?void 0:h.length)||0)?o.anyLevel[m]:o.thisLevel[m-((null===(g=o.anyLevel)||void 0===g?void 0:g.length)||0)];if((!b[0].id||l.shadowId===o.parentShadowId)&&Yp(l,b[0]))if(1===b.length)f||r&&!r(l)||(i.push(l),f=!0);else{var y=b.slice(1);if(!1===[" ",">"].includes(y[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+b[1].combinator);">"===y[0].combinator?(c=c||[]).push(y):(d=d||[]).push(y)}b[0].id&&l.shadowId!==o.parentShadowId||null===(v=o.anyLevel)||void 0===v||!v.includes(b)||(d=d||[]).push(b)}for(l.children&&l.children.length&&(a.push(o),o=fh(l.children,d,c,l.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop()}return i}(e,n,r)};var hh=function(e){var t=e.treeRoot,r=function(e){var t=[],r=mh(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:ms(e.actualNode)}}));return ph(r,[])}(void 0===t?c._tree[0]:t);if(!r.length)return Promise.resolve();var n=s.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var r=[];return e.forEach((function(e,n){var a=e.rootNode,o=e.shadowId,i=function(e,t,r){var n;n=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(vh).reduce((function(r,n){var a=n.nodeName.toUpperCase(),o="STYLE"===a?n.textContent:n,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&r.push(i.sheet),r}),[])}(e,r):function(e){return Array.from(e.styleSheets).filter((function(e){return!!e.media&&bh(e.media.mediaText)}))}(e);return function(e){var t=[];return e.filter((function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)}))}(n)}(a,o,t);if(!i)return Promise.all(r);var u=n+1,s={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(i.map((function(e,t){return ih(e,s,[u,t],l)})));r.push(c)})),Promise.all(r)}(r,Gm(n)).then((function(e){return gh(e)}))};function gh(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(gh(t)):e.concat(t)}),[])}function vh(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a="LINK"===t&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&bh(e.media)}function bh(e){return!e||!e.toUpperCase().includes("PRINT")}var yh=function(e){var t=e.treeRoot,r=void 0===t?c._tree[0]:t,n=mh(r,"video[autoplay], audio[autoplay]",(function(e){var t=e.actualNode;return("none"!==t.preload||0!==t.readyState||t.networkState===t.NETWORK_LOADING)&&(!t.hasAttribute("paused")&&!t.hasAttribute("muted")&&(t.hasAttribute("src")?!!t.getAttribute("src"):!(Array.from(t.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0)))}));return Promise.all(n.map((function(e){var t,r=e.actualNode;return t=r,new Promise((function(e){function r(){t.removeEventListener("loadedmetadata",r),e(t)}t.readyState>0&&e(t),t.addEventListener("loadedmetadata",r)}))})))};function wh(e){var t={cssom:hh,media:yh};return Dh(e)?new Promise((function(r,n){var a=xh(e),o=a.assets,i=a.timeout,u=setTimeout((function(){return n(new Error("Preload assets timed out."))}),i);Promise.all(o.map((function(r){return t[r](e).then((function(e){return T({},r,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return j({},e,t)}),{});clearTimeout(u),r(t)})).catch((function(e){clearTimeout(u),n(e)}))})):Promise.resolve()}function Dh(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===l(t)&&Array.isArray(t.assets)));var t}function xh(e){var t=na.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every((function(e){return r.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=ph(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function Eh(e){var t=c._audit.data.checks||{},r=c._audit.data.rules||{},n=$f(c._audit.rules,"id",e.id)||{};e.tags=Op(n.tags||[]);var a=Ah(t,!0,n),o=Ah(t,!1,n);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),Xf(e,Op(r[e.id]||{}))}function Ah(e,t,r){return function(n){var a=e[n.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,r.reviewOnFail||void 0!==n.result?i.message=n.result===t?o.pass:o.fail:("object"!==l(o.incomplete)||Array.isArray(n.data)||(i.message=function(e,t){function r(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:fm()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:r(t);try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch(n){return"string"==typeof e.missingData?t.incomplete[e.missingData]:r(t)}}(n.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=ym(i.message,n.data)),Xf(n,i)}}var Fh=function(e,t){return mh(e,t)};function Ch(e,t){var r,n,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=(n=Array.isArray(n)?n:[n]).concat(a.filter((function(e){return-1===r.indexOf(e)})))):(r=Array.isArray(t)?t:[t],n=a.filter((function(e){return-1===r.indexOf(e)}))),!!(r.some((function(t){return-1!==e.tags.indexOf(t)}))||0===r.length&&!1!==e.enabled)&&n.every((function(t){return-1===e.tags.indexOf(t)}))}var kh=function(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===n.type?-1!==n.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===n.type&&n.values?Ch(e,n.values):Ch(e,[]))};function Nh(e,t){if(!t)return e;var r=e.cloneNode(!1),n=ka(r);if(1===r.nodeType){var a=r.outerHTML;r=ds.get(a,(function(){return Rh(r,n,e,t)}))}else r=Rh(r,n,e,t);return Array.from(e.childNodes).forEach((function(e){r.appendChild(Nh(e,t))})),r}function Rh(e,t,r,n){return t?(e=s.createElement(e.nodeName),Array.from(t).forEach((function(t){(function(e,t,r){if(void 0===r[t])return!1;if(!0===r[t])return!0;return Na(e,r[t])})(r,t.name,n)||e.setAttribute(t.name,t.value)})),e):e}function _h(e,t){var r,n=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a<o;a++){var i=c._selectCache[a];if(i.selector===e)return i.result}for(var u=t.include.reduce((function(e,t){return e.length&&Yf(e[e.length-1],t)||e.push(t),e}),[]),s=function(e){if(!e.exclude||0===e.exclude.length)return null;return function(t){return eh(t,e)}}(t),l=0;l<u.length;l++){r=u[l],n=Th(n,mh(r,e,s))}return c._selectCache&&c._selectCache.push({selector:e,result:n}),n}function Th(e,t){if(0===e.length)return t;if(e.length<t.length){var r=e;e=t,t=r}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function Sh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if("object"!==l(e)||null===e)return{message:String(e)};var r,n={},a=te(na.serializableErrorProps);try{for(a.s();!(r=a.n()).done;){var o=r.value;["string","number","boolean"].includes(l(e[o]))&&(n[o]=e[o])}}catch(e){a.e(e)}finally{a.f()}return e.cause&&(n.cause=t<10?Sh(e.cause,t+1):"..."),n}var Oh=function(e){function t(e){var r,n,a=e.error,o=e.ruleId,i=e.method,u=e.errorNode;return Z(this,t),(n=M(this,t)).name=null!==(r=a.name)&&void 0!==r?r:"RuleError",n.message=a.message,n.stack=a.stack,a.cause&&(n.cause=Sh(a.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),i&&(n.method=i),u&&(n.errorNode=u),n}return B(t,e),Q(t)}(_(Error)),Mh=Oh;var Ph=function(e){e.forEach((function(e){return function(e,t,r){if(e===i)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r}(e.elm,e.top,e.left)}))};function Ih(e){return Bh(Array.isArray(e)?q(e):[e],s)}function Bh(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return 0===e.length?n:null!=n&&n.shadowRoot?Bh(e,n.shadowRoot):null}function Lh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=Array.isArray(e)?q(e):[e];return 0===e.length?[]:jh(r,t)}function jh(e,t){var r,n=X(r=e)||z(r)||re(r)||K(),a=n[0],o=ne(n).slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,s=[],l=te(i);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,q(jh(o,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var qh=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},zh=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Vh(e){e=Array.isArray(e)?e:zh;var t=[];return e.forEach((function(e,r){var n=String.fromCharCode(r+96).replace("`","");Array.isArray(e)?t=t.concat(Vh(e).map((function(e){return n+e}))):t.push(n)})),t}var Gh=function(e){for(var t=zh;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){if(!(t=t[e.charCodeAt(r)-96]))return!1}return!0},$h=function(e){function t(e){var r,n,a,o;return Z(this,t),(r=M(this,t))._props=function(e){var t,r,n,a=null!==(t=e.nodeName)&&void 0!==t?t:Uh[e.nodeType],o=null!==(r=null!==(n=e.nodeType)&&void 0!==n?n:Hh[e.nodeName])&&void 0!==r?r:1;wa("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),wa("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var i=null;"input"===a&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),qh().includes(i)||(i="text"));var u=j({},e,{nodeType:o,nodeName:a});i&&(u.type=i);return delete u.attributes,Object.freeze(u)}(e),r._attrs=(n=e.attributes,a=void 0===n?{}:n,o={htmlFor:"for",className:"class"},Object.keys(a).reduce((function(e,t){var r=a[t];return wa("object"!==l(r)||null===r,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==r&&(e[o[t]||t]=null!==r?String(r):null),e}),{})),r}return B(t,e),Q(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(ia),Hh={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Uh={};Object.keys(Hh).forEach((function(e){Uh[Hh[e]]=e}));var Wh=$h;var Yh,Kh=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var r=c.utils.queue(),n=[];Object.keys(c.plugins).forEach((function(e){r.defer((function(t){var r=function(e){n.push(e),t()};try{c.plugins[e].cleanup(t,r)}catch(e){r(e)}}))}));var a=c.utils.getFlattenedTree(s.body);c.utils.querySelectorAll(a,"iframe, frame").forEach((function(e){r.defer((function(t,r){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,r)}))})),r.then((function(r){0===n.length?e(r):t(n)})).catch(t)},Xh={};function Zh(e){return Xh.hasOwnProperty(e)}function Jh(e){return"string"==typeof e&&Xh[e]?Xh[e]:"function"==typeof e?e:Yh}var Qh=function(e){var t=c._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=Y(r.split("-"),2),a=n[0],o=n[1],i=Y(a.split(".").map(Number),3),u=i[0],s=i[1],l=i[2],d=Y(c.version.split("-"),2),p=d[0],f=d[1],m=Y(p.split(".").map(Number),3),h=m[0],g=m[1],v=m[2];if(u!==h||g<s||g===s&&v<l||u===h&&s===g&&l===v&&o&&o!==f)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(c.version))}if(e.reporter&&("function"==typeof e.reporter||Zh(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var b,y=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));y.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===y.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(b=e.standards,Object.keys(rc).forEach((function(e){b[e]&&(rc[e]=Kf(rc[e],b[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(na.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}};var eg=function(e){var t=(e=e||[]).length?c._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):c._audit.rules,r=c._audit.data.rules||{};return t.map((function(e){var t=r[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}}))};var tg=function(e,t,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Pd(r)){var n=i.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var a=js(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},rg={};fe(rg,{getAllCells:function(){return ng},getCellPosition:function(){return cc},getHeaders:function(){return og},getScope:function(){return dc},isColumnHeader:function(){return pc},isDataCell:function(){return ig},isDataTable:function(){return ug},isHeader:function(){return sg},isRowHeader:function(){return fc},toArray:function(){return lc},toGrid:function(){return lc},traverse:function(){return cg}});var ng=function(e){var t,r,n,a,o=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)o.push(e.rows[t].cells[r]);return o};function ag(e,t,r){for(var n,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?fc:pc,i=r[t.y][t.x],u=i.colSpan-1,s=i.getAttribute("rowspan"),l=(0===parseInt(s)||0===i.rowspan?r.length:i.rowSpan)-1,d=t.y+l,p=t.x+u,f="row"===e?t.y:0,m="row"===e?0:t.x,h=[],g=d;g>=f&&!n;g--)for(var v=p;v>=m;v--){var b=r[g]?r[g][v]:void 0;if(b){var y=c.utils.getNodeFromTree(b);if(y[a]){n=y[a];break}h.push(b)}}return n=(n||[]).concat(h.filter(o)),h.forEach((function(e){c.utils.getNodeFromTree(e)[a]=n})),n}var og=function(e,t){if(e.getAttribute("headers")){var r=Wl(e,"headers");if(r.filter((function(e){return e})).length)return r}t||(t=lc(bs(e,"table")));var n=cc(e,t),a=ag("row",n,t),o=ag("col",n,t);return[].concat(a,o).reverse()};var ig=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=ic(e);return t?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()};var ug=function(e){var t=ic(e);if(("presentation"===t||"none"===t)&&!Vl(e))return!1;if("true"===e.getAttribute("contenteditable")||bs(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===Gd(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r<n;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var a,o,u=0,s=e.rows.length,l=!1,c=0;c<s;c++)for(var d=0,p=(a=e.rows[c]).cells.length;d<p;d++){if("TH"===(o=a.cells[d]).nodeName.toUpperCase())return!0;if(l||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(l=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes(ic(o)))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;u++}if(e.getElementsByTagName("table").length)return!1;if(s<2)return!1;var f,m,h=e.rows[Math.ceil(s/2)];if(1===h.cells.length&&1===h.cells[0].colSpan)return!1;if(h.cells.length>=5)return!0;if(l)return!0;for(var g=0;g<s;g++){if(a=e.rows[g],f&&f!==i.getComputedStyle(a).getPropertyValue("background-color"))return!0;if(f=i.getComputedStyle(a).getPropertyValue("background-color"),m&&m!==i.getComputedStyle(a).getPropertyValue("background-image"))return!0;m=i.getComputedStyle(a).getPropertyValue("background-image")}return s>=20||!(zs(e).width>.95*Vs(i).width)&&(!(u<10)&&!e.querySelector("object, embed, iframe, applet"))};var sg=function(e){if(pc(e)||fc(e))return!0;if(e.getAttribute("id")){var t=xa(e.getAttribute("id"));return!!s.querySelector('[headers~="'.concat(t,'"]'))}return!1};function lg(e,t,r,n){var a,o=r[t.y]?r[t.y][t.x]:void 0;return o?"function"==typeof n&&!0===(a=n(o,t,r))?[o]:((a=lg(e,{x:t.x+e.x,y:t.y+e.y},r,n)).unshift(o),a):[]}var cg=function(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return lg(e,{x:t.x+e.x,y:t.y+e.y},r,n)},dg={};fe(dg,{allowedAttr:function(){return pg},arialabelText:function(){return Xl},arialabelledbyText:function(){return Kl},getAccessibleRefs:function(){return hg},getElementUnallowedRoles:function(){return yg},getExplicitRole:function(){return ic},getImplicitRole:function(){return Mc},getOwnedVirtual:function(){return Gc},getRole:function(){return jc},getRoleType:function(){return Gd},getRolesByType:function(){return Dg},getRolesWithNameFromContents:function(){return Eg},implicitNodes:function(){return Ng},implicitRole:function(){return Mc},isAccessibleRef:function(){return Rg},isAriaRoleAllowedOnElement:function(){return gg},isComboboxPopup:function(){return _g},isUnsupportedRole:function(){return ac},isValidRole:function(){return oc},label:function(){return Sg},labelVirtual:function(){return xd},lookupTable:function(){return kg},namedFromContents:function(){return Vc},requiredAttr:function(){return Og},requiredContext:function(){return Mg},requiredOwned:function(){return Pg},validateAttr:function(){return Bg},validateAttrValue:function(){return Ig}});var pg=function(e){var t=nc.ariaRoles[e],r=q(sc());return t?(t.allowedAttrs&&r.push.apply(r,q(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,q(t.requiredAttrs)),r):r},fg=/^idrefs?$/;function mg(e,t,r){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e])}for(var a=0;a<r.length;++a){var o=r[a],i=mc(e.getAttribute(o)||"");if(i){var u,s=te(em(i));try{for(s.s();!(u=s.n()).done;){var l=u.value;t.has(l)?t.get(l).push(e):t.set(l,[e])}}catch(e){s.e(e)}finally{s.f()}}}}for(var c=0;c<e.childNodes.length;c++)1===e.childNodes[c].nodeType&&mg(e.childNodes[c],t,r)}var hg=function(e){var t;e=e.actualNode||e;var r=hs(e);r=r.documentElement||r;var n=ds.get("idRefsByRoot",(function(){return new Map})),a=n.get(r);return a||(a=new Map,n.set(r,a),mg(r,a,Object.keys(nc.ariaAttrs).filter((function(e){var t=nc.ariaAttrs[e].type;return fg.test(t)})))),null!==(t=a.get(e.id))&&void 0!==t?t:[]};var gg=function(e,t){var r=e instanceof ia?e:ps(e),n=Mc(r),a=Oc(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==n&&!!a.allowedRoles},vg=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],bg={header:"banner",footer:"contentinfo"};var yg=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=ah(e).vNode;if(!Qm(r))return[];var n=r.props.nodeName,a=Mc(r)||bg[n];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=em(e.attr("role").toLowerCase());t=t.concat(r)}return t.filter((function(e){return oc(e)}))}(r).filter((function(e){return!function(e,t,r,n){if(r&&e===n)return!0;if(vg.includes(e)&&Gd(e)!==n)return!1;return gg(t,e)}(e,r,t,a)}))};var wg=function(e){return Object.keys(nc.ariaRoles).filter((function(t){return nc.ariaRoles[t].type===e}))};var Dg=function(e){return wg(e)};var xg=function(){return ds.get("ariaRolesNameFromContent",(function(){return Object.keys(nc.ariaRoles).filter((function(e){return nc.ariaRoles[e].nameFromContent}))}))};var Eg=function(){return xg()},Ag=function(e){return null===e},Fg=function(e){return null!==e},Cg={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};Cg.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Fg}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Fg}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Fg}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Fg}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Fg}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Fg}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Fg}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Fg}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:Fg}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Cg.implicitHtmlRole=bc,Cg.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Fg}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Fg}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Cg.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Ag}},{nodeName:"img",attributes:{alt:Ag}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Cg.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||(!t.href.length||r)},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,n=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:n},IMG:function(e){var t=e.node,r=e.role,n=e.out;switch(t.alt){case null:return n;case"":return"presentation"===r||"none"===r;default:return"presentation"!==r&&"none"!==r}},INPUT:function(e){var t=e.node,r=e.role,n=e.out;switch(t.type){case"button":case"image":return n;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||n;case"radio":return"menuitemradio"===r;case"text":return"combobox"===r||"searchbox"===r||"spinbutton"===r;case"tel":return"combobox"===r||"spinbutton"===r;case"url":case"search":case"email":return"combobox"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||r},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}},Cg.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var kg=Cg;var Ng=function(e){var t=null,r=kg.role[e];return r&&r.implicit&&(t=Op(r.implicit)),t};var Rg=function(e){return!!hg(e).length};function _g(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,r=jc(e);if(null!=t||(t=Zl["aria-haspopup"].values),!t.includes(r))return!1;var n=function(e){for(;e=e.parent;)if(null!==jc(e,{noPresentational:!0}))return e;return null}(e);if(Tg(n))return!0;var a=e.props.id;if(!a)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=ms(e.actualNode).querySelectorAll('[aria-owns~="'.concat(a,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(a,'"][role~="combobox"]:not(select)'));return Array.from(o).some(Tg)}var Tg=function(e){return e&&"combobox"===jc(e)};var Sg=function(e){return e=ps(e),xd(e)};var Og=function(e){var t=nc.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?q(t.requiredAttrs):[]};var Mg=function(e){var t=nc.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?q(t.requiredContext):null};var Pg=function(e){var t=nc.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?q(t.requiredOwned):null};var Ig=function(e,t){var r,n,a=(e=e instanceof ia?e:ps(e)).attr(t),o=nc.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(n=em(a)).reduce((function(e,t){return e&&o.values.includes(t)}),0!==n.length);case"idref":try{var i=hs(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Wl(e,t).some((function(e){return!!e}));case"string":return""!==a.trim();case"decimal":return!(!(r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}};var Bg=function(e){return!!nc.ariaAttrs[e]};var Lg=function(e){var t=ng(e),r=this,n=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(n=n.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(n=n.concat(r.split(/\s+/)))}));var a=t.filter((function(e){return""!==mc(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(ic(e)))})),o=lc(e),i=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!n.includes(e.getAttribute("id"))){var t=cc(e,o),a=!1;pc(e)&&(a=cg("down",t,o).find((function(t){return!pc(t)&&og(t,o).includes(e)}))),!a&&fc(e)&&(a=cg("right",t,o).find((function(t){return!fc(t)&&og(t,o).includes(e)}))),a||r.relatedNodes(e),i=i&&a}})),!!i||void 0},jg=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],qg=jg[0],zg=jg[1],Vg=jg[2],Gg=jg[3];var $g=function(e){var t=[],r=ng(e),n=lc(e);return r.forEach((function(e){Id(e)&&ig(e)&&!Sg(e)&&(og(e,n).some((function(e){return null!==e&&!!Id(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)};var Hg=function(e,t){var r=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(r)},Ug=function(e,t,r){if(void 0===r.children)return;var n=r.attr("summary"),a=r.children.find(Wg),o=!!a&&mc(ud(a));if(!o||!n)return!1;return mc(n).toLowerCase()===mc(o).toLowerCase()};function Wg(e){return"caption"===e.props.nodeName}var Yg=function(e){return!Vd(s)||"TH"===e.nodeName.toUpperCase()};var Kg=function(e){var t=lc(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1||r.reduce((function(e,t,n){return e||t!==r[n+1]&&void 0!==r[n+1]}),!1)};var Xg=function(e,t,r){if(r.children){var n=r.children.find((function(e){return"title"===e.props.nodeName}));if(!n)return this.data({messageKey:"noTitle"}),!1;try{if(""===ud(n,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},Zg={};fe(Zg,{getAriaRolesByType:function(){return wg},getAriaRolesSupportingNameFromContent:function(){return xg},getElementSpec:function(){return Oc},getElementsByContentType:function(){return uc},getGlobalAriaAttrs:function(){return sc},implicitHtmlRoles:function(){return bc}});var Jg=function(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),o=r.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==n||!["submit","reset"].includes(a))&&null===o};var Qg=function(e){return Hs(e)};var ev=function(e,t,r){var n=r.props.nodeName;return!!["img","input","area"].includes(n)&&r.hasAttr("alt")};var tv=function(){};var rv=function(){var e=s.title;return!!mc(e)};var nv=function(e,t){var r=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}));return!(r.length>0)||(this.data(r),!1)};var av=function(e,t,r){try{return!!mc(Kl(r))}catch(e){return}};var ov=function(e,t,r){return!!mc(Xl(r))};var iv=function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=hs(e),n=Array.from(r.querySelectorAll('[id="'.concat(xa(t),'"]'))).filter((function(t){return t!==e}));return n.length&&this.relatedNodes(n),this.data(t),0===n.length};var uv=function(e){var t=[];return e.filter((function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)}))};var sv=function(e,t,r){var n=mc(r.attr("title")).toLowerCase();return this.data(n),!0};var lv=function(e){var t={};return e.forEach((function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0})),e.forEach((function(e){e.result=!!t[e.data]})),e};var cv=function(e){var t=Ml(e,"href");return!!t&&(Hc(t)||void 0)},dv=["alert","log","status"];function pv(e,t){var r=e.actualNode;if("button"===jc(e)||function(e,t){var r=e.actualNode,n=jc(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),o=wg("landmark");if(["assertive","polite"].includes(a)||dv.includes(n))return!0;if(o.includes(n))return!0;if(t.regionMatcher&&Sc(e,t.regionMatcher))return!0;return!1}(e,t)||["iframe","frame"].includes(e.props.nodeName)||lp(e.actualNode)&&Ml(e.actualNode,"href")||!Hc(r)){for(var n=e;n;)n._hasRegionDescendant=!0,n=n.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return r!==s.body&&Id(r,!0)&&!function(e){return["none","presentation"].includes(jc(e))&&!Md(e)}(e)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return pv(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}var fv=function(e){var t=e.filter((function(e){return e.data.isIframe}));return e.forEach((function(e){if(!e.result&&1!==e.node.ancestry.length){var r,n=e.node.ancestry.slice(0,-1),a=te(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(rh(n,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}})),t.forEach((function(e){e.result||(e.result=!0)})),e};function mv(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function hv(e){var t=i.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,n=e.children[a].textContent.trim()}while(""===n&&a+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:mv(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:"italic"===t.getPropertyValue("font-style")}}function gv(e,t,r){return r.reduce((function(r,n){return r||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)}),!1)}var vv=function(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e),o=(t=t||{}).margins||[],i=n.slice(a+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),u=n.slice(0,a).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),s=hv(e),l=i?hv(i):null,c=u?hv(u):null,d=t.passLength,p=t.failLength,f=e.textContent.trim().length,m=null==i?void 0:i.textContent.trim().length;if(f>m*d)return!0;if(!l||!gv(s,l,o))return!0;var h=vs(r,"blockquote");return!!(h&&"BLOCKQUOTE"===h.nodeName.toUpperCase()||c&&!gv(s,c,o)||f>m*p)&&void 0},bv=/[;,\s]/,yv=/^[0-9.]+$/;var wv=function(e,t,r){return Fh(r,"a[href]").some((function(e){return/^#[^/!]/.test(e.attr("href"))}))},Dv={};fe(Dv,{aria:function(){return dg},color:function(){return xv},dom:function(){return fs},forms:function(){return rb},matches:function(){return Sc},math:function(){return Ks},standards:function(){return Zg},table:function(){return rg},text:function(){return Ul},utils:function(){return ua}});var xv={};fe(xv,{Color:function(){return op},centerPointOfRect:function(){return Ev},elementHasImage:function(){return ep},elementIsDistinct:function(){return Fv},filteredRectStack:function(){return kv},flattenColors:function(){return _v},flattenShadowColors:function(){return Sv},getBackgroundColor:function(){return Kv},getBackgroundStack:function(){return Ov},getContrast:function(){return Jv},getForegroundColor:function(){return Qv},getOwnBackgroundColor:function(){return up},getRectStack:function(){return Cv},getStackingContext:function(){return $v},getStrokeColorsFromShadows:function(){return jv},getTextShadowColors:function(){return Vv},hasValidContrastRatio:function(){return tb},incompleteData:function(){return Qd},parseTextShadows:function(){return zv},stackingContextToColor:function(){return Hv}});var Ev=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function Av(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var Fv=function(e,t){var r=i.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var n=new op;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha}),!1))return!0;var n=i.getComputedStyle(t);if(Av(r)[0]!==Av(n)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)}),!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==n.getPropertyValue("text-decoration")),a};var Cv=function(e){var t=jl(e),r=_d(e);return!r||r.length<=1?[t]:r.some((function(e){return void 0===e}))?null:(r.splice(0,0,t),r)};var kv=function(e){var t=Cv(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var r,n=t.shift();return t.forEach((function(a,o){if(0!==o){var i=t[o-1],u=t[o];r=i.every((function(e,t){return e===u[t]}))||n.includes(e)}})),r?t[0]:(Qd.set("bgColor","elmPartiallyObscuring"),null)}return Qd.set("bgColor","outsideViewport"),null},Nv=["hue","saturation","color","luminosity"],Rv={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},hue:function(e,t){return t.setSaturation(e.getSaturation()).setLuminosity(e.getLuminosity())},saturation:function(e,t){return e.setSaturation(t.getSaturation()).setLuminosity(e.getLuminosity())},color:function(e,t){return t.setLuminosity(e.getLuminosity())},luminosity:function(e,t){return e.setLuminosity(t.getLuminosity())}};function _v(e,t){var r,n,a,o=function(e,t,r){if(Nv.includes(r))return Rv[r](e,t);var n=new op;return["r","g","b"].forEach((function(a){n[a]=Rv[r](e[a],t[a])})),n}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),i=Tv(e.red,e.alpha,t.red,t.alpha,255*o.r),u=Tv(e.green,e.alpha,t.green,t.alpha,255*o.g),s=Tv(e.blue,e.alpha,t.blue,t.alpha,255*o.b),l=(r=e.alpha+t.alpha*(1-e.alpha),n=0,a=1,Math.min(Math.max(n,r),a));if(0===l)return new op(i,u,s,l);var c=Math.round(i/l),d=Math.round(u/l),p=Math.round(s/l);return new op(c,d,p,l)}function Tv(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function Sv(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new op(n,a,o,i)}function Ov(e){for(var t=_d(e).map((function(t){return t=function(e){var t=e.indexOf(s.body),r=e,n=up(i.getComputedStyle(s.documentElement));if(t>1&&0===n.alpha&&!ep(s.documentElement)){t>1&&(r.splice(t,1),r.push(s.body));var a=r.indexOf(s.documentElement);a>0&&(r.splice(a,1),r.push(s.documentElement))}return r}(t=hp(t,e))})),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return Qd.set("bgColor","bgOverlap"),null;if(0!==r&&!Mv(n,t[0]))return Qd.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function Mv(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}var Pv=.54,Iv=.5,Bv=1.5,Lv=["top","right","bottom","left"];function jv(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,r=void 0!==t&&t,n=function(e){var t,r={},n=te(e);try{for(n.s();!(t=n.n()).done;){var a,o=t.value,i=o.colorStr,u=o.pixels;null!==(a=r[i])&&void 0!==a||(r[i]={top:[],right:[],bottom:[],left:[]});var s=r[i],l=Y(u,2),c=l[0],d=l[1];c>Iv?s.right.push(c):-c>Iv&&s.left.push(-c),d>Iv?s.bottom.push(d):-d>Iv&&s.top.push(-d)}}catch(e){n.e(e)}finally{n.f()}return r}(e),a=Object.entries(n).map((function(e){var t=Y(e,2),r=t[0],n=t[1],a=Lv.filter((function(e){return 0!==n[e].length})).length;return{colorStr:r,sides:n,edgeCount:a}}));return!r&&a.some((function(e){var t=e.edgeCount;return t>1&&t<4}))?null:a.map(qv).filter((function(e){return null!==e}))}function qv(e){var t=e.colorStr,r=e.sides;if(4!==e.edgeCount)return null;var n=new op;n.parseString(t);var a=0,o=!0;return Lv.forEach((function(e){a+=r[e].length/4,o&&(o=r[e].every((function(e){return e>Bv})))})),o||(n.alpha=1-Math.pow(Pv,a)),n}function zv(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return[];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),o=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)wa(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){wa(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==r[0])throw new Error("Unable to process text-shadows: ".concat(r));wa(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim()}}return n.forEach((function(e){var t=e.pixels;2===t.length&&t.push(0)})),n}function Vv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,o=[],u=i.getComputedStyle(e),s=u.getPropertyValue("text-shadow");if("none"===s)return o;var l=u.getPropertyValue("font-size"),c=parseInt(l);wa(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,p=[],f=te(zv(s));try{for(f.s();!(d=f.n()).done;){var m=d.value,h=m.colorStr||u.getPropertyValue("color"),g=Y(m.pixels,3),v=g[0],b=g[1],y=g[2],w=void 0===y?0:y;if(!(n&&w>=c*n))if(r&&w<c*r)p.push({colorStr:h,pixels:m.pixels});else{if(p.length>0){var D=jv(p,{ignoreEdgeCount:a});if(null===D)return null;o.push.apply(o,q(D)),p.splice(0,p.length)}var x=Gv({colorStr:h,offsetX:v,offsetY:b,blurRadius:w,fontSize:c});o.push(x)}}}catch(e){f.e(e)}finally{f.f()}if(p.length>0){var E=jv(p,{ignoreEdgeCount:a});if(null===E)return null;o.push.apply(o,q(E))}return o}function Gv(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,o=e.fontSize;if(r>a||n>a)return new op(0,0,0,0);var i=new op;return i.parseString(t),i.alpha*=function(e,t){if(0===e)return 1;var r=e/t;return.185/(r+.4)}(a,o),i}function $v(e,t){var r=ps(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return(t=null!=t?t:Ov(e)).forEach((function(e){var t,r=ps(e),o=function(e){var t=new op;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(r),i=r._stackingOrder.filter((function(e){return!!e.vNode}));i.forEach((function(e,t){var r,o=e.vNode,u=null===(r=i[t-1])||void 0===r?void 0:r.vNode,s=Yv(a,o,u);0!==t||a.get(o)||n.unshift(s),a.set(o,s)}));var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,s=Yv(a,r,u);i.length||n.unshift(s),s.bgColor=o})),r._stackingContext=n,n}function Hv(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=_v(e.descendants.reduce(Uv,Wv()),e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function Uv(e,t){var r;return r=e instanceof op?e:Hv(e).color,_v(Hv(t).color,r,t.blendMode)}function Wv(e,t){var r,n;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(r=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==r?r:1),bgColor:new op(0,0,0,0),blendMode:(n=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),n||void 0),descendants:[]}}function Yv(e,t,r){var n,a=e.get(r),o=null!==(n=e.get(t))&&void 0!==n?n:Wv(t,a);return a&&r!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function Kv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=ps(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,q(a.bgElms)),Qd.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,r){var n,a,o=Ov(e);if(!o)return null;var u=Nd(e),l=null!==(n=Vv(e,{minRatio:r,ignoreEdgeCount:!0}))&&void 0!==n?n:[];l.length&&(l=[{color:l.reduce(Sv)}]);for(var c=0;c<o.length;c++){var d=o[c],p=i.getComputedStyle(d);if(ep(d,p))return t.push(d),null;var f=void 0;try{if(0===(f=up(p)).alpha)continue}catch(e){if(e&&Qd.get("colorParse"))return null;throw e}if("inline"!==p.getPropertyValue("display")&&!Xv(d,u))return t.push(d),Qd.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),1===f.alpha)break}var m=$v(e,o);l=m.map(Hv).concat(l);var h=function(e,t){var r=[];if(!t){var n=s.documentElement,a=s.body,o=i.getComputedStyle(n),u=i.getComputedStyle(a),l=up(o),c=up(u),d=0!==c.alpha&&Xv(a,e.getBoundingClientRect());(0!==c.alpha&&0===l.alpha||d&&1!==c.alpha)&&r.unshift({color:c,blendMode:Zv(u.getPropertyValue("mix-blend-mode"))}),0!==l.alpha&&(!d||d&&1!==c.alpha)&&r.unshift({color:l,blendMode:Zv(o.getPropertyValue("mix-blend-mode"))})}return r}(e,o.includes(s.body));if((a=l).unshift.apply(a,q(h)),0===l.length)return new op(255,255,255,1);var g=l.reduce((function(e,t){return _v(t.color,e.color instanceof op?e.color:e,t.blendMode)}));return _v(g.color instanceof op?g.color:g,new op(255,255,255,1))}(e,t,r);return n._cache.getBackgroundColor={bgColor:o,bgElms:t,incompleteData:Qd.get("bgColor")},o}function Xv(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,o=i.getComputedStyle(e),u=o.getPropertyValue("overflow"),s=parseInt(o.getPropertyValue("padding-left"),10),l=parseInt(o.getPropertyValue("padding-right"),10),c=parseInt(o.getPropertyValue("padding-top"),10),d=parseInt(o.getPropertyValue("padding-bottom"),10);return(["scroll","auto"].includes(u)||e instanceof i.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+c+d),t.every((function(e){return e.top>=r.top&&e.bottom<=a&&e.left>=r.left&&e.right<=n}))}function Zv(e){return e||void 0}var Jv=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=_v(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};function Qv(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.getComputedStyle(e),o=[function(){return function(e,t){var r=t.textStrokeEmMin,n=void 0===r?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||i<n)return null;var u=e.getPropertyValue("-webkit-text-stroke-color");return(new op).parseString(u)}(a,n)},function(){return function(e){return(new op).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(a)},function(){return Vv(e,{minRatio:0})}],u=[];try{for(var s=0,l=o;s<l.length;s++){var c=(0,l[s])();if(c&&(u=u.concat(c),1===c.alpha))break}}catch(e){if(e&&Qd.get("colorParse"))return null;throw e}var d=u.reduce((function(e,t){return _v(e,t)}));if(null!=r||(r=Kv(e,[])),null===r){var p=Qd.get("bgColor");return Qd.set("fgColor",p),null}var f=$v(e);return _v(function(e,t,r){for(;t;){var n;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(n=t.ancestor)||void 0===n?void 0:n.descendants)||r;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var o=a.map(Hv);if(o.length){var i=o.reduce((function(e,t){return _v(t.color,e.color instanceof op?e.color:e)}),{color:new op(0,0,0,0),blendMode:"normal"});e=_v(e,i),t=t.ancestor}else t=t.ancestor}}return e}(d,eb(f,e),f),new op(255,255,255,1))}function eb(e,t){var r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a,o=r.value;if((null===(a=o.vNode)||void 0===a?void 0:a.actualNode)===t)return o;var i=eb(o.descendants,t);if(i)return i}}catch(e){n.e(e)}finally{n.f()}}var tb=function(e,t,r,n){var a=Jv(e,t),o=n&&Math.ceil(72*r)/96<14||!n&&Math.ceil(72*r)/96<18?4.5:3;return{isValid:a>o,contrastRatio:a,expectedContrastRatio:o}},rb={};fe(rb,{isAriaCombobox:function(){return Qc},isAriaListbox:function(){return Jc},isAriaRange:function(){return td},isAriaTextbox:function(){return Zc},isDisabled:function(){return ab},isNativeSelect:function(){return Xc},isNativeTextbox:function(){return Kc}});var nb=["fieldset","button","select","input","textarea"];var ab=function e(t){var r=t._isDisabled;if("boolean"==typeof r)return r;var n=t.props.nodeName,a=t.attr("aria-disabled");return r=!(!nb.includes(n)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=r,r};var ob=function(e,t,r){var n=Ul.accessibleTextVirtual(r),a=Ul.sanitize(Ul.removeUnicode(n,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var o={name:a,urlProps:fs.urlPropsFromAttribute(e,"href")};return this.data(o),this.relatedNodes([e]),!0}};function ib(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);return r.length===n.length&&r.every((function(r){var n=e[r],a=t[r];return l(n)===l(a)&&("object"===l(n)||"object"===l(a)?ib(n,a):n===a)}))}var ub=function(e){if(e.length<2)return e;for(var t=e.filter((function(e){return void 0!==e.result})),r=[],n={},a=function(e){var a,o=t[e],i=o.data,u=i.name,s=i.urlProps;if(n[u])return 1;var l=t.filter((function(t,r){return t.data.name===u&&r!==e})),c=l.every((function(e){return ib(e.data.urlProps,s)}));l.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,q(l.map((function(e){return e.relatedNodes[0]})))),n[u]=l,r.push(o)},o=0;o<t.length;o++)a(o);return r};function sb(e){var t=jc(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),o=Y(e.props.nodeName.match(/h(\d)/)||[],2)[1];return r?o&&!n?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}var lb=function(){var e=ds.get("headingOrder");if(e)return!0;var t=mh(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",Hc);return e=t.map((function(e){return{ancestry:[is(e.actualNode)],level:sb(e)}})),this.data({headingOrder:e}),ds.set("headingOrder",t),!0};function cb(e,t){var r,n=null===(r=t.data)||void 0===r?void 0:r.headingOrder,a=pb(t.node.ancestry,1);if(!n)return e;var o=n.map((function(e){return function(e,t){var r=t.concat(e.ancestry);return j({},e,{ancestry:r})}(e,a)})),i=function(e,t){for(;t.length;){var r=db(e,t);if(-1!==r)return r;t=pb(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,q(o)):e.splice.apply(e,[i,0].concat(q(o))),e}function db(e,t){return e.findIndex((function(e){return rh(e.ancestry,t)}))}function pb(e,t){return e.slice(0,e.length-t)}function fb(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function mb(e){return e.getComputedStylePropertyValue("pointer-events")}function hb(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function gb(e,t){return Yf(e,t)&&!Gl(t)}function vb(e){return e.map((function(e){return e.actualNode}))}var bb=function(e,t,r){var n=t||{},a=n.scaleMinimum,o=void 0===a?2:a,i=n.lowerBound,u=void 0!==i&&i,s=r.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce((function(e,t){var r=t.trim();if(!r)return e;var n=Y(r.split("="),2),a=n[0],o=n[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),u=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===u&&(u=1),"maximum-scale"===i&&parseFloat(u)<0||(e[i]=u),e}),{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])<u)return!0;if(!u&&"no"===l["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(l["user-scalable"]);return!u&&l["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(l["maximum-scale"]&&parseFloat(l["maximum-scale"])<o)||(this.data("maximum-scale"),!1)};var yb=function(e,t,r,n){var a=(n||{}).cssom,o=void 0===a?void 0:a,i=(t||{}).degreeThreshold,u=void 0===i?0:i;if(o&&o.length){for(var s=!1,l=[],c=o.reduce((function(e,t){var r=t.sheet,n=t.root,a=t.shadowId,o=a||"topDocument";if(e[o]||(e[o]={root:n,rules:[]}),!r||!r.cssRules)return e;var i=Array.from(r.cssRules);return e[o].rules=e[o].rules.concat(i),e}),{}),d=function(){var e=f[p],t=c[e],r=t.root,n=t.rules.filter(m);if(!n.length)return 1;n.forEach((function(e){var t=e.cssRules;Array.from(t).forEach((function(e){var t=function(e){var t=e.selectorText,r=e.style;if(!t||r.length<=0)return!1;var n=r.transform||r.webkitTransform||r.msTransform||!1;if(!n&&!r.rotate)return!1;var a=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var r=Y(t,3),n=r[1],a=r[2];return h(n,a)}(n),o=h("rotate",r.rotate),i=a+o;if(!i)return!1;if(i=Math.abs(i),Math.abs(i-180)%180<=u)return!1;return Math.abs(i-90)%90<=u}(e);if(t&&"HTML"!==e.selectorText.toUpperCase()){var n=Array.from(r.querySelectorAll(e.selectorText))||[];l=l.concat(n)}s=s||t}))}))},p=0,f=Object.keys(c);p<f.length;p++)d();return!s||(l.length&&this.relatedNodes(l),!1)}function m(e){var t=e.type,r=e.cssText;return 4===t&&(/orientation:\s*landscape/i.test(r)||/orientation:\s*portrait/i.test(r))}function h(e,t){switch(e){case"rotate":case"rotateZ":return g(t);case"rotate3d":var r=Y(t.split(",").map((function(e){return e.trim()})),4),n=r[2],a=r[3];if(0===parseInt(n))return;return g(a);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var r=Y(t,2),n=r[0],a=r[1];return v(Math.atan2(parseFloat(a),parseFloat(n)))}var o=parseFloat(t[8]),i=Math.asin(o),u=Math.cos(i);return v(Math.acos(parseFloat(t[0])/u))}(t);default:return 0}}function g(e){var t=Y(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var r,n=parseFloat(e.replace(t,""));switch(t){case"rad":return v(n);case"grad":return function(e){(e%=400)<0&&(e+=400);return Math.round(e/400*360)}(n);case"turn":return r=n,Math.round(360/(1/r));default:return parseInt(n)}}function v(e){return Math.round(e*(180/Math.PI))}};var wb=function(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(e.duration){var n=t.allowedDuration,a=void 0===n?3:n;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(!t)return;return Y(t,2)[1].split(",").map((function(e){return/:/.test(e)?function(e){var t=e.split(":"),r=0,n=1;for(;t.length>0;)r+=n*parseInt(t.pop(),10),n*=60;return parseFloat(r)}(e):parseFloat(e)}))}(e.currentSrc);if(!t)return Math.abs(e.duration-(e.currentTime||0));if(1===t.length)return Math.abs(e.duration-t[0]);return Math.abs(t[1]-t[0])}(e)<=a||!!r}console.warn("axe.utils.preloadMedia did not load metadata")};var Db=function(e,t){return!t.isViolation&&void 0};var xb=function(e){var t={};return e.filter((function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var r=e.node.ancestry.flat(1/0).join(" > ");return t[r]=e,!0}var n=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[n]&&(t[n].result=!0),!1}))};var Eb=function(e,t,r){return!Fh(r,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0};var Ab=function(e,t,r){var n=r.children;if(!n||!n.length)return!1;for(var a,o=!1,i=!1,u=0;u<n.length;u++){if("DT"===(a=n[u].props.nodeName.toUpperCase())&&(o=!0),o&&"DD"===a)return!1;"DD"===a&&(i=!0)}return o||i};var Fb=function(e,t,r){var n=!1,a=!1,o=!0,i=[],u=[],s=[];return r.children.forEach((function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&Hc(t)){o=!1;var r="LI"===t.nodeName.toUpperCase(),l=jc(e),c="listitem"===l;r||c||i.push(t),r&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else n=!0})),n||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)};function Cb(e,t,r){var n=r.validRoles,a=void 0===n?[]:n,o=r.validNodeNames,i=void 0===o?[]:o,u=e.props,s=u.nodeName,l=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(3===l&&""!==c.trim())return d+"#text";if(1!==l||!Hc(e))return!1;var p=ic(e);return p?!a.includes(p)&&d+"[role=".concat(p,"]"):!i.includes(s)&&d+s}function kb(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}var Nb=function(e){var t=js(e),r=t.nodeName.toUpperCase(),n=ic(t);return"DIV"===r&&["presentation","none",null].includes(n)&&(r=(t=js(t)).nodeName.toUpperCase(),n=ic(t)),"DL"===r&&!(n&&!["presentation","none","list"].includes(n))};var Rb=function(e,t,r){return dm(r.attr("lang"))===dm(r.attr("xml:lang"))};var _b=function(e,t,r){var n=[];return t.attributes.forEach((function(e){var a=r.attr(e);if("string"==typeof a){var o=dm(a),i=t.value?!t.value.map(dm).includes(o):!Gh(o);(""!==o&&i||""!==a&&!mc(a))&&n.push(e+'="'+r.attr(e)+'"')}})),!!n.length&&(!("html"!==r.props.nodeName&&!Bd(r))&&(this.data(n),!0))};function Tb(e){return""!==(e||"").trim()}var Sb=function(e,t,r){var n=void 0!==s&&zu(s);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Tb(r.attr("xml:lang"))&&!Tb(r.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return Tb(r.attr(e))}))||(this.data({messageKey:"noLang"}),!1)};var Ob=function(e,t,r){var n=jc(e),a=gd(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),!0};var Mb=function(e){var t=[];return e.filter((function(e){var r=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return r?(r.result=!1,r.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))};var Pb=function(e,t,r){var n=Ad(r),a=zc(r),o=r.attr("aria-describedby");return!(n||!a&&!o)};var Ib=function(e){var t=xa(e.getAttribute("id")),r=e.parentNode,n=hs(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter((function(e){return!Is(e)})));r;)"LABEL"===r.nodeName.toUpperCase()&&-1===a.indexOf(r)&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var o=a.filter((function(e){return Hc(e)}));if(o.length>1)return;return!Wl(e,"aria-labelledby").includes(o[0])&&void 0}return!1};function Bb(e){var t=bd(e,{emoji:!0,nonBmp:!0,punctuations:!0});return mc(t)}var Lb=function(e,t,r){var n,a,o,i,u=null==t?void 0:t.pixelThreshold,s=null!==(n=null==t?void 0:t.occurrenceThreshold)&&void 0!==n?n:null==t?void 0:t.occuranceThreshold,l=Yl(e).toLowerCase(),c=mc(ud(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:u,occurrenceThreshold:s})).toLowerCase();return!c||(yd(l)<1||yd(c)<1?void 0:(a=c,o=Bb(l),i=Bb(a),!(!o||!i)&&o.includes(i)))};var jb=function(e,t,r){try{var n=Kp(r,"label");if(n){var a=mc(gd(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}};var qb=function(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=hs(e),a=xa(e.getAttribute("id")),o=n.querySelector('label[for="'.concat(a,'"]'));if(o&&!Hc(o)){var i;try{i=gd(r).trim()}catch(e){return}return""===i}}return!1};var zb=function(e,t,r){var n=Ad(r),a=e.getAttribute("title");return!!n&&(a||(a="",e.getAttribute("aria-describedby")&&(a=Wl(e,"aria-describedby").map((function(e){return e?Yl(e):""})).join(""))),mc(a)===mc(n))};var Vb=function(e,t,r){var n=this;if(!r.attr("id"))return!1;if(r.actualNode){var a=hs(r.actualNode),o=xa(r.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some((function(e){if(Hs(e)){var t=mc(Yl(e,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}};var Gb=function(e,t,r){if(["none","presentation"].includes(jc(r)))return!1;var n=Kp(r,t.parentSelector);if(!n)return!1;var a=Wc(n,!0).toLowerCase();return""!==a&&a===gd(r).toLowerCase()};var $b=function(e,t,r){var n=r.attr("alt");return"string"==typeof n&&/^\s+$/.test(n)};var Hb=function(e,t,r){var n=sh(r.attr("tabindex"));return null===n||n<=0};function Ub(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach((function(e){"widget"===Gd(e)&&Vl(e)?t.push(e):t.push.apply(t,q(Ub(e)))})),t}function Wb(e){var t=sh(e.attr("tabindex"));return null!==t&&t<0}var Yb=function(e){var t=wg("landmark"),r=js(e),n=jc(e);for(this.data({role:n});r;){var a=ic(r);if(a||"FORM"===r.nodeName.toUpperCase()||(a=Mc(r)),a&&t.includes(a)&&("main"!==a||"complementary"!==n))return!1;r=js(r)}return!0};function Kb(e){if(Gl(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some((function(e){return Kb(e)}))}var Xb=function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return!n.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!Yd())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t}))&&void 0};var Zb=function(e,t,r){if(!Gl(r))return!1;try{return!gd(r)}catch(e){return}};var Jb=function(e,t,r){var n=r.tabbableElements.map((function(e){return e.actualNode}));return!n||!n.length||(!Yd()||void this.relatedNodes(n))};var Qb=function(e,t,r){return!(!r.hasAttr("contenteditable")||!function e(t){var n=t.attr("contenteditable");if("true"===n||""===n)return!0;if("false"===n)return!1;var a=Kp(r.parent,"[contenteditable]");if(!a)return!1;return e(a)}(r))||Gl(r)};var ey=function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return n.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!Yd())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t}))&&void 0};var ty=function(e,t,r){var n=r.tabbableElements;return!!n&&n.filter((function(e){return e!==r})).length>0};var ry=function(e,t,r){return Is(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0};var ny=function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var r=e.data.toUpperCase();return t[r]?(t[r].relatedNodes.push(e.relatedNodes[0]),!1):(t[r]=e,e.relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))};var ay=function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(!ds.get(n)){ds.set(n,!0);var a=mh(c._tree[0],t.selector,(function(e){return Hc(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!vs(e,t.nativeScopeFilter)}))),"string"==typeof t.role&&(a=a.filter((function(e){return jc(e)===t.role}))),this.relatedNodes(a.filter((function(e){return e!==r})).map((function(e){return e.actualNode}))),a.length<=1}this.data("ignored")};var oy=function(e){return e.filter((function(e){return"ignored"!==e.data}))};var iy=function(e,t,r){return Sc(r,t.matcher)};var uy=function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Yd())return!0;var n=mh(r,t.selector,(function(e){return Hc(e)}));return this.relatedNodes(n.map((function(e){return e.actualNode}))),n.length>0};var sy=function(e){return e.some((function(e){return!0===e.result}))&&e.forEach((function(e){e.result=!0})),e};var ly=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var n=r.attr(t.attribute);return!!mc(n)||(this.data({messageKey:"emptyAttr"}),!1)};var cy=function(e,t,r){var n=r.attr("autocomplete")||"";return Dd(n,t)};var dy=function(e,t,r){if("input"!==r.props.nodeName)return!0;var n=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===l(t)&&Object.keys(t).forEach((function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])}));var i=r.attr("autocomplete").split(/\s+/g).map((function(e){return e.toLowerCase()})),u=i[i.length-1];if(wd.stateTerms.includes(u))return!0;var s=o[u],c=r.hasAttr("type")?mc(r.attr("type")).toLowerCase():"text";return c=qh().includes(c)?c:"text",void 0===s?"text"===c:s.includes(c)},py=["block","list-item","table","flex","grid","inline-block"];function fy(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==py.indexOf(t)||"table-"===t.substr(0,6)}function my(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var hy=["block","list-item","table","flex","grid","inline-block"];function gy(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==hy.indexOf(t)||"table-"===t.substr(0,6)}var vy=function(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(gy(e))return!1;for(var a=js(e);a&&1===a.nodeType&&!gy(a);)a=js(a);if(a){this.relatedNodes([a]);var o=Qv(e),i=Qv(a),u=Kv(e),s=Kv(a),l=o&&i?my(o,i):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=r)return!0;var c=u&&s?my(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=r)return!0;if(!c){var d,p=null!==(d=Qd.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:p}),void Qd.clear()}if(l)return!(!n||1!==l||1!==c)||(1===l&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:r,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}};var by=qu((function(e,t){var r=i.getComputedStyle(e,t),n=function(e,t){return r.getPropertyValue(e)===t};if(n("content","none")||n("display","none")||n("visibility","hidden")||!1===n("position","absolute"))return 0;if(0===up(r).alpha&&n("background-image","none"))return 0;var a=yy(r.getPropertyValue("width")),o=yy(r.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value}));function yy(e){var t=Y(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),r=t[1],n=void 0===r?"":r,a=t[2],o=void 0===a?"":a;return{value:parseFloat(n),unit:o.toLowerCase()}}var wy={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Dy={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};var xy=function(e,t){return function(e,t){var r=ic(e);return r&&(Dy[r]||t.roles.includes(r))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return wy[t]||!1}(e)};var Ey=function(e,t,r){var n=jc(r,{dpub:!0,fallback:!0}),a=ac(n);return a&&this.data(n),a};var Ay=function(e,t,r){var n,a,o=jc(r,{noImplicit:!0});this.data(o);try{n=mc(sd(r)).toLowerCase(),a=mc(gd(r)).toLowerCase()}catch(e){return}return!(!a&&!n)&&(!((a||!n)&&a.includes(n))&&void 0)};var Fy=function(e,t,r){return Vl(r)};var Cy=function(e,t,r){var n=em(r.attr("role"));return!!n.every((function(e){return!oc(e.toLowerCase(),{allowAbstract:!0})}))&&(this.data(n),!0)};var ky=function(e,t,r){var n=ic(r);if(null===n)return!1;var a=Gd(n);return"widget"===a||"composite"===a};var Ny=function(e,t,r){var n=sc().filter((function(e){return r.hasAttr(e)}));return this.data(n),n.length>0};var Ry=function(e,t,r){var n=em(r.attr("role"));return!(n.length<=1)&&(!function(e,t){return!Mc(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(r,n)||void 0)};var _y=function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach((function(e){-1===t.indexOf(e)&&a.test(e)&&!Bg(e)&&n.push(e)})),!n.length||(this.data(n),!1)};var Ty=function(e,t,r){var n=r.attrNames.filter((function(t){var r=nc.ariaAttrs[t];if(!Bg(t))return!1;var n=r.unsupported;return"object"!==l(n)?!!n:!Sc(e,n.exceptions)}));return!!n.length&&(this.data(n),!0)};var Sy=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=jc(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(r)||!(!r||"presentation"===r||"none"===r)&&void 0};function Oy(e,t,r,n){var a=ic(e);if(r||(r=Mg(a)),!r)return null;for(var o=r.includes("group"),i=n?e:e.parent;i;){var u=jc(i,{noPresentational:!0});if(u){if("group"!==u||!o)return r.includes(u)?null:r;t.includes(a)&&r.push(a),r=r.filter((function(e){return"group"!==e})),i=i.parent}else i=i.parent}return r}var My=function(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=Oy(r,n);if(!a)return!0;var o=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=xa(e.getAttribute("id"));(r=hs(e).querySelector("[aria-owns~=".concat(n,"]")))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,u=o.length;i<u;i++)if(!(a=Oy(ps(o[i]),n,a,!0)))return!0;return this.data(a),!1};function Py(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Pd(t,!1,!0)}var Iy=qu((function(e){if(e){var t=jc(e,{noPresentational:!0,chromium:!0});return t?Gd(t):Iy(e.parent)}}));var By=function(e,t,r){var n=r.attr("aria-level");if(!(parseInt(n,10)>6))return!0};var Ly=function(e,t,r){return"true"!==r.attr("aria-hidden")};function jy(e){var t,r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==n||null===(r=n.filter)||void 0===r?void 0:r.call(n,(function(e){return a.hasAttr(e)})))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(!e.parent)return;return Kp(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&jc(i);if(!u||"treegrid"===u)return!0;var s="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:o,ownerRole:u}),!1}function qy(e,t,r){var n=r.props,a=n.nodeName,o=n.type,i=function(e){if(!e)return"";if(e=e.toLowerCase(),["mixed","true"].includes(e))return e;return"false"}(r.attr("aria-checked"));if("input"!==a||"checkbox"!==o||!i)return!0;var u=function(e){if(e.props.indeterminate)return"mixed";return e.props.checked?"true":"false"}(r);return i===u||(this.data({messageKey:"checkbox",checkState:u}),!1)}var zy={row:jy,checkbox:qy};var Vy=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=void 0===n||n,o=t.ignoredTags,i=void 0===o?[]:o,u=r.props.nodeName;if(i.map((function(e){return e.toLowerCase()})).includes(u))return!0;var s=yg(r,a);if(s.length){if(this.data(s),!Hc(r))return;return!1}return!0};function Gy(e,t,r){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!r.hasAttr("contenteditable"))}var $y=function(e,t,r){var n=em(r.attr("role")).filter((function(e){return"abstract"===Gd(e)}));return n.length>0&&(this.data(n),!0)};var Hy=function(e){var t=dm(e.getAttribute("lang")),r=dm(e.getAttribute("xml:lang"));return Gh(t)&&Gh(r)};var Uy=function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top};var Wy=function(e,t){try{return"svg"===t.props.nodeName||!!Kp(t,"svg")}catch(e){return!1}};var Yy=[function(e,t){return Ky(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!Wy(e,t)},function(e,t){return Vl(t)},function(e,t){return Gl(t)||!Xy(t)},function(e){return!Wd(e,{noLengthCompare:!0})}];function Ky(e){return"widget"===Gd(e)}var Xy=qu((function e(t){return!(null==t||!t.parent)&&(!(!Ky(t.parent)||!Gl(t.parent))||e(t.parent))}));var Zy=function(e,t){var r=ic(t);return!(r&&!["none","presentation"].includes(r))||!(!(Jl[r]||{}).accessibleNameRequired&&!Vl(t))};function Jy(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),0===r.getClientRects().length}var Qy=function(e,t,r){return r.initiator};var ew=function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(xa(t),'"]'),n=Array.from(hs(e).querySelectorAll(r));return!Rg(e)&&n.every((function(e){return!Vl(e)}))};var tw=function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(xa(t),'"]'),n=Array.from(hs(e).querySelectorAll(r));return!Rg(e)&&n.some(Vl)};var rw=function(e,t){var r=t.props,n=r.nodeName,a=r.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(ab(t)||Cl(t))return!1;if(["input","select","textarea"].includes(n)){var o=i.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+u,right:l.right+u},!Ep(l,e))return!1}return!0}var c=vs(t,"label");if("label"===n||c){var d=c||e,p=c?ps(c):t;if(d.htmlFor){var f=hs(d).getElementById(d.htmlFor),m=f&&ps(f);if(m&&ab(m))return!1}var h=Fh(p,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(h&&ab(h))return!1}for(var g=[],v=t;v;){if(v.props.id){var b=hg(v).filter((function(e){return em(e.getAttribute("aria-labelledby")||"").includes(v.props.id)})).map((function(e){return ps(e)}));g.push.apply(g,q(b))}v=v.parent}if(g.length>0&&g.every(ab))return!1;if(!function(e){var t=Wc(e,!1,!0);if(""===t||""===bd(t,nw))return!1;return e.children.some((function(e){return"#text"===e.props.nodeName&&!hd(e)}))}(t))return!1;if(!parseFloat(t.getComputedStylePropertyValue("font-size")))return!1;for(var y=s.createRange(),w=t.children,D=0;D<w.length;D++){var x=w[D];3===x.actualNode.nodeType&&""!==mc(x.actualNode.nodeValue)&&y.selectNodeContents(x.actualNode)}var E=Array.from(y.getClientRects()),A=Ds(t);return E.some((function(t){var r=Ep(t,e);if(!A.length)return r;var n=A.some((function(e){return ys(t,e.boundingClientRect)}));return r&&n}))},nw={emoji:!0,nonBmp:!1,punctuations:!0};function aw(e){return!e||"true"!==e.getAttribute("aria-hidden")&&aw(js(e))}var ow={"abstractrole-evaluate":$y,"accesskeys-after":ny,"accesskeys-evaluate":ry,"alt-space-value-evaluate":$b,"aria-allowed-attr-evaluate":function(e,t,r){var n=[],a=jc(r),o=pg(a);Array.isArray(t[a])&&(o=ph(t[a].concat(o)));var i,u=te(r.attrNames);try{for(u.s();!(i=u.n()).done;){var s=i.value;!Bg(s)||o.includes(s)||Gy(s,r.attr(s),r)||n.push(s)}}catch(e){u.e(e)}finally{u.f()}return!n.length||(this.data(n.map((function(e){return e+'="'+r.attr(e)+'"'}))),!(a||Qm(r)||Vl(r))&&void 0)},"aria-allowed-attr-matches":function(e,t){var r=/^aria-/,n=t.attrNames;if(n.length)for(var a=0,o=n.length;a<o;a++)if(r.test(n[a]))return!0;return!1},"aria-allowed-role-evaluate":Vy,"aria-allowed-role-matches":function(e,t){return null!==ic(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,r){return"true"===r.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,r){var n=jc(r);return!zy[n]||zy[n].call(this,e,t,r)},"aria-conditional-checkbox-attr-evaluate":qy,"aria-conditional-row-attr-evaluate":jy,"aria-errormessage-evaluate":function(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),o=r.attr("aria-invalid");return!r.hasAttr("aria-invalid")||"false"===o||(-1!==t.indexOf(n)||!a||(this.data(em(n)),function(e){if(""===e.trim())return nc.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&Wl(r,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:em(e)})}return t?Hc(t)?"alert"===ic(t)||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||em(r.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:em(e)}),!1):void 0}.call(this,n)))},"aria-has-attr-matches":function(e,t){var r=/^aria-/;return t.attrNames.some((function(e){return r.test(e)}))},"aria-hidden-body-evaluate":Ly,"aria-hidden-focus-matches":function(e){return aw(js(e))},"aria-label-evaluate":ov,"aria-labelledby-evaluate":av,"aria-level-evaluate":By,"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=r.props.nodeName,o=jc(r,{chromium:!0,fallback:!0}),i=function(e,t,r,n){var a=nc.ariaRoles[t];if(a)return a.prohibitedAttrs||[];if(t||n.includes(r)||"widget"===Iy(e))return[];return["aria-label","aria-labelledby"]}(r,o,a,n).filter((function(e){return!!r.attrNames.includes(e)&&""!==mc(r.attr(e))}));if(0===i.length)return!1;var u=null!==o?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var s=ud(r,{subtreeDescendant:!0});return""===mc(s)||void 0},"aria-required-attr-evaluate":function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=ic(n),o=n.attrNames,i=Og(a);if(Array.isArray(r[a])&&(i=ph(r[a],i)),!a||!o.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!Vl(e)}(n,a)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,a))return!0;if("slider"===a&&null!==(t=n.attr("aria-valuetext"))&&void 0!==t&&t.trim())return!0;var u=Oc(n),s=i.filter((function(e){return!n.attr(e)&&!function(e,t){var r;return void 0!==(null===(r=e.implicitAttrs)||void 0===r?void 0:r[t])}(u,e)}));return!s.length||(this.data(s),!1)},"aria-required-children-evaluate":function(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=ic(r,{dpub:!0}),o=Pg(a);if(null===o)return!0;var i=function(e,t){var r,n=[],a=Gc(e),o=function(){if(3===r.props.nodeType&&n.push({vNode:r,role:null}),1!==r.props.nodeType||!Hc(r))return 1;var e=jc(r,{noPresentational:!0}),o=function(e){return sc().find((function(t){return e.hasAttr(t)}))}(r),i=!!o||Vl(r);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some((function(t){return t===e})))a.push.apply(a,q(r.children));else if(e||i){var u=o||"tabindex";n.push({role:e,attr:u,vNode:r})}};for(;r=a.shift();)o();return n}(r,o),u=i.filter((function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)}));return u.length?(this.relatedNodes(u.map((function(e){return e.vNode}))),this.data({messageKey:"unallowed",values:u.map((function(e){return function(e,t){var r=e.props,n=r.nodeName;if(3===r.nodeType)return"#text";var a=ic(e,{dpub:!0});if(a)return"[role=".concat(a,"]");if(t)return n+"[".concat(t,"]");return n}(e.vNode,e.attr)})).filter((function(e,t,r){return r.indexOf(e)===t})).join(", ")}),!1):!!function(e,t){return t.some((function(t){var r=t.role;return r&&e.includes(r)}))}(o,i)||("true"===r.attr("aria-busy")?(this.data({messageKey:"aria-busy"}),!0):(this.data(o),!(!n.includes(a)||i.some(Py))&&void 0))},"aria-required-children-matches":function(e,t){var r=ic(t,{dpub:!0});return!!Pg(r)},"aria-required-parent-evaluate":My,"aria-required-parent-matches":function(e,t){var r=ic(t);return!!Mg(r)},"aria-roledescription-evaluate":Sy,"aria-unsupported-attr-evaluate":Ty,"aria-valid-attr-evaluate":_y,"aria-valid-attr-value-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],s={"aria-controls":function(){var e=!1===["false",null].includes(r.attr("aria-haspopup"));return e&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),"false"!==r.attr("aria-expanded")&&"false"!==r.attr("aria-selected")&&!1===e},"aria-current":function(e){e||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==r.attr("aria-expanded")},"aria-describedby":function(e){e||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return r.attrNames.forEach((function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var l,c=r.attr(e);try{l=Ig(r,e)}catch(t){return n="".concat(e,'="').concat(c,'"'),void(a="idrefs")}s[e]&&!s[e](l)||l||(""!==c||function(e){var t;return"string"===(null===(t=nc.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(n=e,a="empty"))}})),o.length?(this.data(o),!1):!n||void this.data({messageKey:a,needsReview:n})},"attr-non-space-content-evaluate":ly,"autocomplete-appropriate-evaluate":dy,"autocomplete-matches":function(e,t){var r=t.attr("autocomplete");if(!r||""===mc(r))return!1;var n=t.props.nodeName;if(!1===["textarea","input","select"].includes(n))return!1;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||"true"===a.toLowerCase())return!1;if("input"===n&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===o.toLowerCase())return!1;var i=ic(t),u=sh(t.attr("tabindex"));if(u<0&&t.hasAttr("role")){var s=nc.ariaRoles[i];if(void 0===s||"widget"!==s.type)return!1}return!(u<0&&t.actualNode&&!Hs(t)&&!Hc(t))},"autocomplete-valid-evaluate":cy,"avoid-inline-spacing-evaluate":nv,"braille-label-equivalent-evaluate":function(e,t,r){var n;if(!(null!==(n=r.attr("aria-braillelabel"))&&void 0!==n?n:"").trim())return!0;try{return""!==mc(gd(r))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,r){var n,a=null!==(n=r.attr("aria-brailleroledescription"))&&void 0!==n?n:"";if(""===mc(a))return!0;var o=r.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==mc(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,r){return!Qy(e,t,r)||!!e.querySelector("a[href]")},"caption-evaluate":Eb,"caption-faked-evaluate":Kg,"color-contrast-evaluate":function(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,p=t.pseudoSizeThreshold;if(!Hs(e))return this.data({messageKey:"hidden"}),!0;var f=Wc(r,!1,!0);if(n&&function(e){var t={nonBmp:!0},r=md(e,t),n=""===mc(bd(e,t));return r&&n}(f))this.data({messageKey:"nonBmp"});else{var m=i.getComputedStyle(e),h=parseFloat(m.getPropertyValue("font-size")),g=m.getPropertyValue("font-weight"),v=parseFloat(g)>=u||"bold"===g,b=Math.ceil(72*h)/96,y=v&&b<s||!v&&b<l?c.normal:c.large,w=y.expected,D=y.minThreshold,x=y.maxThreshold,E=function(e,t){var r=t.pseudoSizeThreshold,n=void 0===r?.25:r,a=t.ignorePseudo,o=void 0!==a&&a;if(o)return;var i=e.boundingClientRect,u=i.width*i.height*n;do{if(by(e.actualNode,":before")+by(e.actualNode,":after")>u)return e}while(e=e.parent)}(r,{ignorePseudo:o,pseudoSizeThreshold:p});if(E)return this.data({fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:v?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:w+":1"}),void this.relatedNodes(E.actualNode);var A=Vv(e,{minRatio:.001,maxRatio:d});if(null!==A){var F=[],C=Kv(e,F,d),k=Qv(e,!1,C,t),N=null,R=null,_=null;if(0===A.length)N=Jv(C,k);else if(k&&C){_=[].concat(q(A),[C]).reduce(Sv);var T=Jv(C,k),S=Jv(C,_),O=Jv(_,k);(N=Math.max(T,S,O))!==T&&(R=S>O?"shadowOnBgColor":"fgOnShadowColor")}var M=N>w;if("number"==typeof D&&("number"!=typeof N||N<D)||"number"==typeof x&&("number"!=typeof N||N>x))return this.data({contrastRatio:N}),!0;var P,I,B=Math.floor(100*N)/100;null===C?Qd.get("colorParse")?(P="colorParse",I=Qd.get("colorParse")):P=Qd.get("bgColor"):M||(P=R),null===k&&Qd.get("colorParse")&&(P="colorParse",I=Qd.get("colorParse"));var L=1===B,j=1===f.length;return L?P=Qd.set("bgColor","equalRatio"):M||!j||a||(P="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:C?C.toHexString():void 0,contrastRatio:B,fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:v?"bold":"normal",messageKey:P,expectedContrastRatio:w+":1",shadowColor:_?_.toHexString():void 0,colorParse:I}),null===k||null===C||L||j&&!a&&!M?(P=null,Qd.clear(),void this.relatedNodes(F)):(M||this.relatedNodes(F),M)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":rw,"css-orientation-lock-evaluate":yb,"data-table-large-matches":function(e){if(ug(e)){var t=lc(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return ug(e)},"deprecatedrole-evaluate":function(e,t,r){var n=jc(r,{dpub:!0,fallback:!0}),a=nc.ariaRoles[n];return!(null==a||!a.deprecated)&&(this.data(n),!0)},"dlitem-evaluate":Nb,"doc-has-title-evaluate":rv,"duplicate-id-active-matches":tw,"duplicate-id-after":uv,"duplicate-id-aria-matches":function(e){return Rg(e)},"duplicate-id-evaluate":iv,"duplicate-id-misc-matches":ew,"duplicate-img-label-evaluate":Gb,"exists-evaluate":tv,"explicit-evaluate":Vb,"fallbackrole-evaluate":Ry,"focusable-content-evaluate":ty,"focusable-disabled-evaluate":ey,"focusable-element-evaluate":Qb,"focusable-modal-open-evaluate":Jb,"focusable-no-name-evaluate":Zb,"focusable-not-tabbable-evaluate":Xb,"frame-focusable-content-evaluate":function(e,t,r){if(r.children)try{return!r.children.some((function(e){return Kb(e)}))}catch(e){return}},"frame-focusable-content-matches":function(e,t,r){var n,a;return!r.initiator&&!r.focusable&&(null===(n=r.size)||void 0===n?void 0:n.width)*(null===(a=r.size)||void 0===a?void 0:a.height)>1},"frame-tested-after":xb,"frame-tested-evaluate":Db,"frame-title-has-text-matches":function(e){var t=e.getAttribute("title");return!!mc(t)},"has-alt-evaluate":ev,"has-descendant-after":sy,"has-descendant-evaluate":uy,"has-global-aria-attribute-evaluate":Ny,"has-implicit-chromium-role-matches":function(e,t){return null!==Mc(t,{chromium:!0})},"has-lang-evaluate":Sb,"has-text-content-evaluate":function(e,t,r){try{return""!==mc(ud(r))}catch(e){return}},"has-widget-role-evaluate":ky,"heading-matches":function(e,t){return"heading"===jc(t)},"heading-order-after":function(e){var t=function(e){e=q(e),e.sort((function(e,t){var r=e.node,n=t.node;return r.ancestry.length-n.ancestry.length}));var t=e.reduce(cb,[]);return t.filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var r,n,a,o,i=db(t,e.node.ancestry),u=null!==(r=null===(n=t[i])||void 0===n?void 0:n.level)&&void 0!==r?r:-1,s=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;if(0===i)return!0;if(-1===u)return;return u-s<=1}(e,t)})),e},"heading-order-evaluate":lb,"help-same-as-label-evaluate":zb,"hidden-content-evaluate":tg,"hidden-explicit-label-evaluate":qb,"html-namespace-matches":function(e,t){return!Wy(e,t)},"html5-scope-evaluate":Yg,"identical-links-same-purpose-after":ub,"identical-links-same-purpose-evaluate":ob,"identical-links-same-purpose-matches":function(e,t){if(!!!gd(t))return!1;var r=jc(e);return!r||"link"===r},"implicit-evaluate":jb,"inline-style-property-evaluate":function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,o=t.maxValue,u=t.normalValue,s=void 0===u?0:u,l=t.noImportant,c=t.multiLineOnly;if(!l&&"important"!==e.style.getPropertyPriority(r)||c&&!Kd(e))return!0;var d={};"number"==typeof a&&(d.minValue=a),"number"==typeof o&&(d.maxValue=o);var p=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(p))return this.data(j({value:p},d)),!0;var f=function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,o=i.getComputedStyle(e),u=o.getPropertyValue(r);if("normal"===u)return a;var s=parseFloat(u);if(n)return s;var l=parseFloat(o.getPropertyValue("font-size")),c=Math.round(s/l*100)/100;if(isNaN(c))return u;return c}(e,{absoluteValues:n,cssProperty:r,normalValue:s});return this.data(j({value:f},d)),"number"==typeof f?("number"!=typeof a||f>=a)&&("number"!=typeof o||f<=o):void 0},"inserted-into-focus-order-matches":function(e){return Ld(e)},"internal-link-present-evaluate":wv,"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var o,i=kb(r.children);i.length;){var u,s=i.shift(),l=s.vChild,c=s.nested;if(!t.divGroups||c||("div"!==(o=l).props.nodeName||null!==ic(o))){var d=Cb(l,c,t);d&&(a.includes(d)||a.push(d),1===(null==l||null===(u=l.actualNode)||void 0===u?void 0:u.nodeType)&&n.push(l.actualNode))}else{if(!l.children)return;var p=kb(l.children,!0);i.push.apply(i,q(p))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":Cy,"is-element-focusable-evaluate":Fy,"is-initiator-matches":Qy,"is-on-screen-evaluate":Qg,"is-visible-matches":function(e){return Hs(e)},"is-visible-on-screen-matches":function(e,t){return Hs(t)},"label-content-name-mismatch-evaluate":Lb,"label-content-name-mismatch-matches":function(e,t){var r=jc(e);return!!r&&(!!wg("widget").includes(r)&&(!!xg().includes(r)&&(!(!mc(Xl(t))&&!mc(Kl(e)))&&!!mc(Wc(t)))))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var r=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!vs(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":Yb,"landmark-is-unique-after":Mb,"landmark-is-unique-evaluate":Ob,"landmark-unique-matches":function(e,t){return function(e){var t=wg("landmark"),r=jc(e);if(!r)return!1;var n=e.props.nodeName;if("section"===n||"form"===n){return!!gd(e)}return t.indexOf(r)>=0||"region"===r}(t)&&Hc(t)},"layout-table-matches":function(e){return!ug(e)&&!Vl(e)},"link-in-text-block-evaluate":vy,"link-in-text-block-matches":function(e){var t=mc(e.innerText),r=ic(e);return(!r||"link"===r)&&(!!t&&(!!Hs(e)&&Wd(e)))},"link-in-text-block-style-evaluate":function(e){if(fy(e))return!1;for(var t=js(e);t&&1===t.nodeType&&!fy(t);)t=js(t);if(t){if(this.relatedNodes([t]),Fv(e,t))return!0;if(!function(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t];if("none"!==i.getComputedStyle(e,":".concat(n)).getPropertyValue("content"))return!0}return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,o=ic(n);return!!["presentation","none","list"].includes(o)||(o&&oc(o)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":iy,"meta-refresh-evaluate":function(e,t,r){var n=t||{},a=n.minDelay,o=n.maxDelay,i=Y((r.attr("content")||"").trim().split(bv),1)[0];if(!i.match(yv))return!0;var u=parseFloat(i);return this.data({redirectDelay:u}),"number"==typeof a&&u<=t.minDelay||"number"==typeof o&&u>t.maxDelay},"meta-viewport-scale-evaluate":bb,"multiple-label-evaluate":Ib,"nested-interactive-matches":function(e,t){var r=jc(t);return!!r&&!!nc.ariaRoles[r].childrenPresentational},"no-autoplay-audio-evaluate":wb,"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&(!e.hasAttribute("paused")&&!e.hasAttribute("muted"))},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":Zy,"no-focusable-content-evaluate":function(e,t,r){if(r.children)try{var n=Ub(r);if(!n.length)return!0;var a=n.filter(Wb);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":Ay,"no-naming-method-matches":function(e,t){var r=Oc(t).namingMethods;return(!r||0===r.length)&&(("combobox"!==ic(t)||!Fh(t,'input:not([type="hidden"])').length)&&!_g(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var r=sh(t.attr("tabindex"));return null===r||r>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":Jg,"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[Zy,Jy].every((function(r){return r(e,t)}))},"only-dlitems-evaluate":function(e,t,r){var n=["definition","term","list"],a=r.children.reduce((function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===jc(r)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&Hc(r)){var o=ic(r);("DT"!==a&&"DD"!==a||o)&&(n.includes(o)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e}),{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":Fb,"p-as-heading-evaluate":vv,"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim();return!(0===r.length||(r.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter((function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()})).length},"page-no-duplicate-after":oy,"page-no-duplicate-evaluate":ay,"presentation-role-conflict-matches":function(e,t){return null!==Mc(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,r){var n=ic(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var a=jc(r);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(n))return!1;var o,i=sc().some((function(e){return r.hasAttr(e)})),u=Vl(r);return o=i&&!u?"globalAria":!i&&u?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":fv,"region-evaluate":function(e,t,r){return this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)}),!ds.get("regionlessNodes",(function(){return function(e){var t=pv(c._tree[0],e).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==s.body;)e=e.parent;return e})).filter((function(e,t,r){return r.indexOf(e)===t}));return t}(t)})).includes(r)},"same-caption-summary-evaluate":Ug,"scope-value-evaluate":Hg,"scrollable-region-focusable-matches":function(e,t){return void 0!==Lm(e,13)&&!1===_g(t)&&Fh(t,"*").some((function(e){return Pd(e,!0,!0)}))},"skip-link-evaluate":cv,"skip-link-matches":function(e){return lp(e)&&Gs(e)},"structured-dlitems-evaluate":Ab,"summary-interactive-matches":function(e,t){var r,n,a,o=t.parent;return!("details"!==o.props.nodeName||(a=null===(n=(r=t).actualNode)||void 0===n?void 0:n.parentElement)&&a!==r.parent.actualNode)&&o.children.find((function(e){return"summary"===e.props.nodeName}))===t},"svg-namespace-matches":Wy,"svg-non-empty-title-evaluate":Xg,"tabindex-evaluate":Hb,"table-or-grid-role-matches":function(e,t){var r=jc(t);return["treegrid","grid","table"].includes(r)},"target-offset-evaluate":function(e,t,r){var n=(null==t?void 0:t.minOffset)||24;if(Qs(10*n,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),!0;var a,o,i=[],u=n,s=te(xl(r,n));try{for(s.s();!(a=s.n()).done;){var l=a.value;if("widget"===Gd(l)&&Vl(l)){var c=null;try{c=el(r,l,n/2)}catch(e){if(e.message.startsWith("splitRects"))return void this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});throw e}null!==c&&((c=2*(o=c,Math.round(10*o)/10))+.05>=n||(u=Math.min(u,c),i.push(l)))}}}catch(e){s.e(e)}finally{s.f()}return 0===i.length?(this.data({closestOffset:u,minOffset:n}),!0):(this.relatedNodes(i.map((function(e){return e.actualNode}))),i.some(Gl)?(this.data({closestOffset:u,minOffset:n}),!Gl(r)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:u,minOffset:n}))},"target-size-evaluate":function(e,t,r){var n=(null==t?void 0:t.minSize)||24,a=r.boundingClientRect;if(Qs(10*n,a))return this.data({messageKey:"large",minSize:n}),!0;var o=Qs.bind(null,n),i=xl(r),u=function(e,t){return t.filter((function(t){return!fb(t,e)&&gb(e,t)}))}(r,i),s=function(e,t){var r,n=[],a=[],o=te(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;!gb(e,i)&&nl(e,i)&&"none"!==mb(i)&&(fb(e,i)?n.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:n,partialObscuringElms:a}}(r,i),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(u.length&&(l.length||!o(a)))return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(vb(u));if(l.length)return this.relatedNodes(vb(l)),this.data({messageKey:"obscured"}),!0;var d=!Gl(r)&&void 0;if(!o(a))return this.data(j({minSize:n},hb(a))),d;var p=c.filter((function(e){return"widget"===Gd(e)&&Vl(e)}));if(!p.length)return this.data(j({minSize:n},hb(a))),!0;var f=function(e,t){var r,n=e.boundingClientRect,a=t.map((function(e){return e.boundingClientRect}));try{r=al(n,a)}catch(e){return null}return function(e,t){return e.reduce((function(e,r){var n=Qs(t,e);return n!==Qs(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r}))}(r)}(r,p);if(f){if(!o(f)){if(u.length)return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(vb(u));var m=p.every(Gl),h="partiallyObscured".concat(m?"":"NonTabbable");return this.data(j({messageKey:h,minSize:n},hb(f))),this.relatedNodes(vb(p)),m?d:void 0}return this.data(j({minSize:n},hb(f||a))),this.relatedNodes(vb(p)),!0}this.data({minSize:n,messageKey:"tooManyRects"})},"td-has-header-evaluate":$g,"td-headers-attr-evaluate":function(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],o=0;o<a.cells.length;o++){var i=a.cells[o];t.push(i);var u=i.getAttribute("id");u&&(r[u]=jc(i))}var s=T(T(T(T({},Vg,new Set),qg,new Set),zg,new Set),Gg,new Set);t.forEach((function(e){if(e.hasAttribute("headers")&&Hc(e)){var t=e.getAttribute("headers").trim();if(t){var n=e.getAttribute("id");em(t).forEach((function(t){n&&t===n?s[Vg].add(e):r[t]?["columnheader","rowheader"].includes(r[t])||s[zg].add(e):s[qg].add(e)}))}else s[Gg].add(e)}}));var l,c=te(jg);try{for(c.s();!(l=c.n()).done;){var d=l.value;if(s[d].size>0){if(this.relatedNodes(q(s[d])),d===Gg)return;return this.data({messageKey:d}),!1}}}catch(e){c.e(e)}finally{c.f()}return!0},"th-has-data-cells-evaluate":Lg,"title-only-evaluate":Pb,"unique-frame-title-after":lv,"unique-frame-title-evaluate":sv,"unsupportedrole-evaluate":Ey,"valid-lang-evaluate":_b,"valid-scrollable-semantics-evaluate":xy,"widget-not-inline-matches":function(e,t){return Yy.every((function(r){return r(e,t)}))},"window-is-top-matches":Uy,"xml-lang-mismatch-evaluate":Rb,"xml-lang-mismatch-matches":Hy},iw=ow;var uw=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function sw(e){if("string"==typeof e){if(iw[e])return iw[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function lw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==l(e))&&(e={value:e}),e}function cw(e){e&&(this.id=e.id,this.configure(e))}cw.prototype.enabled=!0,cw.prototype.run=function(e,t,r,n,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,s=new uw(this),l=Sp(s,t,n,a);try{u=this.evaluate.call(l,e.actualNode,i,e,r)}catch(t){return e&&e.actualNode&&(t.errorNode=Vf.toSpec(e)),void a(t)}l.isAsync||(s.result=u,n(s))}else n(null)},cw.prototype.runSync=function(e,t,r){var n=(t=t||{}).enabled;if(!(void 0===n?this.enabled:n))return null;var a,o=this.getOptions(t.options),i=new uw(this),u=Sp(i,t);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,o,e,r)}catch(t){throw e&&e.actualNode&&(t.errorNode=Vf.toSpec(e)),t}return i.result=a,i},cw.prototype.configure=function(e){var t=this;e.evaluate&&!iw[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=lw(e.options):this.options=e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(r){return t[r]=sw(e[r])}))},cw.prototype.getOptions=function(e){return this._internalCheck?Kf(this.options,lw(e||{})):e||this.options};var dw=cw;var pw=function(e){this.id=e.id,this.result=na.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function fw(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(wa(na.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=sw(e.matches))}function mw(e){if(e.length){var t=!1,r={};return e.forEach((function(e){var n=e.results.filter((function(e){return e}));r[e.type]=n,n.length&&(t=!0)})),t?r:null}}fw.prototype.matches=function(){return!0},fw.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&ch.mark(r);var i=_h(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&ch.mark(a),i=i.filter((function(e){return Hc(e)})),t.performanceTimer&&(ch.mark(o),ch.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(ch.mark(n),ch.measure("rule_"+this.id+"#gather",r,n)),i},fw.prototype.runChecks=function(e,t,r,n,a,o){var i=this,u=ef();this[e].forEach((function(e){var a=i._audit.checks[e.id||e],o=Dm(a,i.id,r);u.defer((function(e,r){a.run(t,o,n,e,(function(e){r(new Mh({ruleId:i.id,method:"".concat(a.id,"#evaluate"),errorNode:new Tp(t),error:e}))}))}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(o)},fw.prototype.runChecksSync=function(e,t,r,n){var a=this,o=[];return this[e].forEach((function(e){var i=a._audit.checks[e.id||e],u=Dm(i,a.id,r);o.push(i.runSync(t,u,n))})),{type:e,results:o=o.filter((function(e){return e}))}},fw.prototype.run=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r.performanceTimer&&this._trackPerformance();var o,i=ef(),u=new pw(this);try{o=this.gatherAndMatchNodes(e,r)}catch(e){return void a(e)}r.performanceTimer&&this._logGatherPerformance(o),o.forEach((function(n){i.defer((function(a,o){var i=ef();["any","all","none"].forEach((function(a){i.defer((function(o,i){t.runChecks(a,n,r,e,o,i)}))})),i.then((function(e){var r=mw(e);r&&(r.node=new Tp(n),u.nodes.push(r),t.reviewOnFail&&(["any","all"].forEach((function(e){r[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),r.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),a()})).catch((function(e){return o(e)}))}))})),i.then((function(){r.performanceTimer&&t._logRulePerformance(),setTimeout((function(){n(u)}),0)})).catch((function(e){r.performanceTimer&&t._logRulePerformance(),a(e)}))},fw.prototype.runSync=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.performanceTimer&&this._trackPerformance();var n=new pw(this),a=this.gatherAndMatchNodes(e,r);return r.performanceTimer&&this._logGatherPerformance(a),a.forEach((function(a){var o=[];["any","all","none"].forEach((function(n){o.push(t.runChecksSync(n,a,r,e))}));var i=mw(o);i&&(i.node=a.actualNode?new Tp(a):null,n.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach((function(e){i[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),i.none.forEach((function(e){!0===e.result&&(e.result=void 0)}))))})),r.performanceTimer&&this._logRulePerformance(),n},fw.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},fw.prototype._logGatherPerformance=function(e){aa("gather for ".concat(this.id," (").concat(e.length," nodes): ").concat(ch.timeElapsed(),"ms")),ch.mark(this._markChecksStart)},fw.prototype._logRulePerformance=function(){ch.mark(this._markChecksEnd),ch.mark(this._markEnd),ch.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),ch.measure("rule_"+this.id,this._markStart,this._markEnd)},fw.prototype.gatherAndMatchNodes=function(e,t){var r=this,n="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&ch.mark(n),o=o.filter((function(t){try{return r.matches(t.actualNode,t,e)}catch(e){throw new Mh({ruleId:r.id,method:"#matches",errorNode:new Tp(t),error:e})}})),t.performanceTimer&&(ch.mark(a),ch.measure("rule_"+this.id+"#matches",n,a)),o},fw.prototype.after=function(e,t){var r,n=this;return Gf(r=this).map((function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null})).filter(Boolean).forEach((function(r){var a,o,i,u,s=(a=e.nodes,o=r.id,i=[],a.forEach((function(e){Gf(e).forEach((function(t){t.id===o&&(t.node=e.node,i.push(t))}))})),i),l=Dm(r,n.id,t);try{u=r.after(s,l.options)}catch(t){var c;throw new Mh({ruleId:n.id,method:"".concat(r.id,"#after"),errorNode:null===(c=e.nodes)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.node,error:t})}n.reviewOnFail&&u.forEach((function(e){var t=(n.any.includes(e.id)||n.all.includes(e.id))&&!1===e.result,r=n.none.includes(e.id)&&!0===e.result;(t||r)&&(e.result=void 0)})),s.forEach((function(e){delete e.node,-1===u.indexOf(e)&&(e.filtered=!0)}))})),e.nodes=function(e){var t=["any","all","none"],r=e.nodes.filter((function(e){var r=0;return t.forEach((function(t){e[t]=e[t].filter((function(e){return!0!==e.filtered})),r+=e[t].length})),r>0}));return e.pageLevel&&r.length&&(r=[r.reduce((function(e,r){if(e)return t.forEach((function(t){e[t].push.apply(e[t],r[t])})),e}))]),r}(e),e},fw.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=sw(e.matches)),e.impact&&(wa(na.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var hw=/\{\{.+?\}\}/g,gw=Q((function e(t){Z(this,e),this.lang="en",this.defaultConfig=t,this.standards=nc,this._init(),this._defaultLocale=null}),[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),r=0;r<t.length;r++){var n=t[r],a=this.data.checks[n].messages,o=a.pass,i=a.fail,u=a.incomplete;e.checks[n]={pass:o,fail:i,incomplete:u}}for(var s=Object.keys(this.data.rules),l=0;l<s.length;l++){var c=s[l],d=this.data.rules[c],p=d.description,f=d.help;e.rules[c]={description:p,help:f}}for(var m=Object.keys(this.data.failureSummaries),h=0;h<m.length;h++){var g=m[h],v=this.data.failureSummaries[g].failureMessage;e.failureSummaries[g]={failureMessage:v}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.checks[n])throw new Error('Locale provided for unknown check: "'.concat(n,'"'));this.data.checks[n]=ww(this.data.checks[n],e[n])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.rules[n])throw new Error('Locale provided for unknown rule: "'.concat(n,'"'));this.data.rules[n]=Dw(this.data.rules[n],e[n])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.failureSummaries[n])throw new Error('Locale provided for unknown failureMessage: "'.concat(n,'"'));this.data.failureSummaries[n]=xw(this.data.failureSummaries[n],e[n])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=Ew(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=bw();this.allowedOrigins=[];var r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===na.allOrigins)return void(this.allowedOrigins=["*"]);a!==na.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){n.e(e)}finally{n.f()}}},{key:"_init",value:function(){var e=function(e){var t;if(e?(t=Op(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var r=bw();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=j({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,yw(e.rules,this,"addRule"),yw(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new fw(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===l(t)&&(this.data.checks[e.id]=t,"object"===l(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new dw(e)}},{key:"run",value:function(e,t,r,n){this.normalizeOptions(t),Tp.setRunOptions(t),c._selectCache=[];var a=function(e,t,r){var n={now:[],later:[]},a=e.reduce((function(e,n){return kh(n,t,r)?n.preload?(e.later.push(n),e):(e.now.push(n),e):e}),n);return a}(this.rules,e,t),o=a.now,i=a.later,u=ef();o.forEach((function(r){u.defer(Aw(r,e,t))}));var s=ef();i.length&&s.defer((function(e){wh(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)}))}));var l=ef();l.defer(u),l.defer(s),l.then((function(a){var o=a.pop();if(o&&o.length){var u=o[0];u&&(e=j({},e,u))}var s=a[0];if(!i.length)return c._selectCache=void 0,void r(s.filter((function(e){return!!e})));var l=ef();i.forEach((function(r){var n=Aw(r,e,t);l.defer(n)})),l.then((function(e){c._selectCache=void 0,r(s.concat(e).filter((function(e){return!!e})))})).catch(n)})).catch(n)}},{key:"after",value:function(e,t){var r=this.rules;return e.map((function(e){if(e.error)return e;var n=$f(r,"id",e.id);if(!n)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return n.after(e,t)}catch(e){if(t.debug)throw e;return Fw(n,e)}}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],r=[];if(this.rules.forEach((function(e){r.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),["object","string"].includes(l(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var n=e.runOnly.find((function(e){return t.includes(e)})),a=e.runOnly.find((function(e){return r.includes(e)}));if(n&&a)throw new Error("runOnly cannot be both rules and tags");e.runOnly=a?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var o=e.runOnly;if(o.value&&!o.values&&(o.values=o.value,delete o.value),!Array.isArray(o.values)||0===o.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(o.type))o.type="rule",o.values.forEach((function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(o.type))throw new Error("Unknown runOnly type '".concat(o.type,"'"));o.type="tag";var i=o.values.filter((function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)}));0!==i.length&&c.log("Could not find tags `"+i.join("`, `")+"`")}}return"object"===l(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(n){e.data.rules[n.id]||(e.data.rules[n.id]={});var a=e.data.rules[n.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===Cw(t,n.id,r))&&(a.helpUrl=Cw(e,n.id,r))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),vw=gw;function bw(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function yw(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n])}var ww=function(e,t){var r=t.pass,n=t.fail;return"string"==typeof r&&hw.test(r)&&(r=Ia.default.compile(r)),"string"==typeof n&&hw.test(n)&&(n=Ia.default.compile(n)),j({},e,{messages:{pass:r||e.messages.pass,fail:n||e.messages.fail,incomplete:"object"===l(e.messages.incomplete)?j({},e.messages.incomplete,t.incomplete):t.incomplete}})},Dw=function(e,t){var r=t.help,n=t.description;return"string"==typeof r&&hw.test(r)&&(r=Ia.default.compile(r)),"string"==typeof n&&hw.test(n)&&(n=Ia.default.compile(n)),j({},e,{help:r||e.help,description:n||e.description})},xw=function(e,t){var r=t.failureMessage;return"string"==typeof r&&hw.test(r)&&(r=Ia.default.compile(r)),j({},e,{failureMessage:r||e.failureMessage})},Ew=function(e,t){return"string"==typeof t&&hw.test(t)&&(t=Ia.default.compile(t)),t||e};function Aw(e,t,r){return r.performanceTimer&&ch.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,(function(e){return n(e)}),(function(t){r.debug?a(t):n(Fw(e,t))}))}}function Fw(e,t){var r=t.errorNode,n=Sh(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],o=r||new Tp(s.documentElement);return Object.assign(new pw(e),{error:n,result:na.CANTTELL,nodes:[{any:[],all:[],none:a,node:o}]})}function Cw(e,t,r){var n=e.brand,a=e.application,o=e.lang;return na.helpUrlBase+n+"/"+(r||c.version.substring(0,c.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(o&&"en"!==o?"&lang="+encodeURIComponent(o):"")}function kw(e){var t=i&&"Node"in i&&"NodeList"in i,r=!!s;if(!t||!r){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(ds.set("globalDocumentSet",!0),s=e.ownerDocument),t||(ds.set("globalWindowSet",!0),i=s.defaultView)}}var Nw=function(){ds.get("globalDocumentSet")&&(ds.set("globalDocumentSet",!1),s=null),ds.get("globalWindowSet")&&(ds.set("globalWindowSet",!1),i=null),c._memoizedFns.forEach((function(e){return e.clear()})),ds.clear(),c._tree=void 0,c._selectorData=void 0,c._selectCache=void 0};function Rw(e,t,r,n){try{e=new Mm(e),c._tree=e.flatTree,c._selectorData=Zu(e.flatTree)}catch(e){return Nw(),n(e)}var a=ef(),o=c._audit;t.performanceTimer&&ch.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(r,n){Wf(e,t,"rules",null,r,n)})),a.defer((function(r,n){o.run(e,t,r,n)})),a.then((function(a){try{t.performanceTimer&&ch.auditEnd();var i=Uf(a.map((function(e){return{results:e}})));e.initiator&&(t.performanceTimer&&ch.mark("auditAfterStart"),i=o.after(i,t),t.performanceTimer&&(ch.mark("auditAfterEnd"),ch.measure("audit.after","auditAfterStart","auditAfterEnd"),ch.logMeasures("audit.after")),i.forEach(Eh),i=i.map(ha));try{r(i,Nw)}catch(e){Nw(),aa(e)}}catch(e){Nw(),n(e)}})).catch((function(e){Nw(),n(e)}))}function _w(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){c._audit.registerCommand(e)}))}i.top!==i&&(Pf.subscribe("axe.start",(function(e,t,r){var n=r,a=function(e){e instanceof Error==0&&(e=new Error(e)),r(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[s]);var i=e&&e.options||{};switch(e.command){case"rules":return Rw(o,i,(function(e,t){e=Vf.mapRawResults(e),n(e),t()}),a);case"cleanup-plugin":return Kh(n,a);default:if(c._audit&&c._audit.commands&&c._audit.commands[e.command])return c._audit.commands[e.command](e,r)}})),Pf.subscribe("axe.ping",(function(e,t,r){r({axe:!0})}))),_w.prototype.run=function(){return this._run.apply(this,arguments)},_w.prototype.collect=function(){return this._collect.apply(this,arguments)},_w.prototype.cleanup=function(e){var t=c.utils.queue(),r=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){r._registry[e].cleanup(t)}))})),t.then(e)},_w.prototype.add=function(e){this._registry[e.id]=e};var Tw=function(e){c.plugins[e.id]=new _w(e)};var Sw=function(){var e=c._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(rc).forEach((function(e){rc[e]=tc[e]}))};function Ow(e){var t,r,n,a=Y(e,3),o=a[0],i=a[1],u=a[2],d=new TypeError("axe.run arguments are invalid");if(!Wm(o)){if(void 0!==u)throw d;u=i,i=o,o=s}if("object"!==l(i)){if(void 0!==u)throw d;u=i,i={}}if("function"!=typeof u&&void 0!==u)throw d;return(i=Op(i)).reporter=null!==(t=null!==(r=i.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",{context:o,options:i,callback:u}}var Mw=function(){};function Pw(e){var t=e.frames,r=e.frameSpec;return r?t.map((function(e){return Vf.mergeSpecs(e,r)})):t}var Iw=function(e){if(c._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===l(e.documentElement)&&"object"===l(e.defaultView)&&(e=e.documentElement),kw(e),c._tree=um(e),c._selectorData=Zu(c._tree),c._tree[0]},Bw=function(e,t,r){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,F);r(j({},xm(a),{toolOptions:o},hm(e,t)))},Lw=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,C);t.resultTypes=["violations"];var i=hm(e,t).violations;r(j({},xm(a),{toolOptions:o,violations:i}))},jw=function(e,t,r){if("function"==typeof t&&(r=t,t={}),!e||!Array.isArray(e))return r(e);r(e.map((function(e){for(var t=j({},e),r=0,n=["passes","violations","incomplete","inapplicable"];r<n.length;r++){var a=n[r];t[a]=Vf.mapRawNodeResults(t[a])}return t})))},qw=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,k);jw(e,o,(function(e){var t=xm(a);r({raw:e,env:t})}))},zw=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,N),i=hm(e,t),u=function(e){e.nodes.forEach((function(e){e.failureSummary=pm(e)}))};i.incomplete.forEach(u),i.violations.forEach(u),r(j({},xm(a),{toolOptions:o},i))},Vw=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,R),i=hm(e,t);r(j({},xm(a),{toolOptions:o},i))},Gw={base:{Audit:vw,CheckResult:uw,Check:dw,Context:Mm,RuleResult:pw,Rule:fw,metadataFunctionMap:iw},public:{reporters:Xh},helpers:{failureSummary:pm,incompleteFallbackMessage:fm,processAggregate:hm},utils:{setDefaultFrameMessenger:Of,cacheNodeSelectors:im,getNodesMatchingExpression:rm,convertSelector:Up},commons:{dom:{nativelyHidden:As,displayHidden:Fs,visibilityHidden:Cs,contentVisibiltyHidden:ks,ariaHidden:Ns,opacityHidden:Rs,scrollHidden:_s,overflowHidden:Ts,clipHidden:Ss,areaHidden:Os,detailsHidden:Ms}}};c._thisWillBeDeletedDoNotUse=Gw,c.constants=na,c.log=aa,c.AbstractVirtualNode=ia,c.SerialVirtualNode=Wh,c.VirtualNode=Cp,c._cache=ds,c.imports=Ra,c.cleanup=Kh,c.configure=Qh,c.frameMessenger=function(e){Pf.updateMessenger(e)},c.getRules=eg,c._load=function(e){c._audit=new vw(e)},c.plugins={},c.registerPlugin=Tw,c.hasReporter=Zh,c.getReporter=Jh,c.addReporter=function(e,t,r){Xh[e]=t,r&&(Yh=t)},c.reset=Sw,c._runRules=Rw,c.runVirtualRule=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.reporter=r.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof ia||(t=new Wh(t));var n=Im(e);if(!n)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(n=Object.create(n,{excludeHidden:{value:!1}})).runSync(a,r);Eh(o),ha(o);var i=ba([o]);return i.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=pm(e)}))})),j({},xm(),i,{toolOptions:r})},c.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];kw(t[0]);var n=Ow(t),a=n.context,o=n.options,i=n.callback,u=void 0===i?Mw:i,s=function(e){var t,r,n;"function"==typeof Promise&&e===Mw?t=new Promise((function(e,t){r=t,n=e})):(n=function(t){return e(null,t)},r=function(t){return e(t)});return{thenable:t,reject:r,resolve:n}}(u),l=s.thenable,d=s.resolve,p=s.reject;try{wa(c._audit,"No audit configured"),wa(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"==typeof t&&t!==Mw)return void t(e.message);throw e}(e,u)}return c._running=!0,o.performanceTimer&&ch.start(),c._runRules(a,o,(function(e,t){var r=function(e){c._running=!1,t();try{p(e)}catch(e){c.log(e)}};try{o.performanceTimer&&ch.mark("reporterStart"),function(e,t,r,n){var a=Jh(t.reporter),o=a(e,t,r,n);void 0!==o&&r(o)}(e,o,(function(e){o.performanceTimer&&(ch.mark("reporterEnd"),ch.measure("reporter","reporterStart","reporterEnd"),ch.logMeasures("reporter"),ch.end()),c._running=!1,t();try{d(e)}catch(e){c.log(e)}}),r)}catch(e){r(e)}}),(function(e){o.performanceTimer&&ch.end(),c._running=!1,u(e),p(e)})),l},c.setup=Iw,c.teardown=Nw,c.runPartial=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Ow(t),a=n.options,o=n.context;wa(c._audit,"Axe is not configured. Audit is missing."),wa(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var i=new Mm(o,c._tree);return c._tree=i.flatTree,c._selectorData=Zu(i.flatTree),c._running=!0,a.elementRef=!1,new Promise((function(e,t){c._audit.run(i,a,e,t)})).then((function(e){e=Vf.mapRawResults(e);var t,r=i.frames.map((function(e){var t=e.node;return Vf.toSpec(t)}));return i.initiator&&(t=xm()),c._running=!1,Nw(),{results:e,frames:r,environmentData:t}})).catch((function(e){return c._running=!1,Nw(),Promise.reject(e)}))},c.finishRun=function(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=Op(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(r=a.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",function(e){var t,r=[],n=te(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=r.shift();if(a){a.frameSpec=null!=o?o:null;var i=Pw(a);r.unshift.apply(r,q(i))}}}catch(e){n.e(e)}finally{n.f()}}(e);var i=Uf(e);return(i=c._audit.after(i,a)).forEach(Eh),function(e,t){return new Promise((function(r,n){Jh(t.reporter)(e,t,r,n)}))}(i=i.map(ha),j({environmentData:o},a))},c.commons=Dv,c.utils=ua,c.addReporter("na",Bw),c.addReporter("no-passes",Lw),c.addReporter("rawEnv",qw),c.addReporter("raw",jw),c.addReporter("v1",zw),c.addReporter("v2",Vw,!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"}],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:!0},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this)}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,__webpack_require__),a.loaded=!0,a.exports}__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";__webpack_require__(609);const e={id:"element_with_underline",evaluate(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("text-decoration"),n=t.getPropertyValue("text-decoration-line");return r.includes("underline")||n.includes("underline")}},t={id:"element_is_u_tag",evaluate:e=>e.tagName&&"u"===e.tagName.toLowerCase()},r={id:"paragraph_not_empty",evaluate:e=>"p"!==e.tagName.toLowerCase()||(!(!e.getAttribute("aria-hidden")||"true"!==e.getAttribute("aria-hidden").toLowerCase())||(!(!e.childNodes.length||!Array.from(e.childNodes).some((e=>3!==e.nodeType)))||""!==e.textContent.trim()))},n=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return 0;const t=parseFloat(window.getComputedStyle(e).fontSize);return"number"==typeof t?t:0},a=e=>(e||"").trim().toLowerCase().replace(/\s+/g," ");class o extends Map{set(e,t){return super.set("string"==typeof e?e.toLowerCase():e,t)}get(e){return super.get("string"==typeof e?e.toLowerCase():e)}has(e){return super.has("string"==typeof e?e.toLowerCase():e)}delete(e){return super.delete("string"==typeof e?e.toLowerCase():e)}}const i={id:"paragraph_styled_as_header",evaluate:e=>{const t=n(e);if(!e.textContent.trim())return!1;if(e.textContent.trim().length>50||t<16)return!1;if(t>=20)return!0;const r=window.getComputedStyle(e),a=r.getPropertyValue("font-weight"),o=["bold","bolder","700","800","900"].includes(a),i=r.getPropertyValue("font-style"),u=["italic","oblique"].includes(i);let s=!1;return e.querySelectorAll("b, strong, i, em").forEach((t=>{t.textContent===e.textContent&&(s=!0)})),!!(o||u||s)}},u={id:"text_size_too_small",evaluate:e=>{if(!e.textContent.trim().length)return!1;const t=Array.from(e.childNodes).some((e=>e.nodeType===Node.TEXT_NODE));return!(e.childNodes.length&&!t)&&n(e)<=10}},s={id:"text_justified",selector:"p, span, small, strong, b, i, em, h1, h2, h3, h4, h5, h6, a, label, button, th, td, li, div, blockquote, address, cite, q, s, sub, sup, u, del, caption, dt, dd, figcaption, summary, data, time",matches:e=>e.textContent.trim().length>=200,tags:["wcag2aaa","wcag148","cat.text","custom"],metadata:{description:"Text elements inside containers should not be justified."},all:[],any:[],none:["text_is_justified"]},l={id:"text_is_justified",evaluate:e=>"justify"===window.getComputedStyle(e).textAlign.toLowerCase()},c=wp.i18n,d=[(0,c.__)("new window","accessibility-checker"),(0,c.__)("new tab","accessibility-checker"),(0,c.__)("new document","accessibility-checker")],p={id:"link_target_blank_without_informing",evaluate:e=>{if("a"!==e.tagName.toLowerCase()||"_blank"!==e.getAttribute("target"))return!1;if(f(e.textContent))return!1;if(e.hasAttribute("aria-label")&&f(e.getAttribute("aria-label")))return!1;if(e.hasAttribute("aria-labelledby")){const t=document.getElementById(e.getAttribute("aria-labelledby"));if(t&&f(t.textContent))return!1}const t=e.querySelectorAll("img");for(const e of t)if(f(e.getAttribute("alt")))return!1;return!0}},f=e=>!!e&&d.some((t=>e.toLowerCase().includes(t))),m=[(0,c.__)("click","accessibility-checker"),(0,c.__)("click here","accessibility-checker"),(0,c.__)("here","accessibility-checker"),(0,c.__)("go here","accessibility-checker"),(0,c.__)("more","accessibility-checker"),(0,c.__)("more...","accessibility-checker"),(0,c.__)("more…","accessibility-checker"),(0,c.__)("details","accessibility-checker"),(0,c.__)("more details","accessibility-checker"),(0,c.__)("link","accessibility-checker"),(0,c.__)("this page","accessibility-checker"),(0,c.__)("continue","accessibility-checker"),(0,c.__)("continue reading","accessibility-checker"),(0,c.__)("read more","accessibility-checker"),(0,c.__)("open","accessibility-checker"),(0,c.__)("download","accessibility-checker"),(0,c.__)("button","accessibility-checker"),(0,c.__)("keep reading","accessibility-checker"),(0,c.__)("learn more","accessibility-checker"),(0,c.__)("opens a new window","accessibility-checker")],h=e=>!!e&&(e=e.toLowerCase().replace(/[^a-z]+/g," ").trim(),m.includes(e)),g={id:"has_ambiguous_text",evaluate:e=>{if(e.hasAttribute("aria-label")){const t=e.getAttribute("aria-label");return h(t)}if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby"),r=document.getElementById(t)?.textContent;return h(r)}if(e.textContent&&""!==e.textContent)return h(e.textContent);const t=e.querySelectorAll("img");for(const e of t){const t=e.getAttribute("alt");if(h(t))return!0}return!1}},v={id:"anchor_exists",evaluate:e=>{const t=e.getAttribute("href").slice(1);if(""===t)return!0;const r=`#${CSS.escape(t)}`;if(null!==document.querySelector(r))return!0;return null!==document.querySelector(`a[name="${CSS.escape(t)}"]`)}},b={id:"link_ms_office_file",selector:[".doc",".docx",".xls",".xlsx",".ppt",".pptx",".pps",".ppsx"].map((e=>`a[href$="${e}"], a[href$="${e.toUpperCase()}"], a[href*="${e}?"], a[href*="${e.toUpperCase()}?"], a[href*="${e}#"], a[href*="${e.toUpperCase()}#"]`)).join(", "),excludeHidden:!1,tags:["cat.custom"],metadata:{description:"Links to MS Office documents typically should be checked."},all:[],any:["always-fail"],none:[]},y=["screen-reader-text","sr-only","show-for-sr","visuallyhidden","visually-hidden","hidden-visually","invisible","accessibly-hidden","hide","hidden"],w={id:"aria_hidden_valid_usage",evaluate:e=>{const t=window.getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility)return!0;if(e.classList.contains("wp-block-spacer"))return!0;const r=e.getAttribute("role");if(r?.split(/\s+/).includes("presentation"))return!0;const n=e.parentElement;if(!n)return!1;const a=window.getComputedStyle(n);if("none"===a.display||"hidden"===a.visibility)return!0;if(["button","a"].includes(n.tagName.toLowerCase())){if(n.hasAttribute("aria-label")&&n.getAttribute("aria-label").trim()||n.hasAttribute("aria-labelledby")&&document.getElementById(n.getAttribute("aria-labelledby")))return!0;for(const t of n.childNodes)if(t!==e){if(t.nodeType===Node.TEXT_NODE&&t.textContent.trim())return!0;if(t.nodeType===Node.ELEMENT_NODE&&!t.hasAttribute("aria-hidden")){const e=window.getComputedStyle(t);if("none"!==e.display&&"hidden"!==e.visibility&&t.textContent.trim())return!0}}}const o=Array.from(n.children);for(const t of o)if(t!==e)for(const e of y)if(t.classList.contains(e)||t.className.toLowerCase().includes(e))return!0;return!1}};function D(e,t){const r=e.getAttribute(t)||"";if(!r.trim())return!1;const n=r.split(/\s+/).filter((e=>e.trim()));return 0===n.length||n.every((e=>null!==document.getElementById(e)))}const x={id:"aria_label_not_found",evaluate:e=>D(e,"aria-labelledby")},E={id:"aria_describedby_not_found",evaluate:e=>D(e,"aria-describedby")},A={id:"aria_owns_not_found",evaluate:e=>D(e,"aria-owns")},F={id:"table_has_headers",evaluate:e=>{if("table"!==e.nodeName.toLowerCase())return!0;const t=Array.from(e.querySelectorAll("tr"));if(0===t.length)return!0;if(t.every((e=>{const t=e.children[0];if(!t||"th"!==t.tagName.toLowerCase())return!1;const r=t.getAttribute("scope");return"row"===r||!r})))return!0;const r=e.querySelector("thead tr")||t.find((e=>e.querySelectorAll("th").length>0));if(!r)return!1;const n=r.querySelectorAll("th").length;if(0===n)return!1;let a=!1;for(const e of t){if(!a&&e===r){a=!0;continue}if(e.querySelectorAll("td").length>n)return!1}return!0}},C={id:"heading_is_empty",evaluate(e){const t=e.querySelectorAll('[aria-hidden="true"]'),r=e.cloneNode(!0);t.forEach((e=>{const t=Array.from(r.querySelectorAll("*")).find((t=>t.isEqualNode(e)));t&&t.remove()}));const n=r.textContent.trim(),a=n&&!/^[-_\s]*$/.test(n),o=e.getAttribute("aria-label"),i=o&&""!==o.trim(),u=e.querySelectorAll("img");let s=!1;for(let e=0;e<u.length;e++){const t=u[e].getAttribute("alt");if(t&&""!==t.trim()){s=!0;break}}const l=e.querySelectorAll("svg");let c=!1;for(let e=0;e<l.length;e++){const t=l[e].querySelector("title");if(t&&""!==t.textContent.trim()){c=!0;break}const r=l[e].getAttribute("aria-label");if(r&&""!==r.trim()){c=!0;break}}const d=e.getAttribute("aria-labelledby");let p=!1;if(d){const e=d.split(/\s+/);for(let t=0;t<e.length;t++){const r=document.getElementById(e[t]);if(r&&""!==r.textContent.trim()){p=!0;break}}}return a||i||s||c||p}},k=["youtube.com","youtu.be","vimeo.com"],N=/\.(3gp|asf|asx|avi|flv|m4a|m4p|mov|mp3|mp4|mpeg|mpeg2|mpg|mpv|ogg|oga|ogv|qtl|smi|smil|wav|wax|webm|wmv|wmp|wmx)(\?.*)?$/i,R={id:"has_transcript",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=e.getAttribute("href")||"",n=e.getAttribute("src")||"",a="a"===t&&N.test(r),o="iframe"===t&&k.some((e=>n.includes(e)));if(!("audio"===t||"video"===t||o||a))return!0;const i=function(e,t=250){let r="";e.previousElementSibling&&"noscript"!==e.previousElementSibling.nodeName.toLowerCase()&&(r+=e.previousElementSibling.textContent.trim()+" ");e.nextElementSibling&&"noscript"!==e.nextElementSibling.nodeName.toLowerCase()&&(r+=e.nextElementSibling.textContent.trim()+" ");if(!e.previousElementSibling&&!e.nextElementSibling&&e.parentElement){const t=e.parentElement;t.previousElementSibling&&"noscript"!==t.previousElementSibling.nodeName.toLowerCase()&&(r+=t.previousElementSibling.textContent.trim()+" "),t.nextElementSibling&&"noscript"!==t.nextElementSibling.nodeName.toLowerCase()&&(r+=t.nextElementSibling.textContent.trim()+" ")}const n=e.closest("figure");if(n){const e=n.querySelector("figcaption");e&&(r+=e.textContent.trim()+" "),r+=_(n.nextElementSibling,5)}let a=e.closest(".media-wrapper, figure, section, article");if(!a){let t=e.parentElement,r=0;for(;t&&r<3;){if(t.children.length>1||t.nextElementSibling||t.previousElementSibling){a=t;break}t=t.parentElement,r++}}if(a){r+=_(a.nextElementSibling,3);const n={acceptNode(e){const t=window.getComputedStyle(e.parentElement);return t&&"none"!==t.display&&"hidden"!==t.visibility?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}},o=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,n,!1);for(;o.nextNode();){const n=o.currentNode,a=n.textContent.trim();if(!e.contains(n)&&a.length&&(r+=a+" "),r.length>=t){const e=r.lastIndexOf(" ",t);-1!==e&&(r=r.substring(0,e));break}}}return r.toLowerCase().trim()}(e,350),u=["transcript","transcription","text version","written version"].some((e=>i.toLowerCase().includes(e))),s=e.getAttribute("aria-describedby"),l=s&&document.getElementById(s)?.textContent?.toLowerCase().includes("transcript");return!(!u&&!l)}};function _(e,t){let r="",n=e,a=0;for(;n&&a<t;){const e=n.textContent?.trim();e&&(r+=e+" "),n=n.nextElementSibling,a++}return r}const T={id:"button_is_empty",evaluate(e){const t=(e=>{const t=[];e.querySelectorAll('[aria-hidden="true"]').forEach((e=>{t.push(e.cloneNode(!0).textContent)})),Array.from(e.getElementsByTagName("*")).forEach((e=>{const r=window.getComputedStyle(e);"none"!==r.display&&"hidden"!==r.visibility||t.push(e.textContent)}));let r=e.textContent;return t.forEach((e=>{r=r.replace(e,"")})),r.trim()})(e);if(t&&t.length>0)return!1;const r=e.getAttribute("aria-label"),n=e.getAttribute("aria-description"),a=e.getAttribute("title");if(r||n||a)return!1;const o=e.getAttribute("aria-labelledby");if(o){const e=o.split(/\s+/);for(const t of e){const e=document.getElementById(t);if(e?.textContent?.trim())return!1}}const i=e.getAttribute("aria-describedby");if(i){const e=i.split(/\s+/);for(const t of e){const e=document.getElementById(t);if(e?.textContent?.trim())return!1}}const u=e.querySelectorAll("img");for(const e of u)if(e.getAttribute("alt")?.trim())return!1;if("input"===e.tagName.toLowerCase()&&e.getAttribute("value"))return!1;const s=e.querySelectorAll("i");for(const e of s)if(e.getAttribute("title")?.trim()||e.getAttribute("aria-label")?.trim()||e.getAttribute("aria-description")?.trim())return!1;const l=e.querySelectorAll("svg");for(const e of l)if(e.querySelector("title")?.textContent?.trim()||e.getAttribute("aria-label")?.trim()||e.getAttribute("aria-description")?.trim())return!1;return!0}},S=["slider","carousel","owl-carousel","soliloquy-container","n2-section-smartslider","metaslider","master-slider","rev_slider","royalSlider","wonderpluginslider","meteor-slides","flexslider","slick-slider","uagb-slick-carousel","swiper-container","flickity-slider","spacegallery","blueimp-gallery","seq-active","siema","keen-slider","bxslider","bx-wrapper","glide--slider"],O={id:"slider_detected",evaluate:e=>{const t=(e.getAttribute("class")||"").toLowerCase().split(/\s+/),r=S.some((e=>t.includes(e))),n=e.hasAttribute("data-jssor-slider")||e.hasAttribute("data-layerslider-uid");return!r&&!n}},M=[".3gp",".asf",".asx",".avi",".flv",".m4p",".mov",".mp4",".mpeg",".mpeg2",".mpg",".mpv",".ogg",".ogv",".qtl",".smi",".smil",".wax",".webm",".wmv",".wmp",".wmx"],P=["youtube","youtu.be","vimeo"],I=["video"],B={id:"is_video_detected",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=e.getAttribute("src")||"",n=e.getAttribute("data")||"",a=e.getAttribute("type")||"",o=e.getAttribute("role")||"";if("iframe"===t&&r){const e=r.toLowerCase();if(P.some((t=>e.includes(t))))return!0}const i=M.some((e=>{const t=r.toLowerCase(),a=n.toLowerCase();return t.endsWith(e)||t.includes(e+"?")||a.endsWith(e)||a.includes(e+"?")})),u=P.some((e=>r.toLowerCase().includes(e))),s=a.toLowerCase().startsWith("video/"),l=I.includes(o.toLowerCase());if("source"===t){const t=e.parentNode;if(t&&"video"===t.nodeName.toLowerCase())return!1;if(s||i)return!0}return!!("video"===t||i||u||s||l)}},L={id:"link-is-empty",evaluate(e){if(!e.hasAttribute("href"))return!1;if(e.hasAttribute("name"))return!1;if(Array.from(e.childNodes).some((e=>e.nodeType===Node.TEXT_NODE?""!==e.textContent.replace(/[\s\u00A0\-—_]/g,""):e.nodeType===Node.ELEMENT_NODE&&(!e.hasAttribute("aria-hidden")&&""!==e.textContent.replace(/[\s\u00A0\-—_]/g,"")))))return!1;if(e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label").trim())return!1;if(e.hasAttribute("title")&&""!==e.getAttribute("title").trim())return!1;if(e.hasAttribute("aria-labelledby")){if(e.getAttribute("aria-labelledby").split(" ").map((e=>document.getElementById(e))).filter(Boolean).some((e=>""!==e.textContent.trim())))return!1}const t=e.querySelectorAll("img");for(const e of t)if(e.hasAttribute("alt")&&""!==e.getAttribute("alt").trim())return!1;const r=e.querySelectorAll("input");for(const e of r)if(e.hasAttribute("value")&&""!==e.getAttribute("value").trim())return!1;const n=e.querySelectorAll("i");for(const e of n)if(e.hasAttribute("title")&&""!==e.getAttribute("title").trim()||e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label").trim())return!1;const a=e.querySelectorAll("svg");for(const e of a)if(e.querySelector("title"))return!1;return!0}},j=["apng","bmp","gif","ico","cur","jpg","jpeg","jfif","pjpeg","pjp","png","svg","tif","tiff","webp"],q={id:"longdesc_valid",evaluate:e=>{if("img"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("longdesc");if(null===t)return!0;if(""===t.trim())return!1;if(t.includes(":")){if(!/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(t))return!1}let r;try{r=new URL(t,document.baseURI)}catch{return!1}const n=r.pathname,a=n.endsWith("/")?"":n.split("/").pop();if(!a)return!1;const o=a.match(/\.([^.?#]+)(?:\?.*)?(?:#.*)?$/),i=o?o[1].toLowerCase():"";return!j.includes(i)}},z={id:"table_header_is_empty",evaluate(e){if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden"))return!0;if(""!==e.textContent.replace(/[\s\u00A0\-—_]/g,""))return!1;if(e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label")?.trim())return!1;if(e.hasAttribute("title")&&""!==e.getAttribute("title")?.trim())return!1;if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby")?.split(" "),r=t?.map((e=>document.getElementById(e))).filter(Boolean);if(r.some((e=>""!==e.textContent?.trim())))return!1}const t=e.querySelectorAll("img");for(const e of t)if(e.hasAttribute("alt")&&""!==e.getAttribute("alt")?.trim())return!1;const r=e.querySelectorAll("i");for(const e of r)if(e.hasAttribute("title")&&""!==e.getAttribute("title")?.trim()||e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label")?.trim())return!1;const n=e.querySelectorAll("svg");for(const e of n)if(e.querySelector("title"))return!1;return!0}},V={id:"img_alt_missing_check",evaluate(e){const t=e.tagName.toLowerCase();if(e.hasAttribute("role")&&"presentation"===e.getAttribute("role"))return!1;if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden"))return!1;if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby"),r=document.getElementById(t);if(r&&""!==r.textContent.trim())return!1}const r=e.hasAttribute("alt")&&null!==e.getAttribute("alt");return"input"===t&&"image"===e.getAttribute("type")?!r:"img"===t&&(!G(e)&&(!H(e)&&(!U(e)&&!r)))},options:{},metadata:{impact:"critical",messages:{pass:"Image has an alt attribute",fail:"Image is missing an alt attribute"}}},G=e=>{const t=W(e,(e=>e.tagName&&"figure"===e.tagName.toLowerCase()));if(t){const e=t.querySelectorAll("figcaption");if(e.length>0&&""!==e[0].textContent.trim())return!0}const r=W(e,(e=>e.tagName&&"div"===e.tagName.toLowerCase()&&e.classList.contains("wp-caption")));return!!(r&&r.textContent&&r.textContent.trim().length>5)},$=(e,t)=>""!==Array.from(e.childNodes).filter((e=>e!==t&&3===e.nodeType)).map((e=>e.textContent)).join("").trim(),H=e=>{const t=W(e,(e=>e.tagName&&"a"===e.tagName.toLowerCase()));if(t){if(t.hasAttribute("aria-label")&&""!==t.getAttribute("aria-label").trim())return!0;if(t.hasAttribute("title")&&""!==t.getAttribute("title").trim())return!0;if($(t,e))return!0}return!1},U=e=>{const t=W(e,(e=>e.tagName&&"button"===e.tagName.toLowerCase()));return!(!t||!$(t,e))},W=(e,t)=>{let r=e.parentNode;for(;r;){if(t(r))return r;r=r.parentNode}return null},Y={id:"img_alt_invalid_check",evaluate(e){if(!e.hasAttribute("alt"))return!0;const t=e.getAttribute("alt");if(""===t)return!0;if(""===t.trim())return!1;const r=t.toLowerCase().trim().replace(/\s+/g," "),n=["graphic of","bullet","image of","an image"];for(const e of n)if(r.startsWith(e))return!1;const a=["image","graphic"];for(const e of a)if(r.endsWith(e))return!1;const o=[".apng",".bmp",".gif",".ico",".cur",".jpg",".jpeg",".jfif",".pjpeg",".pjp",".png",".svg",".tif",".tiff",".webp"];for(const e of o)if(r.includes(e))return!1;if(["graphic of","bullet","image of","an image","image","graphic","photo","photograph","drawing","painting","artwork","logo","button","arrow","more","spacer","blank","chart","table","diagram","graph","*"].includes(r))return!1;const i=["_","img","jpg","jpeg","apng","png","svg","webp"];for(const e of i)if(r.includes(e))return!1;return!/^\d+$/.test(r)},options:{},metadata:{impact:"serious",messages:{pass:"Image alt text is valid",fail:"Image has invalid alt text (contains generic terms, file names, or only numbers)"}}},K=new Map;const X={id:"img_alt_redundant_check",evaluate(e){const t=a(e.getAttribute("alt"));if(!t)return!0;const r=a(e.getAttribute("title"));if(r&&t===r)return!1;const n=e.closest("a");if(n){const e=a(n.textContent);if(e&&t===e)return!1}const o=e.closest("figure");if(o){const e=o.querySelector("figcaption");if(e){const r=a(e.textContent);if(r&&t===r)return!1}}if(0===K.size&&document.querySelectorAll("img").forEach((e=>{const t=a(e.getAttribute("alt"));t&&(K.has(t)||K.set(t,[]),K.get(t).push(e))})),K.has(t)){const r=K.get(t).filter((t=>t!==e));if(r.length>0){const t=e.getAttribute("src"),n=e.closest("a")?.getAttribute("href");if(r.filter((e=>{const r=e.getAttribute("src"),a=e.closest("a")?.getAttribute("href");return!(r===t)&&!(n&&a&&a===n)})).length>0)return!1}}return!0},options:{},metadata:{impact:"warning",messages:{pass:"Image alternative text is not redundant.",fail:"Image alternative text is redundant (matches title, link text, caption, or is duplicated)."}}},Z=e=>{const t=e.querySelectorAll("img");return Array.from(t).filter((e=>!(e=>{const t=window.getComputedStyle(e);return"none"===t.display||"hidden"===t.visibility||null!==e.closest('[aria-hidden="true"]')})(e)))},J=e=>{const t=(e.textContent||"").trim().length>=5,r=null!==e.getAttribute("aria-label")&&""!==e.getAttribute("aria-label"),n=null!==e.getAttribute("title")&&""!==e.getAttribute("title");return t||r||n},Q={id:"linked_image_alt_present",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;if(J(e))return!0;const t=Z(e);return 0===t.length||t.every((e=>{const t=e.hasAttribute("alt"),r=e.getAttribute("role"),n=e.getAttribute("aria-hidden");return t||"presentation"===r||"true"===n}))}},ee={id:"linked_image_alt_not_empty",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;if(J(e))return!0;const t=Z(e);return 0===t.length||t.every((e=>{const t=e.getAttribute("alt"),r=e.getAttribute("role"),n=e.getAttribute("aria-hidden");return"presentation"===r||"true"===n||null!==t&&""!==t.trim()}))}},te={id:"img_alt_long_check",evaluate(e,t={}){const r=e.getAttribute("alt");return!(r&&r.length>t.maxAltLength)},options:{maxAltLength:300}},re={id:"img_alt_empty_check",evaluate(e){const t=e.hasAttribute("alt")&&""===e.getAttribute("alt");return!(!t||"presentation"!==e.getAttribute("role")&&"none"!==e.getAttribute("role"))||(!(!t||"true"!==e.getAttribute("aria-hidden"))||(!(!t||!function(e){const t=e.closest("figure");if(t&&t.querySelector("figcaption"))return!0;const r=e.closest("div.wp-caption");if(r&&r.querySelector(".wp-caption-text"))return!0;const n=e.closest("a");if(n){if(n.hasAttribute("aria-label")&&""!==n.getAttribute("aria-label").trim())return!0;if(n.hasAttribute("title")&&""!==n.getAttribute("title").trim())return!0;const e=n.textContent.trim();if(""!==e&&e.length>5)return!0}return!1}(e))||(!(!t||!function(e){if(e.classList.contains("wp-smiley"))return!0;const t=e.getAttribute("src")||"";if(t.includes("advanced-wp-columns/assets/js/plugins/views/img/1x1-pixel.png"))return!0;if(t.includes("googleads.g.doubleclick.net/pagead/viewthroughconversion"))return!0;return!1}(e))||!t)))}};const ne=["rtf","wpd","ods","odt","odp","sxw","sxc","sxd","sxi","pages","key"],ae={id:"link_points_to_html",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("href")||"";try{const e=new URL(t,document.baseURI).pathname.split("."),r=e.length>1?e.pop().toLowerCase():"";if(ne.includes(r))return!1}catch{return!0}return!0}},oe={id:"link_has_valid_href_or_role",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("href"),r=(e.getAttribute("role")||"").toLowerCase().split(/\s+/);if(r.some((e=>["button","tab"].includes(e))))return!0;const n=e.hasAttribute("aria-expanded");if(r.includes("menuitem")&&n)return!0;const a=t?t.trim():"";if(!t||"#"===a||t.toLowerCase().startsWith("javascript:")||t.toLowerCase().startsWith("data:")||t.toLowerCase().startsWith("file:"))return!1;if(t.includes("://"))try{new URL(t)}catch(e){return!1}return!0}},ie={id:"has_subheadings_if_long_content",evaluate:e=>{if(e!==document.body)return!0;if(e.textContent.replace(/\s+/g," ").trim().split(/\s+/).length<400)return!0;return['h2, [role="heading"][aria-level="2"]','h3, [role="heading"][aria-level="3"]','h4, [role="heading"][aria-level="4"]','h5, [role="heading"][aria-level="5"]','h6, [role="heading"][aria-level="6"]'].map((e=>document.querySelectorAll(e).length)).reduce(((e,t)=>e+t),0)>0}},ue={id:"img_animated",selector:"img[src], iframe[src]",excludeHidden:!1,tags:["wcag2aa","wcag222","cat.sensory-and-visual-cues","best-practice","flashing"],metadata:{description:"Identifies animated images that may require user controls",help:"Animated images (not static GIFs/WebPs) should be limited to less than 5 seconds or provide user controls to pause/stop",impact:"serious",issue:{type:"warning",message:"Animated image content might need controls for accessibility compliance",tips:["Only animated images need controls, static GIFs/WebPs are fine","Limit animations to less than 5 seconds","Add controls to pause/stop animations","Consider using video elements with controls instead of animated GIFs","Avoid flashing content that could trigger seizures"]}},all:[],any:[],none:["img_animated_check"]},se=new o,le={id:"img_animated_check",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=(e.getAttribute("src")||"").toLowerCase();if(se.has(r))return se.get(r);if("iframe"===t){const e=he(r);return se.set(r,e),e}return"img"===t&&((fe(r)||me(r))&&he(r)?(se.set(r,!0),!0):(se.set(r,!1),!1))}};function ce(e){const t=new Uint8Array(e);return function(e){const t=String.fromCharCode(...e.slice(0,6));return"GIF89a"===t||"GIF87a"===t}(t)?function(e){let t=13,r=0;if(de(e[10])){const r=pe(e[10]);t+=3*Math.pow(2,r+1)}for(;t<e.length;){const n=e[t];if(33===n){if(249===e[t+1]&&(r++,r>1))return!0;t+=2;let n=e[t];for(;0!==n;)t+=n+1,n=e[t];t++}else if(44===n){if(t+=10,de(e[t-1])){const r=pe(e[t-1]);t+=3*Math.pow(2,r+1)}t++;let r=e[t];for(;0!==r;)t+=r+1,r=e[t];t++}else{if(59===n)break;t++}}return!1}(t):!!function(e){const t=String.fromCharCode(...e.slice(0,4)),r=String.fromCharCode(...e.slice(8,12));return"RIFF"===t&&"WEBP"===r}(t)&&function(e){for(let t=12;t<e.length-4;t++)if(65===e[t]&&78===e[t+1]&&73===e[t+2]&&77===e[t+3])return!0;return!1}(t)}function de(e){return 1===Math.floor(e/128)}function pe(e){return e%8}const fe=e=>e.endsWith(".gif")||e.includes(".gif?")||e.includes(".gif#")||e.endsWith("%2egif")||e.includes("%2egif?")||e.includes("%2egif#")||e.includes("format=gif")||e.includes("type=gif")||e.includes("filetype=gif")||e.startsWith("data:image/gif"),me=e=>e.endsWith(".webp")||e.includes(".webp?")||e.includes(".webp#")||e.endsWith("%2ewebp")||e.includes("%2ewebp?")||e.includes("%2ewebp#")||e.includes("format=webp")||e.includes("type=webp")||e.includes("filetype=webp")||e.startsWith("data:image/webp"),he=e=>["giphy.com","tenor.com","gfycat.com","imgur.com/a/","media.discordapp.net"].some((t=>e.includes(t))),ge=[{id:"color_contrast_failure",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT"],actIds:["afw4f7","09o5cg"],metadata:{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},all:[],any:["color-contrast"],none:[]},{id:"underlined_text",excludeHidden:!1,selector:'*:not(a):not([role="link"]):not(a *):not([role="link"] *)',metadata:{description:"Text elements should not be underlined unless they are links."},all:[],none:["element_with_underline","element_is_u_tag"]},{id:"possible_heading",selector:"p",matches:e=>!e.closest("blockquote, figcaption, td"),excludeHidden:!1,tags:["wcag2a","wcag131","wcag241","cat.semantics"],metadata:{description:"Headings should be used to convey the structure of the page, not styled paragraphs",help:"Paragraphs should not be styled to look like headings. Use the appropriate heading tag instead."},all:[],any:[],none:["paragraph_styled_as_header"]},{id:"empty_paragraph_tag",selector:"p",excludeHidden:!1,tags:["cat.text","best-practices"],impact:"moderate",metadata:{description:"Detects empty paragraph tags",help:"Paragraphs should not be used for layout purposes and should never be empty"},all:[],any:["paragraph_not_empty"],none:[]},{id:"text_small",impact:"moderate",selector:"p, span, small, strong, b, i, h1, h2, h3, h4, h5, h6, a, label, button, th, td, li, div, blockquote, address, cite, code, pre, q, s, sub, sup, u, var, abbr, acronym, del, dfn, em, ins, kbd, input, select, textarea, caption, dl, dt, dd, li, figure, figcaption, details, dialog, summary, data, time",matches:e=>e.textContent.trim().length,tags:["wcag2aaa","wcag144","wcag148","cat.text"],metadata:{description:"Text elements should not be too small."},all:[],any:[],none:["text_size_too_small"]},s,{id:"link_blank",selector:'a[target="_blank"]',excludeHidden:!1,tags:["cat.custom","wcag2aaa","wcag322","wcag325"],metadata:{description:"Links that open in a new tab should inform the user.",help:"Links that open in a new tab should inform the user. This is important for users who rely on screen readers, as they may not realize that a new tab has opened."},all:[],any:[],none:["link_target_blank_without_informing"]},{id:"link_ambiguous_text",enabled:!0,selector:"a",excludeHidden:!1,tags:["cat.text","best-practices"],metadata:{description:"Detects ambiguous link text",help:"Links should have descriptive text to help users understand their purpose."},any:[],all:[],none:["has_ambiguous_text"]},{id:"link_pdf",selector:'a[href$=".pdf"], a[href$=".PDF"], a[href*=".pdf?"], a[href*=".PDF?"], a[href*=".pdf#"], a[href*=".PDF#"]',excludeHidden:!1,tags:["cat.custom"],metadata:{description:"Links to PDFs typically should be checked."},all:[],any:["always-fail"],none:[]},b,{id:"broken_skip_anchor_link",selector:'a[href^="#"]:not([href="#"]):not([role="button"])',tags:["wcag2a","wcag131","wcag241","custom"],metadata:{description:"Check if the skip anchor link is broken or missing its target."},all:[],any:["anchor_exists"],none:[]},{id:"label",impact:"critical",selector:"input, textarea",matches:(e,t)=>{if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;const r=t.attr("type").toLowerCase();return!1===["hidden","button","submit","reset"].includes(r)},tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],metadata:{description:"Ensure every form element has a label",help:"Form elements must have labels"},all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby","non-empty-title","presentational-role","image_input_has_alt"],none:["hidden-explicit-label"]},{id:"missing_table_header",selector:"table",excludeHidden:!1,tags:["wcag2a","wcag131","cat.structure"],metadata:{description:"Tables must have header cells to convey data relationships",help:"Ensure that tables use <th> elements with text or appropriate scope attributes",impact:"serious"},all:[],any:["table_has_headers"],none:[]},{id:"empty_heading_tag",selector:"h1, h2, h3, h4, h5, h6",metadata:{description:"Ensures headings have discernible text",help:"Headings must have discernible text",helpUrl:"https://a11ychecker.com/help1957"},tags:["wcag2a","best-practice"],all:[],any:["heading_is_empty"],none:[]},{id:"missing_transcript",selector:"audio, video, iframe, a[href]",excludeHidden:!1,tags:["wcag2a","wcag122","cat.time-and-media"],metadata:{description:"Media content should be accompanied by a text transcript",help:"Ensure audio or video content includes a nearby transcript or transcript link",impact:"serious"},all:[],any:["has_transcript"],none:[]},{id:"empty_button",excludeHidden:!1,selector:'button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"]',tags:["accessibility","wcag2a","wcag2aa"],metadata:{description:"Ensures buttons have accessible labels or content.",help:"Buttons must have accessible text, aria-label, or title attributes.",helpUrl:"https://a11ychecker.com/help1960"},any:[],all:[],none:["button_is_empty"]},{id:"slider_present",selector:"[class], [data-jssor-slider], [data-layerslider-uid]",excludeHidden:!1,tags:["cat.structure"],metadata:{description:"Identifies presence of slider/carousel components that may require accessibility improvements",help:"Sliders and carousels must be keyboard accessible and provide appropriate navigation controls",impact:"moderate"},all:[],any:["slider_detected"],none:[]},{id:"video_present",selector:"video, iframe, object, source, [src]:not(script), [role]",excludeHidden:!1,tags:["wcag2a","wcag121","wcag122","wcag123","cat.time-and-media","cat.sensory"],metadata:{description:"Identifies presence of video content that may require accessibility features",help:"Video content should have appropriate alternatives like captions and audio descriptions",impact:"serious"},all:[],any:[],none:["is_video_detected"]},{id:"empty_link",selector:"a[href]",tags:["wcag2a","wcag2.4.4","wcag4.1.2"],metadata:{description:"Ensures links have discernible text",help:"Links must have discernible text",helpUrl:"https://a11ychecker.com/help4108"},any:[],all:[],none:["link-is-empty"]},{id:"long_description_invalid",selector:"img[longdesc]",tags:["wcag2a","wcag131","cat.text-alternatives"],metadata:{description:"Checks that longdesc attributes are valid and do not point to images.",help:"longdesc should link to a non-image resource with a detailed description",impact:"moderate"},all:[],any:["longdesc_valid"],none:[]},{id:"empty_table_header",selector:'th, [role="columnheader"], [role="rowheader"]',excludeHidden:!1,tags:["wcag2a","wcag1.3.1","wcag4.1.2"],metadata:{description:"Ensures table headers have discernible text",help:"Table headers must have discernible text",helpUrl:"https://a11ychecker.com/help4109"},any:[],all:[],none:["table_header_is_empty"]},{id:"img_alt_missing",selector:'img, input[type="image"]',excludeHidden:!0,any:[],all:[],none:["img_alt_missing_check"],tags:["wcag1a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures images have alt text",help:"Images must have an alt attribute",helpUrl:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html"}},{id:"img_alt_invalid",selector:"img",excludeHidden:!0,any:[],all:["img_alt_invalid_check"],none:[],tags:["wcag1a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures images have valid alternative text",help:"Images must have meaningful alt text rather than filenames or generic text",helpUrl:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html"}},{id:"img_alt_redundant",selector:"img, figure img",any:["img_alt_redundant_check"],none:[],tags:["duplicate","redundant","accessibility"],metadata:{description:"Checks for redundant alternative text on images, including duplicate alt text across images; alt text matching title, link text or figcaption.",help:"Ensure that each image has unique, meaningful alt text that does not duplicate related text (such as its title, associated link text, or accompanying caption).",helpUrl:"https://a11ychecker.com/help1976"}},{id:"img_linked_alt_missing",selector:"a",tags:["wcag2a","wcag111","cat.text-alternatives"],metadata:{description:"Checks that linked images have meaningful alternative text.",help:"Linked images must have alternative text describing link purpose.",impact:"serious"},all:[],any:["linked_image_alt_present"],none:[]},{id:"img_linked_alt_empty",selector:"a",tags:["wcag2a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures linked images do not have empty alt text",help:"Linked images must have meaningful alternative text describing the link purpose",impact:"serious"},all:[],any:["linked_image_alt_not_empty"],none:[]},{id:"img_alt_long",selector:"img[alt]",excludeHidden:!0,tags:["cat.text-alternatives","wcag1a","wcag111"],all:[],any:["img_alt_long_check"],none:[],metadata:{description:"Ensures images do not have excessively long alt text",help:"Image alt text should be concise and not exceed 300 characters"}},{id:"img_alt_empty",selector:'img[alt=""], input[type="image"][alt=""]',excludeHidden:!0,tags:["cat.text-alternatives","wcag1a","wcag111"],all:[],any:["img_alt_empty_check"],none:[],metadata:{description:'Ensures images with attributes alt="" are not used when they require alternative text',help:"Images with empty alt attributes must be decorative or already described in context"}},{id:"link_non_html_file",selector:"a[href]",tags:["best-practice","cat.structure"],metadata:{description:"Links to non-HTML documents should be clearly labeled or avoided.",help:"Avoid linking to non-HTML documents without warnings or alternatives.",impact:"moderate"},all:[],any:["link_points_to_html"],none:[]},{id:"link_improper",selector:"a",tags:["wcag2a","wcag412","cat.structure"],metadata:{description:"Links must have a meaningful href or an appropriate role if used as buttons.",help:'Avoid using <a> tags without href or with href="#" unless role="button" is used.',impact:"serious"},all:[],any:["link_has_valid_href_or_role"],none:[]},{id:"missing_headings",selector:"body",tags:["wcag2a","best-practice"],all:[],any:["has_subheadings_if_long_content"],none:[],metadata:{description:"Ensures long content has appropriate heading structure",help:"Content with more than 400 words should contain headings to improve readability and structure"}},ue,{id:"aria_hidden_validation",selector:'[aria-hidden="true"]',excludeHidden:!1,tags:["wcag2a","wcag131","cat.aria","cat.semantics"],metadata:{description:'Ensures elements with aria-hidden="true" are used appropriately',help:'Elements with aria-hidden="true" should not hide important content that is unavailable elsewhere',impact:"serious"},all:[],any:["aria_hidden_valid_usage"],none:[]},{id:"aria_broken_reference",selector:"[aria-labelledby], [aria-describedby], [aria-owns]",excludeHidden:!0,tags:[],metadata:{description:"Ensures ARIA attributes reference existing elements",help:"ARIA attributes that reference other elements must point to elements that exist in the DOM",impact:"critical"},all:[],any:["aria_label_not_found","aria_describedby_not_found","aria_owns_not_found"],none:[]}],ve=[{id:"always-fail",metadata:{impact:"critical",messages:{pass:"This test passed.",fail:"This test failed."}},evaluate:()=>!1},t,e,i,r,u,l,p,g,v,{id:"image_input_has_alt",evaluate:e=>("input"!==e.tagName.toLowerCase()||"image"===e.type)&&""!==e.getAttribute("alt")?.trim()},w,F,C,R,T,O,B,L,q,z,V,Y,X,Q,ee,{...te,options:{maxAltLength:window?.scanOptions?.maxAltLength||te.options.maxAltLength}},re,ae,oe,ie,le,x,E,A],be=["meta-viewport","blink","marquee","document-title","tabindex","html-lang-valid","html-has-lang","form-field-multiple-labels","heading-order","frame-title","area-alt"],ye=ge.map((e=>e.id)),we=["#wpadminbar",".edac-panel-container","#query-monitor-main","#qm-icon-container"];let De;const xe=["MAIN","HEADER","FOOTER","NAV","ASIDE"],Ee=["main","navigation","banner","contentinfo","complementary"],Ae=["SECTION","ARTICLE","FORM"],Fe=["region","article","form"];function Ce(e){if(!e)return null;if(e.id)return`#${e.id}`;const t=e.tagName.toLowerCase();if("main"===t){if(1===document.querySelectorAll("main").length)return"main"}if(("header"===t||"footer"===t)&&e.parentElement===document.body)return t;if("nav"===t||"navigation"===e.getAttribute("role")){if(1===document.querySelectorAll('nav, [role="navigation"]').length)return"nav"===t?"nav":'[role="navigation"]';if(e.hasAttribute("aria-label")){return`${"nav"===t?"nav":'[role="navigation"]'}[aria-label="${e.getAttribute("aria-label")}"]`}}const r=e.getAttribute("role");if(r&&Ee.includes(r)){if(1===document.querySelectorAll(`[role="${r}"]`).length)return`[role="${r}"]`;if(e.hasAttribute("aria-label")){return`[role="${r}"][aria-label="${e.getAttribute("aria-label")}"]`}}const n=[];let a=e;for(;a&&a.nodeType===Node.ELEMENT_NODE&&a!==document.body;){let e=a.nodeName.toLowerCase();if(a.id){e=`#${a.id}`,n.unshift(e);break}if(a.className){const t=a.className.trim().split(/\s+/).map((e=>CSS.escape(e))).filter((e=>!e.match(/^(wp-|js-|css-|generated-|dynamic-)/))).slice(0,2);t.length>0&&(e+=`.${t.join(".")}`)}if(!a.id&&!a.className){e+=`:nth-child(${Array.from(a.parentNode.children).indexOf(a)+1})`}if(n.unshift(e),a=a.parentElement,n.length>=4)break}return n.length?n.join(" > "):null}const ke=document.querySelector("body"),Ne=ke.getAttribute("data-iframe-id"),Re=ke.getAttribute("data-iframe-event-name"),_e=ke.getAttribute("data-iframe-post-id");const Te=async(e={configOptions:{},runOptions:{}})=>{const t={exclude:we},r={configOptions:{reporter:"raw",rules:ge,checks:ve,iframes:!1},resultTypes:["violations","incomplete"],runOptions:{runOnly:{type:"rule",values:[...be,...ye]}}},n=Object.assign(r.configOptions,e.configOptions);axe.configure(n);const a=Object.assign(r.runOptions,e.runOptions);return a?.runOnly?.values?.includes(ue.id)&&await async function(e=5e3){const t=document.querySelectorAll("img[src]");for(const r of t){const t=r.getAttribute("src")||"",n=t.toLowerCase();if(!se.has(n)){if(fe(n)||me(n))try{const r=new AbortController,a=setTimeout((()=>r.abort()),e);let o;try{o=await fetch(t,{mode:"cors",signal:r.signal})}finally{clearTimeout(a)}if(o.ok){const e=ce(await o.arrayBuffer());se.set(n,e);continue}}catch(e){se.set(n,he(n));continue}se.set(n,he(n))}}return se}(),await axe.run(t,a).then((e=>{const t=[];e.forEach((e=>{e.violations.forEach((r=>{"failed"===r.result&&t.push(Me(r,e))})),"form-field-multiple-labels"===e.id&&e.incomplete.forEach((r=>{t.push(Me(r,e))}))}));const r=e.map((e=>({id:e.id,description:e.description,help:e.help,impact:e.impact,tags:e.tags})));return t.sort((function(e,t){return(e=document.querySelector(e.selector))===(t=document.querySelector(t.selector))?0:2&e.compareDocumentPosition(t)?1:-1})),{rules:e,rulesMin:r,violations:t}})).catch((e=>{throw e}))};function Se(e,t,r){const[n,a]=function(e=document.body){if(!e)return[0,0];const t=e.cloneNode(!0);return[...we,"style","script"].forEach((e=>{t.querySelectorAll(e).forEach((e=>e.remove()))})),[t.getElementsByTagName("*").length,(t.textContent||"").replace(/[^A-Za-z0-9]/g,"").length]}(ke),o=new CustomEvent(Re,{detail:{iframeId:Ne,postId:_e,violations:e,errorMsgs:t,error:r,densityMetrics:{elementCount:n,contentLength:a}},bubbles:!1});top.dispatchEvent(o)}const Oe=(e=[],t=[],r=!1)=>{clearTimeout(De),void 0!==axe.cleanup?axe.cleanup((function(){axe.teardown(),axe=null,Se(e,t,"")}),(function(){axe.teardown(),axe=null,t.push("***** axe.cleanup() failed."),Se(e,t,"cleanup-failed")})):(t.push("***** axe.cleanup() does not exist."),axe=null,Se(e,t,"cleanup-not-exists"))};if(window.runAccessibilityScan=async function(e={}){return Te(e).then((t=>("function"==typeof e.onComplete&&e.onComplete(t),t))).catch((t=>{throw"function"==typeof e.onComplete&&e.onComplete(null,t),t}))},ke&&ke.hasAttribute("data-iframe-id")&&ke.hasAttribute("data-iframe-event-name")){const e={configOptions:{},runOptions:{},iframeId:ke.getAttribute("data-iframe-id"),eventName:ke.getAttribute("data-iframe-event-name"),postId:ke.getAttribute("data-iframe-post-id")};De=setTimeout((()=>{Se([],["Scan timed out"],"timeout")}),3e4),Te(e).then((e=>Oe(e.violations,[],null))).catch((e=>Oe([],[e.message||"Unknown error"],e.message)))}function Me(e,t){const r=e.node.selector,n=function(e){const t=document.querySelector(e);if(!t)return{type:null,selector:null};let r=t;for(;r&&r!==document.body;){if(xe.includes(r.tagName))return{type:r.tagName.toLowerCase(),selector:Ce(r)};if(Ae.includes(r.tagName)&&(r.hasAttribute("aria-label")||r.hasAttribute("aria-labelledby")))return{type:r.tagName.toLowerCase(),selector:Ce(r)};if(r.hasAttribute("role")){const e=r.getAttribute("role").toLowerCase();if(Ee.includes(e))return{type:e,selector:Ce(r)};if(Fe.includes(e)&&(r.hasAttribute("aria-label")||r.hasAttribute("aria-labelledby")))return{type:e,selector:Ce(r)}}r=r.parentElement}return{type:null,selector:null}}(r),a=e.node.ancestry||[],o=e.node.xpath||[],i=document.querySelector(r)?.outerHTML;return{selector:r,ancestry:a,xpath:o,html:i,ruleId:t.id,impact:t.impact,tags:t.tags,landmark:n.type,landmarkSelector:n.selector}}})()})(); -
accessibility-checker/tags/1.37.0/build/pageScanner.bundle.js.LICENSE.txt
r3025920 r3448940 1 /*! axe v4. 8.22 * Copyright (c) 2015 - 202 3Deque Systems, Inc.1 /*! axe v4.11.1 2 * Copyright (c) 2015 - 2026 Deque Systems, Inc. 3 3 * 4 4 * Your use of this Source Code Form is subject to the terms of the Mozilla Public -
accessibility-checker/tags/1.37.0/changelog.txt
r3425603 r3448940 1 1 *** Accessibility Checker *** 2 2 3 2025-15-22 - version 1.36.0 3 2026-01-23 - version 1.37.0 4 * Fix - Duplicate markup on the page can now be properly identified as an issue. 5 * Fix - Restrict global ignore management link and fix button label span closure. 6 * Fix - Update database schema to use selector as unique identifier for issues. 7 * Enhanced - Frontend issue matching with stable selectors and DOM ordering. 8 * Enhanced - Better handling of frontend highlighter positioning. 9 * Improved - More accurate restoration of styles after deactivating them in frontend highlighter. 10 * Improved - When closing frontend highlighter it won't re-render unless needed. 11 12 2025-12-15 - version 1.36.0 4 13 * Fix - passed tests percentage logic now accounts times no posts are scanned 5 14 * Fix - don't prevent scan speed saving when pro plugin is enabled. -
accessibility-checker/tags/1.37.0/includes/classes/class-rest-api.php
r3356312 r3448940 265 265 * @return string 266 266 */ 267 public function filter_js_validation_html( string $html, string $rule_id, array $violation ): string { 268 // Add the selector to the violation message as empty paragraphs are almost always 269 // duplicate html fragments. Adding the selector makes it unique, so it can be saved. 270 if ( 'empty_paragraph_tag' === $rule_id ) { 271 $html .= $violation['selector'][0] 272 ? '// {{ ' . $violation['selector'][0] . ' }}' 273 : ''; 274 } 275 267 public function filter_js_validation_html( string $html, string $rule_id, array $violation ): string { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed, VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- the variable was used previously and will be used in future most likely. 276 268 // Use just the opening <html> and closing </html> tag, prevents storing entire page as the affected code. 277 269 if ( 'html-has-lang' === $rule_id || 'document-title' === $rule_id ) { -
accessibility-checker/tags/1.37.0/readme.txt
r3425603 r3448940 4 4 Requires at least: 6.6 5 5 Tested up to: 6.9 6 Stable tag: 1.3 6.06 Stable tag: 1.37.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 212 212 == Changelog == 213 213 214 2025-15-22 - version 1.36.0 214 2026-01-23 - version 1.37.0 215 * Fix - Duplicate markup on the page can now be properly identified as an issue. 216 * Fix - Restrict global ignore management link and fix button label span closure. 217 * Fix - Update database schema to use selector as unique identifier for issues. 218 * Enhanced - Frontend issue matching with stable selectors and DOM ordering. 219 * Enhanced - Better handling of frontend highlighter positioning. 220 * Improved - More accurate restoration of styles after deactivating them in frontend highlighter. 221 * Improved - When closing frontend highlighter it won't re-render unless needed. 222 223 2025-12-15 - version 1.36.0 215 224 * Fix - passed tests percentage logic now accounts times no posts are scanned 216 225 * Fix - don't prevent scan speed saving when pro plugin is enabled. … … 229 238 * Tweak - Use WordPress data functions instead of server time for ignore date formatting. 230 239 231 2025-10-22 - version 1.34.0232 * Tweak - Missing transcript can now detect transcripts for videos when they are not just direct siblings.233 * Tweak - Use post type labels rather than slugs in views where applicable.234 * Tweak - Prepare for sale event during Black Friday.235 236 2025-09-26 - version 1.33.0237 * Add - WP-CLI commands can now be run with short names: `wp edac <command>` or using long name `wp accessibility-checker <command>`.238 * Tweak - Made it easier to register custom commands through filter.239 240 2025-09-18 - version 1.32.0241 * Fix - Improved highlighter behavior to maintain original size and position of scanned elements.242 * Fix - Identify out-of-sequence headings.243 * Fix - Identify missing title attributes.244 * Fix - Correctly assess alternative text requirements for image map areas.245 * Tweak - Implemented additional security measures for input validation and data sanitization.246 247 240 Older versions can be found in the plugins `changelog.txt`. -
accessibility-checker/tags/1.37.0/vendor/composer/installed.php
r3425603 r3448940 2 2 'root' => array( 3 3 'name' => 'equalizedigital/accessibility-checker', 4 'pretty_version' => 'v1.3 6.0',5 'version' => '1.3 6.0.0',6 'reference' => ' 0a04f4ab2fd6118eada4d81331aa38dd8e842008',4 'pretty_version' => 'v1.37.0', 5 'version' => '1.37.0.0', 6 'reference' => '1cbcfbf9b75f76bee2bce7105167aa858021a5ee', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 32 32 ), 33 33 'equalizedigital/accessibility-checker' => array( 34 'pretty_version' => 'v1.3 6.0',35 'version' => '1.3 6.0.0',36 'reference' => ' 0a04f4ab2fd6118eada4d81331aa38dd8e842008',34 'pretty_version' => 'v1.37.0', 35 'version' => '1.37.0.0', 36 'reference' => '1cbcfbf9b75f76bee2bce7105167aa858021a5ee', 37 37 'type' => 'library', 38 38 'install_path' => __DIR__ . '/../../', -
accessibility-checker/trunk/accessibility-checker.php
r3425603 r3448940 11 11 * Plugin URI: https://a11ychecker.com 12 12 * Description: Audit and check your website for accessibility before you hit publish. In-post accessibility scanner and guidance. 13 * Version: 1.3 6.013 * Version: 1.37.0 14 14 * Requires PHP: 7.4 15 15 * Author: Equalize Digital … … 37 37 // Current plugin version. 38 38 if ( ! defined( 'EDAC_VERSION' ) ) { 39 define( 'EDAC_VERSION', '1.3 6.0' );39 define( 'EDAC_VERSION', '1.37.0' ); 40 40 } 41 41 42 42 // Current database version. 43 43 if ( ! defined( 'EDAC_DB_VERSION' ) ) { 44 define( 'EDAC_DB_VERSION', '1.0. 4' );44 define( 'EDAC_DB_VERSION', '1.0.5' ); 45 45 } 46 46 -
accessibility-checker/trunk/admin/class-ajax.php
r3412475 r3448940 541 541 $html .= ( true === $ignore_permission || ! empty( $ignore_comment ) ) ? '<textarea rows="4" class="edac-details-rule-records-record-ignore-comment" id="edac-details-rule-records-record-ignore-comment-' . $id . '" ' . $ignore_comment_disabled . '>' . $ignore_comment . '</textarea>' : ''; 542 542 543 if ( $ignore_global ) {544 $html .= ( true === $ignore_permission ) ? '<a href="' . admin_url( 'admin.php?page=accessibility_checker_ignored&tab=global' ) . '" class="edac-details-rule-records-record-ignore-global"> Manage Globally Ignored</a>' : '';543 if ( $ignore_global && edac_is_pro() ) { 544 $html .= ( true === $ignore_permission ) ? '<a href="' . admin_url( 'admin.php?page=accessibility_checker_ignored&tab=global' ) . '" class="edac-details-rule-records-record-ignore-global">' . __( 'Manage Globally Ignored', 'accessibility-checker' ) . '</a>' : ''; 545 545 } else { 546 $html .= ( true === $ignore_permission ) ? '<button class="edac-details-rule-records-record-ignore-submit" data-id= ' . $id . ' data-action=' . $ignore_action . ' data-type=' . $ignore_type . '>' . EDAC_SVG_IGNORE_ICON . ' <span class="edac-details-rule-records-record-ignore-submit-label">' . $ignore_submit_label . '<span></button>' : '';546 $html .= ( true === $ignore_permission ) ? '<button class="edac-details-rule-records-record-ignore-submit" data-id="' . $id . '" data-action="' . $ignore_action . '" data-type="' . $ignore_type . '">' . EDAC_SVG_IGNORE_ICON . ' <span class="edac-details-rule-records-record-ignore-submit-label">' . $ignore_submit_label . '</span></button>' : ''; 547 547 } 548 548 -
accessibility-checker/trunk/admin/class-frontend-highlight.php
r3356312 r3448940 62 62 $post_id = (int) $post_id; 63 63 $siteid = get_current_blog_id(); 64 $results = $wpdb->get_results( $wpdb->prepare( 'SELECT id, rule, ignre, object, ruletype FROM %i where postid = %d and siteid = %d', $table_name, $post_id, $siteid ), ARRAY_A ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Safe variable used for table name.64 $results = $wpdb->get_results( $wpdb->prepare( 'SELECT id, rule, ignre, object, ruletype, selector, ancestry, xpath FROM %i where postid = %d and siteid = %d', $table_name, $post_id, $siteid ), ARRAY_A ); // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Safe variable used for table name. 65 65 if ( ! $results ) { 66 66 return null; … … 137 137 $array['id'] = $result['id']; 138 138 $array['ignored'] = $result['ignre']; 139 $array['selector'] = $result['selector'] ?? ''; 140 $array['ancestry'] = $result['ancestry'] ?? ''; 141 $array['xpath'] = $result['xpath'] ?? ''; 139 142 140 143 $issues[] = $array; -
accessibility-checker/trunk/admin/class-insert-rule-data.php
r3325683 r3448940 12 12 /** 13 13 * Class for inserting rule data into the database 14 * 15 * The unique identifier for issues changed in version 1.0.5 of the database schema. 16 * Previously, issues were identified by: postid + rule + object + type + siteid 17 * Now, issues are identified by: postid + rule + selector + type + siteid 18 * 19 * This change allows duplicate code objects (e.g., two empty paragraphs) to be 20 * stored as separate issues when they appear in different locations on the page. 21 * The selector field provides the unique location identifier for each issue. 14 22 * 15 23 * @since 1.10.0 … … 74 82 75 83 // Check if exists. 84 // Use selector as the unique identifier instead of object to allow duplicate code objects 85 // with different selectors (e.g., two empty paragraphs in different locations). 76 86 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Using direct query for adding data to database, caching not required for one time operation. 77 87 $results = $wpdb->get_results( 78 88 $wpdb->prepare( 79 'SELECT postid, ignre FROM %i where type = %s and postid = %d and rule = %s and object= %s and siteid = %d',89 'SELECT postid, ignre FROM %i where type = %s and postid = %d and rule = %s and selector = %s and siteid = %d', 80 90 $table_name, 81 91 $rule_data['type'], 82 92 $rule_data['postid'], 83 93 $rule_data['rule'], 84 $rule_data[' object'],94 $rule_data['selector'], 85 95 $rule_data['siteid'] 86 96 ), … … 98 108 99 109 // update existing record. 110 // Use selector for WHERE clause instead of object to match on unique identifier. 100 111 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Using direct query for adding data to database, caching not required for one time operation. 101 112 $wpdb->query( 102 113 $wpdb->prepare( 103 'UPDATE %i SET recordcheck = %d, landmark = %s, landmark_selector = %s, selector = %s, ancestry = %s, xpath = %s, ignre = %d WHERE siteid = %d and postid = %d and rule = %s and object= %s and type = %s',114 'UPDATE %i SET recordcheck = %d, landmark = %s, landmark_selector = %s, object = %s, ancestry = %s, xpath = %s, ignre = %d WHERE siteid = %d and postid = %d and rule = %s and selector = %s and type = %s', 104 115 $table_name, 105 116 1, 106 117 $rule_data['landmark'], 107 118 $rule_data['landmark_selector'], 108 $rule_data[' selector'],119 $rule_data['object'], 109 120 $rule_data['ancestry'], 110 121 $rule_data['xpath'], … … 113 124 $rule_data['postid'], 114 125 $rule_data['rule'], 115 $rule_data[' object'],126 $rule_data['selector'], 116 127 $rule_data['type'] 117 128 ) -
accessibility-checker/trunk/admin/class-update-database.php
r3325920 r3448940 75 75 dbDelta( $sql ); 76 76 77 // Run migration for selector-based unique identifiers if upgrading from older versions. 78 if ( version_compare( $db_version, '1.0.5', '<' ) ) { 79 $this->migrate_to_selector_based_unique_id(); 80 } 77 81 } 78 82 … … 80 84 update_option( 'edac_db_version', sanitize_text_field( EDAC_DB_VERSION ) ); 81 85 } 86 87 /** 88 * Migrate existing records to use selector-based unique identifiers. 89 * 90 * This migration handles records that were created before the selector field 91 * was used as the unique identifier. Records with NULL selectors will have 92 * a fallback identifier generated based on their ID to ensure uniqueness. 93 * 94 * @since 1.0.5 95 * @return void 96 */ 97 private function migrate_to_selector_based_unique_id() { 98 global $wpdb; 99 $table_name = $wpdb->prefix . 'accessibility_checker'; 100 101 // Find records with NULL or empty selectors and update them with a fallback value. 102 // Using the record ID ensures each record has a unique selector for backward compatibility. 103 // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- One-time migration query. 104 $wpdb->query( 105 $wpdb->prepare( 106 "UPDATE %i SET selector = CONCAT('legacy-id-', id) WHERE selector IS NULL OR selector = ''", 107 $table_name 108 ) 109 ); 110 } 82 111 } -
accessibility-checker/trunk/build/css/frontendHighlighterApp.css
r3364125 r3448940 1 @-webkit-keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@keyframes notyf-fadeinup{0%{opacity:0;transform:translateY(25%)}to{opacity:1;transform:translateY(0)}}@-webkit-keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@keyframes notyf-fadeinleft{0%{opacity:0;transform:translateX(25%)}to{opacity:1;transform:translateX(0)}}@-webkit-keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@keyframes notyf-fadeoutright{0%{opacity:1;transform:translateX(0)}to{opacity:0;transform:translateX(25%)}}@-webkit-keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@keyframes notyf-fadeoutdown{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(25%)}}@-webkit-keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}@keyframes ripple{0%{transform:scale(0) translateY(-45%) translateX(13%)}to{transform:scale(1) translateY(-45%) translateX(13%)}}.notyf{align-items:flex-end;box-sizing:border-box;color:#fff;display:flex;flex-direction:column;height:100%;justify-content:flex-end;left:0;padding:20px;pointer-events:none;position:fixed;top:0;width:100%;z-index:9999}.notyf__icon--error,.notyf__icon--success{background:#fff;border-radius:50%;display:block;height:21px;margin:0 auto;position:relative;width:21px}.notyf__icon--error:after,.notyf__icon--error:before{background:currentColor;border-radius:3px;content:"";display:block;height:12px;left:9px;position:absolute;top:5px;width:3px}.notyf__icon--error:after{transform:rotate(-45deg)}.notyf__icon--error:before{transform:rotate(45deg)}.notyf__icon--success:after,.notyf__icon--success:before{background:currentColor;border-radius:3px;content:"";display:block;position:absolute;width:3px}.notyf__icon--success:after{height:6px;left:6px;top:9px;transform:rotate(-45deg)}.notyf__icon--success:before{height:11px;left:10px;top:5px;transform:rotate(45deg)}.notyf__toast{-webkit-animation:notyf-fadeinup .3s ease-in forwards;animation:notyf-fadeinup .3s ease-in forwards;border-radius:2px;box-shadow:0 3px 7px 0 rgba(0,0,0,.25);box-sizing:border-box;display:block;flex-shrink:0;max-width:300px;overflow:hidden;padding:0 15px;pointer-events:auto;position:relative;transform:translateY(25%)}.notyf__toast--disappear{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;transform:translateY(0)}.notyf__toast--disappear .notyf__icon,.notyf__toast--disappear .notyf__message{-webkit-animation:notyf-fadeoutdown .3s forwards;animation:notyf-fadeoutdown .3s forwards;opacity:1;transform:translateY(0)}.notyf__toast--disappear .notyf__dismiss{-webkit-animation:notyf-fadeoutright .3s forwards;animation:notyf-fadeoutright .3s forwards;opacity:1;transform:translateX(0)}.notyf__toast--disappear .notyf__message{-webkit-animation-delay:.05s;animation-delay:.05s}.notyf__toast--upper{margin-bottom:20px}.notyf__toast--lower{margin-top:20px}.notyf__toast--dismissible .notyf__wrapper{padding-right:30px}.notyf__ripple{-webkit-animation:ripple .4s ease-out forwards;animation:ripple .4s ease-out forwards;border-radius:50%;height:400px;position:absolute;right:0;top:0;transform:scale(0) translateY(-51%) translateX(13%);transform-origin:bottom right;width:400px;z-index:5}.notyf__wrapper{align-items:center;border-radius:3px;display:flex;padding-bottom:17px;padding-right:15px;padding-top:17px;position:relative;z-index:10}.notyf__icon{-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.3s;animation-delay:.3s;font-size:1.3em;margin-right:13px;opacity:0;text-align:center;width:22px}.notyf__dismiss{-webkit-animation:notyf-fadeinleft .3s forwards;animation:notyf-fadeinleft .3s forwards;-webkit-animation-delay:.35s;animation-delay:.35s;height:100%;margin-right:-15px;opacity:0;position:absolute;right:0;top:0;width:26px}.notyf__dismiss-btn{background-color:rgba(0,0,0,.25);border:none;cursor:pointer;height:100%;opacity:.35;outline:none;transition:opacity .2s ease,background-color .2s ease;width:100%}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{background:#fff;border-radius:3px;content:"";height:12px;left:calc(50% - 1px);position:absolute;top:calc(50% - 5px);width:2px}.notyf__dismiss-btn:after{transform:rotate(-45deg)}.notyf__dismiss-btn:before{transform:rotate(45deg)}.notyf__dismiss-btn:hover{background-color:rgba(0,0,0,.15);opacity:.7}.notyf__dismiss-btn:active{opacity:.8}.notyf__message{-webkit-animation:notyf-fadeinup .3s forwards;animation:notyf-fadeinup .3s forwards;-webkit-animation-delay:.25s;animation-delay:.25s;line-height:1.5em;opacity:0;position:relative;vertical-align:middle}@media only screen and (max-width:480px){.notyf{padding:0}.notyf__ripple{-webkit-animation-duration:.5s;animation-duration:.5s;height:600px;width:600px}.notyf__toast{border-radius:0;box-shadow:0 -2px 7px 0 rgba(0,0,0,.13);max-width:none;width:100%}.notyf__dismiss{width:56px}}body.edac-app-disable-styles #wpadminbar{display:none!important}body.edac-app-wait *{cursor:wait!important}.edac-highlight,.edac-highlight *{all:unset;letter-spacing:normal!important}.edac-highlight{clear:both;display:inline-block}.edac-highlight-element-selected{outline:4px dashed transparent!important;outline-color:#f0f!important;outline-offset:5px!important}.edac-highlight-element-selected-min-width{display:inline-block!important;min-width:25px!important}.edac-highlight-element-selected-min-height{min-height:16px!important}.edac-highlight-btn{all:unset;border-radius:50%!important;display:block!important;font-size:0!important;height:40px!important;margin:5px!important;position:absolute!important;width:40px!important;z-index:2147483646!important}.edac-highlight-btn-error{background:transparent url(../img/highlight-icon-error.svg) 50% no-repeat!important;background-size:40px 40px!important}.edac-highlight-btn-warning{background:transparent url(../img/highlight-icon-warning.svg) 50% no-repeat!important}.edac-highlight-btn-ignored{background:transparent url(../img/highlight-icon-ignored.svg) 50% no-repeat!important}.edac-highlight-btn-selected,.edac-highlight-btn:focus,.edac-highlight-btn:hover{outline:5px solid rgba(0,208,255,.75)!important}.edac-highlight-panel{bottom:15px!important;max-width:400px!important;position:fixed!important;width:auto;z-index:2147483647!important}@media screen and (max-width:600px){.edac-highlight-panel{max-width:calc(100% - 30px)!important;width:100%}}@media screen and (max-width:375px){.edac-highlight-panel .edac-highlight-panel-controls-buttons{justify-content:space-around}.edac-highlight-panel .edac-highlight-panel-controls-buttons button{margin-right:0!important;padding:4px 7px!important}.edac-highlight-panel .edac-highlight-panel-controls-buttons{display:flex!important;justify-content:space-around}.edac-highlight-panel .edac-highlight-panel-controls-buttons button{margin-right:0!important;padding:4px 7px!important}}.edac-highlight-panel *{all:unset;letter-spacing:normal!important}.edac-highlight-panel a:not(.edac-highlight-panel-description-reference){all:revert!important;color:#fff!important}.edac-highlight-panel--right{right:15px!important}.edac-highlight-panel--left{left:15px!important}.edac-highlight-panel-visible{width:400px!important}.edac-highlight-panel-toggle{background:transparent url(../img/edac-emblem.png) 50% no-repeat!important;background-size:contain!important;border-radius:50%!important;box-shadow:0 0 5px rgba(0,0,0,.5)!important;display:block;height:50px!important;position:relative!important;width:50px!important}.edac-highlight-panel-toggle:focus,.edac-highlight-panel-toggle:hover{cursor:pointer!important;outline:5px solid rgba(0,208,255,.75)!important}@media screen and (max-width:600px){.edac-highlight-panel--right .edac-highlight-panel-toggle{float:right!important}}.edac-highlight-panel-description{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#fff!important;background-color:#072446!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.25)!important;color:#fff!important;display:block;display:none;font-family:sans-serif!important;font-size:14px!important;line-height:22px!important;margin-bottom:15px!important;max-height:calc(100vh - 230px)!important;overflow-y:scroll!important;padding:15px!important;text-align:left!important}.edac-highlight-panel-description-title{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-description-type{border-radius:4px!important;display:inline-block!important;font-size:12px!important;line-height:12px!important;margin-left:10px!important;padding:5px 7px!important;position:relative!important;text-transform:capitalize!important;top:-2px!important}.edac-highlight-panel-description-type-error{background-color:#b30f0f!important;color:#fff!important}.edac-highlight-panel-description-type-warning{background-color:#f3cd1e!important;color:#072446!important}.edac-highlight-panel-description-type-ignored{background-color:#3273aa!important;color:#fff!important}.edac-highlight-panel-description-index{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-description-status{background-color:#b30f0f!important;color:#fff!important;display:block!important;margin-bottom:10px!important;margin-top:10px!important;padding:10px 15px!important}.edac-fix-settings--button--save,.edac-fixes-modal--open .edac-fix-settings--button--save,.edac-highlight-panel-description--button,.edac-highlight-panel-description-code-button,.edac-highlight-panel-description-reference{all:unset;background-color:#f3cd1e!important;color:#072446!important;display:inline-block!important;margin-right:10px!important;margin-top:10px!important;padding:4px 10px!important}.edac-fix-settings--button--save:focus,.edac-fix-settings--button--save:hover,.edac-highlight-panel-description--button:focus,.edac-highlight-panel-description--button:hover,.edac-highlight-panel-description--button[aria-expanded=true],.edac-highlight-panel-description-code-button:focus,.edac-highlight-panel-description-code-button:hover,.edac-highlight-panel-description-code-button[aria-expanded=true],.edac-highlight-panel-description-reference:focus,.edac-highlight-panel-description-reference:hover,.edac-highlight-panel-description-reference[aria-expanded=true],[aria-expanded=true].edac-fix-settings--button--save{background-color:#fff!important;color:#072446!important;cursor:pointer!important;text-decoration:none!important}.edac-highlight-panel-description-reference{text-decoration:none!important}.edac-highlight-panel-description-code{background-color:#fff!important;color:#000!important;display:block;display:none;margin-top:10px!important;padding:10px 15px!important}.edac-highlight-panel-description-close{background-color:#f3cd1e!important;color:#072446!important;font-size:18px!important;height:25px!important;line-height:25px!important;position:absolute!important;right:1px!important;text-align:center!important;top:1px!important;width:25px!important}.edac-highlight-panel-description-close:focus,.edac-highlight-panel-description-close:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-description-summary{display:block}.edac-highlight-panel-description-how-to-fix{display:inline-block;margin-bottom:0!important}.edac-highlight-panel-description-how-to-fix-title{display:block;font-weight:700!important;margin-bottom:5px!important;margin-top:10px!important}.edac-highlight-panel-controls{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#3273aa!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.15)!important;color:#fff!important;display:block;display:none;font-family:sans-serif!important;font-size:14px!important;line-height:22px!important;padding:15px!important;position:relative!important}.edac-highlight-panel-controls-title{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-controls-close{background-color:#f3cd1e!important;color:#072446!important;font-size:18px!important;height:25px!important;line-height:25px!important;position:absolute!important;right:0!important;text-align:center!important;top:0!important;width:25px!important}.edac-highlight-panel-controls-close:focus,.edac-highlight-panel-controls-close:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-controls-summary{display:block!important}.edac-highlight-panel-controls-buttons.single_button{display:grid!important;grid-template-columns:repeat(2,1fr)!important}.edac-highlight-panel-controls-buttons button{all:unset;background-color:#072446!important;color:#fff!important;display:inline-block!important;margin-right:10px!important;margin-top:10px!important;padding:4px 10px!important;text-decoration:none!important}.edac-highlight-panel-controls-buttons button:focus,.edac-highlight-panel-controls-buttons button:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-controls-buttons button:disabled{display:none!important}.edac-highlight-panel-controls .edac-highlight-disable-styles{float:right!important;margin-right:0!important}.notyf{z-index:2147483647!important}.notyf__toast{max-width:100%!important}.notyf__message{color:#000}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{background:#000!important}.edac-accessibility-statement{margin:auto;max-width:800px;padding:15px;text-align:center}.edac-fixes-modal *{all:unset}.always-hide{display:none!important}.edac-highlight-panel .edac-fix-settings--fields input,.edac-highlight-panel .edac-fix-settings--fields select,.edac-highlight-panel .edac-fix-settings--fields textarea{all:revert}.edac-fix-modal-present #TB_ajaxContent{height:auto!important;max-height:70vh!important;overflow-y:auto;width:auto!important}.edac-fix-settings--fields{display:none!important}.edac-fix-settings--open .edac-fix-settings--fields{display:block!important}.edac-fix-settings--fields label{display:block;margin-bottom:1rem}.edac-fix-settings--fields input,.edac-fix-settings--fields select,.edac-fix-settings--fields textarea{border:1px solid #ccc;border-radius:5px;margin:.25rem 0;padding:.5rem;width:100%}.edac-fix-settings--fields input[type=checkbox]{border:1px solid #ccc;border-radius:5px;margin:0 .5rem 0 0;padding:0!important;width:auto}.edac-fix-settings--fields input[type=checkbox]:before{content:none}.edac-fix-settings--fields input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");height:1.3125rem;margin:-.1875rem -.25rem 0;width:1.3125rem}.edac-fix-settings--fields input[type=text]{padding:.25rem .5rem}#TB_ajaxContent .edac-fix-settings--fields{display:block!important}#TB_ajaxContent .edac-fix-settings--action-row{display:flex!important}#TB_ajaxContent .edac-fix-settings .modal-opening-message{margin-bottom:0;padding:0}.edac-highlight-panel .edac-fix-settings--fields{background:#222;padding:10px}.edac-fix-settings--action-row{align-items:center;display:flex;gap:.5rem;margin-top:1rem}.edac-fix-settings--button--save{background:blue;color:#fff;padding:5px 8px}.edac-fix-settings--button--save:focus,.edac-fix-settings--button--save:hover{background:#072446!important;color:#fff!important}.edac-fix-settings--button--save :focus{outline:2px solid #000!important;outline-offset:2px!important}.edac-fix-settings--notice-slot{margin:.25rem}.edac-fixes-modal{background:#fff;border-radius:5px;box-shadow:0 0 10px 0 rgba(0,0,0,.1);left:50%;max-height:90vh;overflow:auto;padding:20px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:10000000001}.edac-fixes-modal .dashicons,.edac-fixes-modal .dashicons-before:before{speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;height:20px;line-height:1;text-align:center;text-decoration:inherit;text-rendering:auto;text-transform:none;transition:color .1s ease-in;vertical-align:top;width:20px}.edac-fixes-modal__overlay{background-color:rgba(0,0,0,.69);display:none;height:100vh;left:0;position:fixed;top:0;width:100%;z-index:10000000000}.edac-fixes-modal__header{margin-bottom:.5rem}.edac-fixes-modal__header h2{align-self:center;display:block;font-size:1.25rem;font-weight:600;margin-bottom:0}.edac-fixes-modal h3{display:block;font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.edac-fixes-modal__close{border:none;color:#072446;cursor:pointer;height:35px;position:absolute;right:5px;top:5px;width:35px}.edac-fixes-modal__close .dashicons,.edac-fixes-modal__close .dashicons:before{color:#072446!important;display:block;margin:auto;vertical-align:middle}.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{background-color:#f3cd1e;color:#072446}body.edac-fixes-modal--open{overflow:hidden}body.edac-fixes-modal--open .edac-fixes-modal,body.edac-fixes-modal--open .edac-fixes-modal__overlay{display:block}.edac-fix-description-help-link .dashicons-info{color:#737373;text-decoration:none}.edac-fix-description-help-link .dashicons-info:hover{cursor:pointer}.edac-fix-description-help-link .dashicons-info :focus{outline:revert;outline-offset:revert}.edac-fix--upsell-link,.edac-setting--upsell-link{background:#f3cd1e;border-radius:18px;color:#072446;display:inline-block;font-size:.75rem;font-weight:600;line-height:1;padding:4px 8px;text-decoration:none}.edac-fix--upsell-link:focus,.edac-fix--upsell-link:hover,.edac-setting--upsell-link:focus,.edac-setting--upsell-link:hover{color:#072446;text-decoration:underline}.edac-fix--upsell-link:focus,.edac-setting--upsell-link:focus{outline:revert!important;outline-offset:revert!important}.hide-fixes-source,body.block-editor-page .hide-in-editor{display:none}body.block-editor-page .modal-opening-message{margin:0;padding:0}.edac-fixes-modal{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#fff!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.25)!important;color:#000!important;display:none;font-family:sans-serif!important;font-size:14px!important;letter-spacing:normal!important;line-height:22px!important;margin-bottom:15px!important;max-height:calc(100vh - 230px)!important;overflow-y:auto!important;padding:40px!important;text-align:left!important;width:650px}@media screen and (max-width:768px){.edac-fixes-modal{max-width:calc(100% - 30px)!important;padding:20px!important;width:100%!important}}.edac-fixes-modal h2{font-size:1.25em;margin:0 0 .75em}.edac-fixes-modal h3{font-size:1.1em;margin-bottom:.5em}.edac-fixes-modal label{margin-bottom:.75em}.edac-fixes-modal__header{margin-bottom:.25em}.edac-fixes-modal__close,.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{text-decoration:none}.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{background:#f3cd1e}.edac-fixes-modal--open{display:block}.edac-fixes-modal--open .edac-fix-settings--fields{display:block!important}.edac-fixes-modal--open .edac-fix-settings--action-row{gap:.5em;margin-top:.75em}.edac-fixes-modal--open input[type=checkbox]:before,.edac-fixes-modal--open input[type=checkbox]:checked:before{content:none}.edac-fixes-modal .modal-opening-message{display:inline-block;margin-bottom:.5em!important}.edac-fixes-modal :focus{outline:revert;outline-offset:2px}.edac-fix-settings--fields input[type=checkbox]{all:revert}.edac-fix-settings--button--save{margin:0}.edac-fix-settings--action-open{display:inline-block;width:100%}.edac-fix-settings--notice-slot a{color:#3273aa!important;text-decoration:underline!important}.edac-fix-settings--notice-slot a:focus,.edac-fix-settings--notice-slot a:hover{cursor:pointer!important;text-decoration:none!important}1 body.edac-app-disable-styles #wpadminbar{display:none!important}body.edac-app-wait *{cursor:wait!important}.edac-highlight,.edac-highlight *{all:unset;letter-spacing:normal!important}.edac-highlight{clear:both;display:inline-block}.edac-highlight-element-selected{outline:4px dashed transparent!important;outline-color:#f0f!important;outline-offset:5px!important}.edac-highlight-element-selected-min-width{display:inline-block!important;min-width:25px!important}.edac-highlight-element-selected-min-height{min-height:16px!important}.edac-highlight-btn{all:unset;border-radius:50%!important;display:block!important;font-size:0!important;height:40px!important;margin:5px!important;position:absolute!important;width:40px!important;z-index:2147483646!important}.edac-highlight-btn-error{background:transparent url(../img/highlight-icon-error.svg) 50% no-repeat!important;background-size:40px 40px!important}.edac-highlight-btn-warning{background:transparent url(../img/highlight-icon-warning.svg) 50% no-repeat!important}.edac-highlight-btn-ignored{background:transparent url(../img/highlight-icon-ignored.svg) 50% no-repeat!important}.edac-highlight-btn-selected,.edac-highlight-btn:focus,.edac-highlight-btn:hover{outline:5px solid rgba(0,208,255,.75)!important}.edac-highlight-panel{bottom:15px!important;max-width:400px!important;position:fixed!important;width:auto;z-index:2147483647!important}@media screen and (max-width:600px){.edac-highlight-panel{max-width:calc(100% - 30px)!important;width:100%}}@media screen and (max-width:375px){.edac-highlight-panel .edac-highlight-panel-controls-buttons{justify-content:space-around}.edac-highlight-panel .edac-highlight-panel-controls-buttons button{margin-right:0!important;padding:4px 7px!important}.edac-highlight-panel .edac-highlight-panel-controls-buttons{display:flex!important;justify-content:space-around}.edac-highlight-panel .edac-highlight-panel-controls-buttons button{margin-right:0!important;padding:4px 7px!important}}.edac-highlight-panel *{all:unset;letter-spacing:normal!important}.edac-highlight-panel a:not(.edac-highlight-panel-description-reference){all:revert!important;color:#fff!important}.edac-highlight-panel--right{right:15px!important}.edac-highlight-panel--left{left:15px!important}.edac-highlight-panel-visible{width:400px!important}.edac-highlight-panel-toggle{background:transparent url(../img/edac-emblem.png) 50% no-repeat!important;background-size:contain!important;border-radius:50%!important;box-shadow:0 0 5px rgba(0,0,0,.5)!important;display:block;height:50px!important;position:relative!important;width:50px!important}.edac-highlight-panel-toggle:focus,.edac-highlight-panel-toggle:hover{cursor:pointer!important;outline:5px solid rgba(0,208,255,.75)!important}@media screen and (max-width:600px){.edac-highlight-panel--right .edac-highlight-panel-toggle{float:right!important}}.edac-highlight-panel-description{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#fff!important;background-color:#072446!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.25)!important;color:#fff!important;display:block;display:none;font-family:sans-serif!important;font-size:14px!important;line-height:22px!important;margin-bottom:15px!important;max-height:calc(100vh - 230px)!important;overflow-y:scroll!important;padding:15px!important;text-align:left!important}.edac-highlight-panel-description-title{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-description-type{border-radius:4px!important;display:inline-block!important;font-size:12px!important;line-height:12px!important;margin-left:10px!important;padding:5px 7px!important;position:relative!important;text-transform:capitalize!important;top:-2px!important}.edac-highlight-panel-description-type-error{background-color:#b30f0f!important;color:#fff!important}.edac-highlight-panel-description-type-warning{background-color:#f3cd1e!important;color:#072446!important}.edac-highlight-panel-description-type-ignored{background-color:#3273aa!important;color:#fff!important}.edac-highlight-panel-description-index{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-description-status{background-color:#b30f0f!important;color:#fff!important;display:block!important;margin-bottom:10px!important;margin-top:10px!important;padding:10px 15px!important}.edac-fix-settings--button--save,.edac-fixes-modal--open .edac-fix-settings--button--save,.edac-highlight-panel-description--button,.edac-highlight-panel-description-code-button,.edac-highlight-panel-description-reference{all:unset;background-color:#f3cd1e!important;color:#072446!important;display:inline-block!important;margin-right:10px!important;margin-top:10px!important;padding:4px 10px!important}.edac-fix-settings--button--save:focus,.edac-fix-settings--button--save:hover,.edac-highlight-panel-description--button:focus,.edac-highlight-panel-description--button:hover,.edac-highlight-panel-description--button[aria-expanded=true],.edac-highlight-panel-description-code-button:focus,.edac-highlight-panel-description-code-button:hover,.edac-highlight-panel-description-code-button[aria-expanded=true],.edac-highlight-panel-description-reference:focus,.edac-highlight-panel-description-reference:hover,.edac-highlight-panel-description-reference[aria-expanded=true],[aria-expanded=true].edac-fix-settings--button--save{background-color:#fff!important;color:#072446!important;cursor:pointer!important;text-decoration:none!important}.edac-highlight-panel-description-reference{text-decoration:none!important}.edac-highlight-panel-description-code{background-color:#fff!important;color:#000!important;display:block;display:none;margin-top:10px!important;padding:10px 15px!important}.edac-highlight-panel-description-close{background-color:#f3cd1e!important;color:#072446!important;font-size:18px!important;height:25px!important;line-height:25px!important;position:absolute!important;right:1px!important;text-align:center!important;top:1px!important;width:25px!important}.edac-highlight-panel-description-close:focus,.edac-highlight-panel-description-close:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-description-summary{display:block}.edac-highlight-panel-description-how-to-fix{display:inline-block;margin-bottom:0!important}.edac-highlight-panel-description-how-to-fix-title{display:block;font-weight:700!important;margin-bottom:5px!important;margin-top:10px!important}.edac-highlight-panel-controls{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#3273aa!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.15)!important;color:#fff!important;display:block;display:none;font-family:sans-serif!important;font-size:14px!important;line-height:22px!important;padding:15px!important;position:relative!important}.edac-highlight-panel-controls-title{display:block!important;font-size:16px!important;font-weight:700!important;margin-bottom:5px!important}.edac-highlight-panel-controls-close{background-color:#f3cd1e!important;color:#072446!important;font-size:18px!important;height:25px!important;line-height:25px!important;position:absolute!important;right:0!important;text-align:center!important;top:0!important;width:25px!important}.edac-highlight-panel-controls-close:focus,.edac-highlight-panel-controls-close:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-controls-summary{display:block!important}.edac-highlight-panel-controls-buttons.single_button{display:grid!important;grid-template-columns:repeat(2,1fr)!important}.edac-highlight-panel-controls-buttons button{all:unset;background-color:#072446!important;color:#fff!important;display:inline-block!important;margin-right:10px!important;margin-top:10px!important;padding:4px 10px!important;text-decoration:none!important}.edac-highlight-panel-controls-buttons button:focus,.edac-highlight-panel-controls-buttons button:hover{background-color:#fff!important;color:#072446!important;cursor:pointer!important}.edac-highlight-panel-controls-buttons button:disabled{display:none!important}.edac-highlight-panel-controls .edac-highlight-disable-styles{float:right!important;margin-right:0!important}.notyf{z-index:2147483647!important}.notyf__toast{max-width:100%!important}.notyf__message{color:#000}.notyf__dismiss-btn:after,.notyf__dismiss-btn:before{background:#000!important}.edac-accessibility-statement{margin:auto;max-width:800px;padding:15px;text-align:center}.edac-fixes-modal *{all:unset}.always-hide{display:none!important}.edac-highlight-panel .edac-fix-settings--fields input,.edac-highlight-panel .edac-fix-settings--fields select,.edac-highlight-panel .edac-fix-settings--fields textarea{all:revert}.edac-fix-modal-present #TB_ajaxContent{height:auto!important;max-height:70vh!important;overflow-y:auto;width:auto!important}.edac-fix-settings--fields{display:none!important}.edac-fix-settings--open .edac-fix-settings--fields{display:block!important}.edac-fix-settings--fields label{display:block;margin-bottom:1rem}.edac-fix-settings--fields input,.edac-fix-settings--fields select,.edac-fix-settings--fields textarea{border:1px solid #ccc;border-radius:5px;margin:.25rem 0;padding:.5rem;width:100%}.edac-fix-settings--fields input[type=checkbox]{border:1px solid #ccc;border-radius:5px;margin:0 .5rem 0 0;padding:0!important;width:auto}.edac-fix-settings--fields input[type=checkbox]:before{content:none}.edac-fix-settings--fields input[type=checkbox]:checked:before{content:url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%233582c4%27%2F%3E%3C%2Fsvg%3E");height:1.3125rem;margin:-.1875rem -.25rem 0;width:1.3125rem}.edac-fix-settings--fields input[type=text]{padding:.25rem .5rem}#TB_ajaxContent .edac-fix-settings--fields{display:block!important}#TB_ajaxContent .edac-fix-settings--action-row{display:flex!important}#TB_ajaxContent .edac-fix-settings .modal-opening-message{margin-bottom:0;padding:0}.edac-highlight-panel .edac-fix-settings--fields{background:#222;padding:10px}.edac-fix-settings--action-row{align-items:center;display:flex;gap:.5rem;margin-top:1rem}.edac-fix-settings--button--save{background:blue;color:#fff;padding:5px 8px}.edac-fix-settings--button--save:focus,.edac-fix-settings--button--save:hover{background:#072446!important;color:#fff!important}.edac-fix-settings--button--save :focus{outline:2px solid #000!important;outline-offset:2px!important}.edac-fix-settings--notice-slot{margin:.25rem}.edac-fixes-modal{background:#fff;border-radius:5px;box-shadow:0 0 10px 0 rgba(0,0,0,.1);left:50%;max-height:90vh;overflow:auto;padding:20px;position:fixed;top:50%;transform:translate(-50%,-50%);z-index:10000000001}.edac-fixes-modal .dashicons,.edac-fixes-modal .dashicons-before:before{speak:never;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:dashicons;font-size:20px;font-style:normal;font-weight:400;height:20px;line-height:1;text-align:center;text-decoration:inherit;text-rendering:auto;text-transform:none;transition:color .1s ease-in;vertical-align:top;width:20px}.edac-fixes-modal__overlay{background-color:rgba(0,0,0,.69);display:none;height:100vh;left:0;position:fixed;top:0;width:100%;z-index:10000000000}.edac-fixes-modal__header{margin-bottom:.5rem}.edac-fixes-modal__header h2{align-self:center;display:block;font-size:1.25rem;font-weight:600;margin-bottom:0}.edac-fixes-modal h3{display:block;font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.edac-fixes-modal__close{border:none;color:#072446;cursor:pointer;height:35px;position:absolute;right:5px;top:5px;width:35px}.edac-fixes-modal__close .dashicons,.edac-fixes-modal__close .dashicons:before{color:#072446!important;display:block;margin:auto;vertical-align:middle}.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{background-color:#f3cd1e;color:#072446}body.edac-fixes-modal--open{overflow:hidden}body.edac-fixes-modal--open .edac-fixes-modal,body.edac-fixes-modal--open .edac-fixes-modal__overlay{display:block}.edac-fix-description-help-link .dashicons-info{color:#737373;text-decoration:none}.edac-fix-description-help-link .dashicons-info:hover{cursor:pointer}.edac-fix-description-help-link .dashicons-info :focus{outline:revert;outline-offset:revert}.edac-fix--upsell-link,.edac-setting--upsell-link{background:#f3cd1e;border-radius:18px;color:#072446;display:inline-block;font-size:.75rem;font-weight:600;line-height:1;padding:4px 8px;text-decoration:none}.edac-fix--upsell-link:focus,.edac-fix--upsell-link:hover,.edac-setting--upsell-link:focus,.edac-setting--upsell-link:hover{color:#072446;text-decoration:underline}.edac-fix--upsell-link:focus,.edac-setting--upsell-link:focus{outline:revert!important;outline-offset:revert!important}.hide-fixes-source,body.block-editor-page .hide-in-editor{display:none}body.block-editor-page .modal-opening-message{margin:0;padding:0}.edac-fixes-modal{-webkit-font-smoothing:antialiased!important;-moz-osx-font-smoothing:grayscale!important;background-color:#fff!important;border:1px solid #e2e4e7!important;box-shadow:0 0 5px rgba(0,0,0,.25)!important;color:#000!important;display:none;font-family:sans-serif!important;font-size:14px!important;letter-spacing:normal!important;line-height:22px!important;margin-bottom:15px!important;max-height:calc(100vh - 230px)!important;overflow-y:auto!important;padding:40px!important;text-align:left!important;width:650px}@media screen and (max-width:768px){.edac-fixes-modal{max-width:calc(100% - 30px)!important;padding:20px!important;width:100%!important}}.edac-fixes-modal h2{font-size:1.25em;margin:0 0 .75em}.edac-fixes-modal h3{font-size:1.1em;margin-bottom:.5em}.edac-fixes-modal label{margin-bottom:.75em}.edac-fixes-modal__header{margin-bottom:.25em}.edac-fixes-modal__close,.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{text-decoration:none}.edac-fixes-modal__close:focus,.edac-fixes-modal__close:hover{background:#f3cd1e}.edac-fixes-modal--open{display:block}.edac-fixes-modal--open .edac-fix-settings--fields{display:block!important}.edac-fixes-modal--open .edac-fix-settings--action-row{gap:.5em;margin-top:.75em}.edac-fixes-modal--open input[type=checkbox]:before,.edac-fixes-modal--open input[type=checkbox]:checked:before{content:none}.edac-fixes-modal .modal-opening-message{display:inline-block;margin-bottom:.5em!important}.edac-fixes-modal :focus{outline:revert;outline-offset:2px}.edac-fix-settings--fields input[type=checkbox]{all:revert}.edac-fix-settings--button--save{margin:0}.edac-fix-settings--action-open{display:inline-block;width:100%}.edac-fix-settings--notice-slot a{color:#3273aa!important;text-decoration:underline!important}.edac-fix-settings--notice-slot a:focus,.edac-fix-settings--notice-slot a:hover{cursor:pointer!important;text-decoration:none!important} -
accessibility-checker/trunk/build/frontendFixes.bundle.js
r3412475 r3448940 1 (()=>{var e={4 50:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.lang_and_dir||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;const e=document.querySelector("html"),t=e.getAttribute("lang"),n=e.getAttribute("dir");t&&t===r.lang||e.setAttribute("lang",r.lang),n&&n===r.dir||e.setAttribute("dir",r.dir)}},606:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes.meta_viewport_scalable||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;const e=document.querySelector('meta[name="viewport"]');if(e){if(!e.content.match(/user\-scalable\s*=\s*(no|0)/i))return;e.remove()}const t=document.createElement("meta");t.name="viewport",t.content="width=device-width, initial-scale=1",document.head.appendChild(t)}},835:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(428);const i=(0,r.__)("opens a new window","accessibility-checker");let o,a;const l=()=>{o=document.createElement("div"),o.setAttribute("role","tooltip"),o.classList.add("anww-tooltip"),Object.assign(o.style,{position:"absolute",background:"white",color:"#1e1e1e",fontSize:"16px",border:"1px solid black",padding:"5px 10px",zIndex:9999,display:"none",pointerEvents:"auto",boxShadow:"0px 4px 6px rgba(0,0,0,0.1)",maxWidth:"200px",whiteSpace:"normal"}),document.body.appendChild(o),document.addEventListener("click",(e=>{e.target.closest(".anww-tooltip, a[target='_blank']")||f()})),document.addEventListener("keydown",(e=>{"Escape"===e.key&&f()})),o.addEventListener("mouseenter",(()=>{clearTimeout(a)})),o.addEventListener("mouseleave",(()=>{f()}))},d=()=>{document.querySelectorAll(".edac-nww-external-link-icon").forEach((e=>e.remove())),document.querySelectorAll("a:not([data-nww-processed])").forEach((e=>{const t=e.getAttribute("onclick");if("_blank"===e.getAttribute("target"))return s(e),c(e),u(e),void e.setAttribute("data-nww-processed","true");if(t&&t.includes("window.open")){const n=t.match(/window\.open\([^,]+,\s*['"]([^'"]+)['"]/),r=n?n[1]:"";"_blank"!==r&&""!==r||(s(e),c(e),u(e),e.setAttribute("data-nww-processed","true"))}}))},s=e=>{const t=e.querySelector("h1, h2, h3, h4, h5, h6");if(t)return void t.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon" aria-hidden="true"></i>');const n=e.querySelector(".elementor-button-content-wrapper");n?n.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon elementor-button-link-content" aria-hidden="true"></i>'):e.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon" aria-hidden="true"></i>')},c=e=>{let t="";if(e.hasAttribute("aria-label"))t=e.getAttribute("aria-label");else if(e.querySelector("img")){t=e.querySelector("img").getAttribute("alt")||""}else e.textContent&&(t=e.textContent.trim());t=t?`${t}, ${i}`:i,e.setAttribute("aria-label",t)},u=e=>{e.addEventListener("mouseenter",(t=>{_(e,t.pageX,t.pageY)})),e.addEventListener("focusin",(()=>{const t=e.getBoundingClientRect();_(e,t.left+window.scrollX,t.top+t.height+window.scrollY)})),e.addEventListener("mouseleave",b),e.addEventListener("focusout",b)},_=(e,t,n)=>{clearTimeout(a),o.textContent=i,o.style.display="block";const r=o.offsetWidth,l=o.offsetHeight;t+r+10>window.innerWidth&&(t-=r+20),n+l+10>window.innerHeight+window.scrollY&&(n-=l+20),o.style.top=`${n+10}px`,o.style.left=`${t+10}px`},b=()=>{a=setTimeout(f,300)},f=()=>{o.style.display="none"},__WEBPACK_DEFAULT_EXPORT__=()=>{l(),d(),document.addEventListener("facetwp-loaded",d)}},821:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=()=>{document.querySelectorAll('a[target="_blank"]:not(.edac-allow-new-tab)').forEach((e=>{e.closest(".edac-allow-new-tab")||(e.removeAttribute("target"),e.classList.add("edac-removed-target-blank"))}))}},885:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.remove_title_if_preferred_accessible_name||{enabled:!1},i=e=>{const t=e.getAttribute("alt");t&&""!==t?.trim()||e.setAttribute("alt",e.getAttribute("title")),l(e)},o=e=>{const t=e.innerText;t&&""!==t?.trim()||d(e)||e.setAttribute("aria-label",e.getAttribute("title")),l(e)},a=e=>{if(d(e))return void l(e);const t=e.labels?.[0]?.innerText,n=e.closest("label")?.innerText;t&&""!==t?.trim()||n&&""!==n?.trim()||e.setAttribute("aria-label",e.getAttribute("title")),l(e)},l=e=>{e.classList.add("edac-removed-title"),e.removeAttribute("title")},d=e=>{const t=e.getAttribute("aria-label"),n=e.getAttribute("aria-labelledby");return!!(t&&""!==t?.trim()||n&&""!==n?.trim())},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll("img[title], a[title], input[title], textarea[title], select[title], button[title]").forEach((e=>{if(""===e.getAttribute("title")?.trim())return;const t=e.tagName.toLowerCase();"img"===t?i(e):["a","button"].includes(t)?o(e):["input","textarea","select"].includes(t)&&a(e)}))}},695:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(428);const i=()=>{const e=(e=>{const t=document.querySelectorAll("body a:not(.ab-item)");for(const n of t)if(!n.closest(e))return n;return null})("#wpadminbar");if(e&&e.href&&-1!==e.href.indexOf("#")){const t=e.href.split("#")[1];return!!document.getElementById(t)}return!1};const __WEBPACK_DEFAULT_EXPORT__=()=>{const e=document.getElementById("skip-link-template");if(!e)return;if(!window.edac_frontend_fixes.skip_link.targets)return;if(i())return;const t=window.edac_frontend_fixes.skip_link.targets.find((e=>document.querySelector(e)));t||console.log((0,r.__)("EDAC: Did not find a matching target ID on the page for the skip link.","accessibility-checker"));const n=e.content.cloneNode(!0);t?(n.querySelector(".edac-skip-link--content").href=t,function(e,t){const n=document.querySelector(e);n&&(-1===n.tabIndex&&n.setAttribute("tabindex","0"),t.querySelector(".edac-skip-link--content")?.addEventListener("click",(()=>{try{history.pushState({},"",e)}catch(e){console.error((0,r.__)("EDAC: Error updating history for skip link.","accessibility-checker"))}n.focus()}),{once:!0}))}(t,n)):n.querySelector(".edac-skip-link--content").remove(),document.body.prepend(n)}},845:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.tabindex||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll("[tabindex]").forEach((e=>{"A"!==e.tagName||e.hasAttribute("href")&&"button"!==e.getAttribute("role")?"-1"!==e.getAttribute("tabindex")&&e.getAttribute("tabindex")>0&&(e.setAttribute("tabindex","0"),e.classList.add("edac-focusable-modified")):e.setAttribute("tabindex","0")}));document.querySelectorAll('div[role="button"]:not([tabindex]), a[role="button"]:not([tabindex]):not([href])').forEach((e=>{e.hasAttribute("tabindex")&&"-1"===e.getAttribute("tabindex")||(e.setAttribute("tabindex","0"),e.classList.add("edac-focusable"))}))}},818:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.underline||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll(r.target).forEach((function(e){if(e.closest("nav")||e.closest('[role="navigation"]'))return;e.style.textDecoration="underline",e.setAttribute("data-original-outline",e.style.outlineWidth),e.setAttribute("data-original-offset",e.style.outlineOffset),e.setAttribute("data-original-color",e.style.outlineColor);const t=e.style.color;e.addEventListener("mouseenter",(function(){e.style.textDecoration="none"})),e.addEventListener("mouseleave",(function(){e.style.textDecoration="underline"})),e.addEventListener("focusin",(function(){let n="2px";"2px"===e.style.outlineWidth&&(n="4px"),e.style.outlineWidth=n,e.style.outlineColor=t,e.style.outlineOffset="2px"})),e.addEventListener("focusout",(function(){e.style.outlineWidth=e.getAttribute("data-original-outline"),e.style.outlineColor=e.getAttribute("data-original-color"),e.style.outlineOffset=e.getAttribute("data-original-offset")}))}))}},428:e=>{"use strict";e.exports=wp.i18n}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};const n=window.edac_frontend_fixes||{};n?.skip_link?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,695)).then((e=>{e.default()})),n?.lang_and_dir?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,450)).then((e=>{e.default()})),n?.tabindex?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,845)).then((e=>{e.default()})),n?.meta_viewport_scalable?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,606)).then((e=>{e.default()})),n?.remove_title_if_preferred_accessible_name?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,885)).then((e=>{e.default()})),n?.underline?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,818)).then((e=>{e.default()})),n?.meta_viewport_scalable?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,606)).then((e=>{e.default()})),n?.prevent_links_opening_new_windows?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,821)).then((e=>{e.default()})),n?.new_window_warning?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,835)).then((e=>{e.default()}))})();1 (()=>{var e={428(e){"use strict";e.exports=wp.i18n},450(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.lang_and_dir||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;const e=document.querySelector("html"),t=e.getAttribute("lang"),n=e.getAttribute("dir");t&&t===r.lang||e.setAttribute("lang",r.lang),n&&n===r.dir||e.setAttribute("dir",r.dir)}},606(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes.meta_viewport_scalable||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;const e=document.querySelector('meta[name="viewport"]');if(e){if(!e.content.match(/user\-scalable\s*=\s*(no|0)/i))return;e.remove()}const t=document.createElement("meta");t.name="viewport",t.content="width=device-width, initial-scale=1",document.head.appendChild(t)}},695(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(428);const i=()=>{const e=(e=>{const t=document.querySelectorAll("body a:not(.ab-item)");for(const n of t)if(!n.closest(e))return n;return null})("#wpadminbar");if(e&&e.href&&-1!==e.href.indexOf("#")){const t=e.href.split("#")[1];return!!document.getElementById(t)}return!1};const __WEBPACK_DEFAULT_EXPORT__=()=>{const e=document.getElementById("skip-link-template");if(!e)return;if(!window.edac_frontend_fixes.skip_link.targets)return;if(i())return;const t=window.edac_frontend_fixes.skip_link.targets.find((e=>document.querySelector(e)));t||console.log((0,r.__)("EDAC: Did not find a matching target ID on the page for the skip link.","accessibility-checker"));const n=e.content.cloneNode(!0);t?(n.querySelector(".edac-skip-link--content").href=t,function(e,t){const n=document.querySelector(e);n&&(-1===n.tabIndex&&n.setAttribute("tabindex","0"),t.querySelector(".edac-skip-link--content")?.addEventListener("click",(()=>{try{history.pushState({},"",e)}catch(e){console.error((0,r.__)("EDAC: Error updating history for skip link.","accessibility-checker"))}n.focus()}),{once:!0}))}(t,n)):n.querySelector(".edac-skip-link--content").remove(),document.body.prepend(n)}},818(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.underline||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll(r.target).forEach((function(e){if(e.closest("nav")||e.closest('[role="navigation"]'))return;e.style.textDecoration="underline",e.setAttribute("data-original-outline",e.style.outlineWidth),e.setAttribute("data-original-offset",e.style.outlineOffset),e.setAttribute("data-original-color",e.style.outlineColor);const t=e.style.color;e.addEventListener("mouseenter",(function(){e.style.textDecoration="none"})),e.addEventListener("mouseleave",(function(){e.style.textDecoration="underline"})),e.addEventListener("focusin",(function(){let n="2px";"2px"===e.style.outlineWidth&&(n="4px"),e.style.outlineWidth=n,e.style.outlineColor=t,e.style.outlineOffset="2px"})),e.addEventListener("focusout",(function(){e.style.outlineWidth=e.getAttribute("data-original-outline"),e.style.outlineColor=e.getAttribute("data-original-color"),e.style.outlineOffset=e.getAttribute("data-original-offset")}))}))}},821(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const __WEBPACK_DEFAULT_EXPORT__=()=>{document.querySelectorAll('a[target="_blank"]:not(.edac-allow-new-tab)').forEach((e=>{e.closest(".edac-allow-new-tab")||(e.removeAttribute("target"),e.classList.add("edac-removed-target-blank"))}))}},835(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});var r=n(428);const i=(0,r.__)("opens a new window","accessibility-checker");let o,a;const l=()=>{o=document.createElement("div"),o.setAttribute("role","tooltip"),o.classList.add("anww-tooltip"),Object.assign(o.style,{position:"absolute",background:"white",color:"#1e1e1e",fontSize:"16px",border:"1px solid black",padding:"5px 10px",zIndex:9999,display:"none",pointerEvents:"auto",boxShadow:"0px 4px 6px rgba(0,0,0,0.1)",maxWidth:"200px",whiteSpace:"normal"}),document.body.appendChild(o),document.addEventListener("click",(e=>{e.target.closest(".anww-tooltip, a[target='_blank']")||f()})),document.addEventListener("keydown",(e=>{"Escape"===e.key&&f()})),o.addEventListener("mouseenter",(()=>{clearTimeout(a)})),o.addEventListener("mouseleave",(()=>{f()}))},d=()=>{document.querySelectorAll(".edac-nww-external-link-icon").forEach((e=>e.remove())),document.querySelectorAll("a:not([data-nww-processed])").forEach((e=>{const t=e.getAttribute("onclick");if("_blank"===e.getAttribute("target"))return s(e),c(e),u(e),void e.setAttribute("data-nww-processed","true");if(t&&t.includes("window.open")){const n=t.match(/window\.open\([^,]+,\s*['"]([^'"]+)['"]/),r=n?n[1]:"";"_blank"!==r&&""!==r||(s(e),c(e),u(e),e.setAttribute("data-nww-processed","true"))}}))},s=e=>{const t=e.querySelector("h1, h2, h3, h4, h5, h6");if(t)return void t.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon" aria-hidden="true"></i>');const n=e.querySelector(".elementor-button-content-wrapper");n?n.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon elementor-button-link-content" aria-hidden="true"></i>'):e.insertAdjacentHTML("beforeend",'<i class="edac-nww-external-link-icon" aria-hidden="true"></i>')},c=e=>{let t="";if(e.hasAttribute("aria-label"))t=e.getAttribute("aria-label");else if(e.querySelector("img")){t=e.querySelector("img").getAttribute("alt")||""}else e.textContent&&(t=e.textContent.trim());t=t?`${t}, ${i}`:i,e.setAttribute("aria-label",t)},u=e=>{e.addEventListener("mouseenter",(t=>{_(e,t.pageX,t.pageY)})),e.addEventListener("focusin",(()=>{const t=e.getBoundingClientRect();_(e,t.left+window.scrollX,t.top+t.height+window.scrollY)})),e.addEventListener("mouseleave",b),e.addEventListener("focusout",b)},_=(e,t,n)=>{clearTimeout(a),o.textContent=i,o.style.display="block";const r=o.offsetWidth,l=o.offsetHeight;t+r+10>window.innerWidth&&(t-=r+20),n+l+10>window.innerHeight+window.scrollY&&(n-=l+20),o.style.top=`${n+10}px`,o.style.left=`${t+10}px`},b=()=>{a=setTimeout(f,300)},f=()=>{o.style.display="none"},__WEBPACK_DEFAULT_EXPORT__=()=>{l(),d(),document.addEventListener("facetwp-loaded",d)}},845(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.tabindex||{enabled:!1},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll("[tabindex]").forEach((e=>{"A"!==e.tagName||e.hasAttribute("href")&&"button"!==e.getAttribute("role")?"-1"!==e.getAttribute("tabindex")&&e.getAttribute("tabindex")>0&&(e.setAttribute("tabindex","0"),e.classList.add("edac-focusable-modified")):e.setAttribute("tabindex","0")}));document.querySelectorAll('div[role="button"]:not([tabindex]), a[role="button"]:not([tabindex]):not([href])').forEach((e=>{e.hasAttribute("tabindex")&&"-1"===e.getAttribute("tabindex")||(e.setAttribute("tabindex","0"),e.classList.add("edac-focusable"))}))}},885(e,t,n){"use strict";n.d(t,{default:()=>__WEBPACK_DEFAULT_EXPORT__});const r=window.edac_frontend_fixes?.remove_title_if_preferred_accessible_name||{enabled:!1},i=e=>{const t=e.getAttribute("alt");t&&""!==t?.trim()||e.setAttribute("alt",e.getAttribute("title")),l(e)},o=e=>{const t=e.innerText;t&&""!==t?.trim()||d(e)||e.setAttribute("aria-label",e.getAttribute("title")),l(e)},a=e=>{if(d(e))return void l(e);const t=e.labels?.[0]?.innerText,n=e.closest("label")?.innerText;t&&""!==t?.trim()||n&&""!==n?.trim()||e.setAttribute("aria-label",e.getAttribute("title")),l(e)},l=e=>{e.classList.add("edac-removed-title"),e.removeAttribute("title")},d=e=>{const t=e.getAttribute("aria-label"),n=e.getAttribute("aria-labelledby");return!!(t&&""!==t?.trim()||n&&""!==n?.trim())},__WEBPACK_DEFAULT_EXPORT__=()=>{if(!r.enabled)return;document.querySelectorAll("img[title], a[title], input[title], textarea[title], select[title], button[title]").forEach((e=>{if(""===e.getAttribute("title")?.trim())return;const t=e.tagName.toLowerCase();"img"===t?i(e):["a","button"].includes(t)?o(e):["input","textarea","select"].includes(t)&&a(e)}))}}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);const n=window.edac_frontend_fixes||{};n?.skip_link?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,695)).then((e=>{e.default()})),n?.lang_and_dir?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,450)).then((e=>{e.default()})),n?.tabindex?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,845)).then((e=>{e.default()})),n?.meta_viewport_scalable?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,606)).then((e=>{e.default()})),n?.remove_title_if_preferred_accessible_name?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,885)).then((e=>{e.default()})),n?.underline?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,818)).then((e=>{e.default()})),n?.meta_viewport_scalable?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,606)).then((e=>{e.default()})),n?.prevent_links_opening_new_windows?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,821)).then((e=>{e.default()})),n?.new_window_warning?.enabled&&Promise.resolve().then(__webpack_require__.bind(__webpack_require__,835)).then((e=>{e.default()}))})(); -
accessibility-checker/trunk/build/frontendHighlighterApp.bundle.js
r3412475 r3448940 1 1 /*! For license information please see frontendHighlighterApp.bundle.js.LICENSE.txt */ 2 (()=>{"use strict";(()=>{const e=Math.min,t=Math.max,n=Math.round,i=Math.floor, o=e=>({x:e,y:e});function s(e){return e.split("-")[0]}function r(e){return e.split("-")[1]}function a(e){return"y"===e?"height":"width"}function c(e){return["top","bottom"].includes(s(e))?"y":"x"}function l(e){return"x"===c(e)?"y":"x"}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function u(e,t,n){let{reference:i,floating:o}=e;const d=c(t),u=l(t),h=a(u),p=s(t),f="y"===d,g=i.x+i.width/2-o.width/2,m=i.y+i.height/2-o.height/2,v=i[h]/2-o[h]/2;let y;switch(p){case"top":y={x:g,y:i.y-o.height};break;case"bottom":y={x:g,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:m};break;case"left":y={x:i.x-o.width,y:m};break;default:y={x:i.x,y:i.y}}switch(r(t)){case"start":y[u]-=v*(n&&f?-1:1);break;case"end":y[u]+=v*(n&&f?-1:1)}return y}function h(e){return g(e)?(e.nodeName||"").toLowerCase():"#document"}function p(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function f(e){var t;return null==(t=(g(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function g(e){return e instanceof Node||e instanceof p(e).Node}function m(e){return e instanceof Element||e instanceof p(e).Element}function v(e){return e instanceof HTMLElement||e instanceof p(e).HTMLElement}function y(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof p(e).ShadowRoot)}function b(e){const{overflow:t,overflowX:n,overflowY:i,display:o}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(o)}function w(e){return["table","td","th"].includes(h(e))}function x(e){const t=_(),n=E(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function _(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function S(e){return["html","body","#document"].includes(h(e))}function E(e){return p(e).getComputedStyle(e)}function k(e){return m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function T(e){if("html"===h(e))return e;const t=e.assignedSlot||e.parentNode||y(e)&&e.host||f(e);return y(t)?t.host:t}function C(e){const t=T(e);return S(t)?e.ownerDocument?e.ownerDocument.body:e.body:v(t)&&b(t)?t:C(t)}function L(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=C(e),s=o===(null==(i=e.ownerDocument)?void 0:i.body),r=p(o);return s?t.concat(r,r.visualViewport||[],b(o)?o:[],r.frameElement&&n?L(r.frameElement):[]):t.concat(o,L(o,[],n))}function N(e){const t=E(e);let i=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const s=v(e),r=s?e.offsetWidth:i,a=s?e.offsetHeight:o,c=n(i)!==r||n(o)!==a;return c&&(i=r,o=a),{width:i,height:o,$:c}}function A(e){return m(e)?e:e.contextElement}function F(e){const t=A(e);if(!v(t))return o(1);const i=t.getBoundingClientRect(),{width:s,height:r,$:a}=N(t);let c=(a?n(i.width):i.width)/s,l=(a?n(i.height):i.height)/r;return c&&Number.isFinite(c)||(c=1),l&&Number.isFinite(l)||(l=1),{x:c,y:l}}const I=o(0);function O(e){const t=p(e);return _()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:I}function D(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const s=e.getBoundingClientRect(),r=A(e);let a=o(1);t&&(i?m(i)&&(a=F(i)):a=F(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==p(e))&&t}(r,n,i)?O(r):o(0);let l=(s.left+c.x)/a.x,u=(s.top+c.y)/a.y,h=s.width/a.x,f=s.height/a.y;if(r){const e=p(r),t=i&&m(i)?p(i):i;let n=e.frameElement;for(;n&&i&&t!==e;){const e=F(n),t=n.getBoundingClientRect(),i=E(n),o=t.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,s=t.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,u*=e.y,h*=e.x,f*=e.y,l+=o,u+=s,n=p(n).frameElement}}return d({width:h,height:f,x:l,y:u})}function P(e){return D(f(e)).left+k(e).scrollLeft}function R(e,n,i){let s;if("viewport"===n)s=function(e,t){const n=p(e),i=f(e),o=n.visualViewport;let s=i.clientWidth,r=i.clientHeight,a=0,c=0;if(o){s=o.width,r=o.height;const e=_();(!e||e&&"fixed"===t)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:s,height:r,x:a,y:c}}(e,i);else if("document"===n)s=function(e){const n=f(e),i=k(e),o=e.ownerDocument.body,s=t(n.scrollWidth,n.clientWidth,o.scrollWidth,o.clientWidth),r=t(n.scrollHeight,n.clientHeight,o.scrollHeight,o.clientHeight);let a=-i.scrollLeft+P(e);const c=-i.scrollTop;return"rtl"===E(o).direction&&(a+=t(n.clientWidth,o.clientWidth)-s),{width:s,height:r,x:a,y:c}}(f(e));else if(m(n))s=function(e,t){const n=D(e,!0,"fixed"===t),i=n.top+e.clientTop,s=n.left+e.clientLeft,r=v(e)?F(e):o(1);return{width:e.clientWidth*r.x,height:e.clientHeight*r.y,x:s*r.x,y:i*r.y}}(n,i);else{const t=O(e);s={...n,x:n.x-t.x,y:n.y-t.y}}return d(s)}function B(e,t){const n=T(e);return!(n===t||!m(n)||S(n))&&("fixed"===E(n).position||B(n,t))}function H(e,t,n){const i=v(t),s=f(t),r="fixed"===n,a=D(e,!0,r,t);let c={scrollLeft:0,scrollTop:0};const l=o(0);if(i||!i&&!r)if(("body"!==h(t)||b(s))&&(c=k(t)),i){const e=D(t,!0,r,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else s&&(l.x=P(s));return{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function q(e,t){return v(e)&&"fixed"!==E(e).position?t?t(e):e.offsetParent:null}function M(e,t){const n=p(e);if(!v(e))return n;let i=q(e,t);for(;i&&w(i)&&"static"===E(i).position;)i=q(i,t);return i&&("html"===h(i)||"body"===h(i)&&"static"===E(i).position&&!x(i))?n:i||function(e){let t=T(e);for(;v(t)&&!S(t);){if(x(t))return t;t=T(t)}return null}(e)||n}const j={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const s=v(n),r=f(n);if(n===r)return t;let a={scrollLeft:0,scrollTop:0},c=o(1);const l=o(0);if((s||!s&&"fixed"!==i)&&(("body"!==h(n)||b(r))&&(a=k(n)),v(n))){const e=D(n);c=F(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-a.scrollLeft*c.x+l.x,y:t.y*c.y-a.scrollTop*c.y+l.y}},getDocumentElement:f,getClippingRect:function(n){let{element:i,boundary:o,rootBoundary:s,strategy:r}=n;const a=[..."clippingAncestors"===o?function(e,t){const n=t.get(e);if(n)return n;let i=L(e,[],!1).filter((e=>m(e)&&"body"!==h(e))),o=null;const s="fixed"===E(e).position;let r=s?T(e):e;for(;m(r)&&!S(r);){const t=E(r),n=x(r);n||"fixed"!==t.position||(o=null),(s?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||b(r)&&!n&&B(e,r))?i=i.filter((e=>e!==r)):o=t,r=T(r)}return t.set(e,i),i}(i,this._c):[].concat(o),s],c=a[0],l=a.reduce(((n,o)=>{const s=R(i,o,r);return n.top=t(s.top,n.top),n.right=e(s.right,n.right),n.bottom=e(s.bottom,n.bottom),n.left=t(s.left,n.left),n}),R(i,c,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:M,getElementRects:async function(e){let{reference:t,floating:n,strategy:i}=e;const o=this.getOffsetParent||M,s=this.getDimensions;return{reference:H(t,await o(n),i),floating:{x:0,y:0,...await s(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return N(e)},getScale:F,isElement:m,isRTL:function(e){return"rtl"===E(e).direction}};function $(n,o,s,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,h=A(n),p=a||c?[...h?L(h):[],...L(o)]:[];p.forEach((e=>{a&&e.addEventListener("scroll",s,{passive:!0}),c&&e.addEventListener("resize",s)}));const g=h&&d?function(n,o){let s,r=null;const a=f(n);function c(){clearTimeout(s),r&&r.disconnect(),r=null}return function l(d,u){void 0===d&&(d=!1),void 0===u&&(u=1),c();const{left:h,top:p,width:f,height:g}=n.getBoundingClientRect();if(d||o(),!f||!g)return;const m={rootMargin:-i(p)+"px "+-i(a.clientWidth-(h+f))+"px "+-i(a.clientHeight-(p+g))+"px "+-i(h)+"px",threshold:t(0,e(1,u))||1};let v=!0;function y(e){const t=e[0].intersectionRatio;if(t!==u){if(!v)return l();t?l(!1,t):s=setTimeout((()=>{l(!1,1e-7)}),100)}v=!1}try{r=new IntersectionObserver(y,{...m,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(y,m)}r.observe(n)}(!0),c}(h,s):null;let m,v=-1,y=null;l&&(y=new ResizeObserver((e=>{let[t]=e;t&&t.target===h&&y&&(y.unobserve(o),cancelAnimationFrame(v),v=requestAnimationFrame((()=>{y&&y.observe(o)}))),s()})),h&&!u&&y.observe(h),y.observe(o));let b=u?D(n):null;return u&&function e(){const t=D(n);!b||t.x===b.x&&t.y===b.y&&t.width===b.width&&t.height===b.height||s();b=t,m=requestAnimationFrame(e)}(),s(),()=>{p.forEach((e=>{a&&e.removeEventListener("scroll",s),c&&e.removeEventListener("resize",s)})),g&&g(),y&&y.disconnect(),y=null,u&&cancelAnimationFrame(m)}}const W=(e,t,n)=>{const i=new Map,o={platform:j,...n},s={...o.platform,_c:i};return(async(e,t,n)=>{const{placement:i="bottom",strategy:o="absolute",middleware:s=[],platform:r}=n,a=s.filter(Boolean),c=await(null==r.isRTL?void 0:r.isRTL(t));let l=await r.getElementRects({reference:e,floating:t,strategy:o}),{x:d,y:h}=u(l,i,c),p=i,f={},g=0;for(let n=0;n<a.length;n++){const{name:s,fn:m}=a[n],{x:v,y,data:b,reset:w}=await m({x:d,y:h,initialPlacement:i,placement:p,strategy:o,middlewareData:f,rects:l,platform:r,elements:{reference:e,floating:t}});d=null!=v?v:d,h=null!=y?y:h,f={...f,[s]:{...f[s],...b}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(l=!0===w.rects?await r.getElementRects({reference:e,floating:t,strategy:o}):w.rects),({x:d,y:h}=u(l,p,c))),n=-1)}return{x:d,y:h,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:s})};var G=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],U=G.join(","),V="undefined"==typeof Element,X=V?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,z=!V&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Y=function e(t,n){var i;void 0===n&&(n=!0);var o=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},K=function(e,t,n){if(Y(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(U));return t&&X.call(e,U)&&i.unshift(e),i=i.filter(n)},J=function e(t,n,i){for(var o=[],s=Array.from(t);s.length;){var r=s.shift();if(!Y(r,!1))if("SLOT"===r.tagName){var a=r.assignedElements(),c=e(a.length?a:r.children,!0,i);i.flatten?o.push.apply(o,c):o.push({scopeParent:r,candidates:c})}else{X.call(r,U)&&i.filter(r)&&(n||!t.includes(r))&&o.push(r);var l=r.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(r),d=!Y(l,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(r));if(l&&d){var u=e(!0===l?r.children:l.children,!0,i);i.flatten?o.push.apply(o,u):o.push({scopeParent:r,candidates:u})}else s.unshift.apply(s,r.children)}}return o},Q=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Z=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Q(e)?0:e.tabIndex},ee=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},te=function(e){return"INPUT"===e.tagName},ne=function(e){return function(e){return te(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||z(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)},ie=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},oe=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=X.call(e,"details>summary:first-of-type")?e.parentElement:e;if(X.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return ie(e)}else{if("function"==typeof i){for(var s=e;e;){var r=e.parentElement,a=z(e);if(r&&!r.shadowRoot&&!0===i(r))return ie(e);e=e.assignedSlot?e.assignedSlot:r||a===e.ownerDocument?r:a.host}e=s}if(function(e){var t,n,i,o,s=e&&z(e),r=null===(t=s)||void 0===t?void 0:t.host,a=!1;if(s&&s!==e)for(a=!!(null!==(n=r)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(r)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!a&&r;){var c,l,d;a=!(null===(l=r=null===(c=s=z(r))||void 0===c?void 0:c.host)||void 0===l||null===(d=l.ownerDocument)||void 0===d||!d.contains(r))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},se=function(e,t){return!(t.disabled||Y(t)||function(e){return te(e)&&"hidden"===e.type}(t)||oe(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!X.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},re=function(e,t){return!(ne(t)||Z(t)<0||!se(e,t))},ae=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ce=function e(t){var n=[],i=[];return t.forEach((function(t,o){var s=!!t.scopeParent,r=s?t.scopeParent:t,a=function(e,t){var n=Z(e);return n<0&&t&&!Q(e)?0:n}(r,s),c=s?e(t.candidates):r;0===a?s?n.push.apply(n,c):n.push(r):i.push({documentOrder:o,tabIndex:a,item:t,isScope:s,content:c})})),i.sort(ee).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==X.call(e,U)&&re(t,e)},de=G.concat("iframe").join(","),ue=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==X.call(e,de)&&se(t,e)};function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ge=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},me=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},ve=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},ye=function(e){return ve(e)&&!e.shiftKey},be=function(e){return ve(e)&&e.shiftKey},we=function(e){return setTimeout(e,0)},xe=function(e,t){var n=-1;return e.every((function(e,i){return!t(e)||(n=i,!1)})),n},_e=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},Se=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Ee=[],ke=function(e,t){var n,i=(null==t?void 0:t.document)||document,o=(null==t?void 0:t.trapStack)||Ee,s=pe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ye,isKeyBackward:be},t),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:s[n||t]},c=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return r.containerGroups.findIndex((function(t){var i=t.container,o=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||o.find((function(t){return t===e}))}))},l=function(e){var t=s[e];if("function"==typeof t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];t=t.apply(void 0,o)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},d=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e||!ue(e,s.tabbableOptions))if(c(i.activeElement)>=0)e=i.activeElement;else{var t=r.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(r.containerGroups=r.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?J([e],t.includeContainer,{filter:re.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ae}):K(e,t.includeContainer,re.bind(null,t)),ce(n)}(e,s.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?J([e],t.includeContainer,{filter:se.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):K(e,t.includeContainer,se.bind(null,t))}(e,s.tabbableOptions),i=t.length>0?t[0]:void 0,o=t.length>0?t[t.length-1]:void 0,r=n.find((function(e){return le(e)})),a=n.slice().reverse().find((function(e){return le(e)})),c=!!t.find((function(e){return Z(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:c,firstTabbableNode:i,lastTabbableNode:o,firstDomTabbableNode:r,lastDomTabbableNode:a,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],o=t.indexOf(e);return o<0?i?n.slice(n.indexOf(e)+1).find((function(e){return le(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return le(e)})):t[o+(i?1:-1)]}}})),r.tabbableGroups=r.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),r.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find((function(e){return e.posTabIndexesFound}))&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==h(document)&&(t&&t.focus?(t.focus({preventScroll:!!s.preventScroll}),r.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(d()))},f=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},g=function(e){var t=e.target,n=e.event,i=e.isBackward,o=void 0!==i&&i;t=t||Se(n),u();var a=null;if(r.tabbableGroups.length>0){var d=c(t,n),h=d>=0?r.containerGroups[d]:void 0;if(d<0)a=o?r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:r.tabbableGroups[0].firstTabbableNode;else if(o){var p=xe(r.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(h.container===t||ue(t,s.tabbableOptions)&&!le(t,s.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=d),p>=0){var f=0===p?r.tabbableGroups.length-1:p-1,g=r.tabbableGroups[f];a=Z(t)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else ve(n)||(a=h.nextTabbableNode(t,!1))}else{var m=xe(r.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(m<0&&(h.container===t||ue(t,s.tabbableOptions)&&!le(t,s.tabbableOptions)&&!h.nextTabbableNode(t))&&(m=d),m>=0){var v=m===r.tabbableGroups.length-1?0:m+1,y=r.tabbableGroups[v];a=Z(t)>=0?y.firstTabbableNode:y.firstDomTabbableNode}else ve(n)||(a=h.nextTabbableNode(t))}}else a=l("fallbackFocus");return a},m=function(e){var t=Se(e);c(t,e)>=0||(_e(s.clickOutsideDeactivates,e)?n.deactivate({returnFocus:s.returnFocusOnDeactivate}):_e(s.allowOutsideClick,e)||e.preventDefault())},v=function(e){var t=Se(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(r.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var o=!0;if(r.mostRecentlyFocusedNode)if(Z(r.mostRecentlyFocusedNode)>0){var a=c(r.mostRecentlyFocusedNode),l=r.containerGroups[a].tabbableNodes;if(l.length>0){var u=l.findIndex((function(e){return e===r.mostRecentlyFocusedNode}));u>=0&&(s.isKeyForward(r.recentNavEvent)?u+1<l.length&&(i=l[u+1],o=!1):u-1>=0&&(i=l[u-1],o=!1))}}else r.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return Z(e)>0}))}))||(o=!1);else o=!1;o&&(i=g({target:r.mostRecentlyFocusedNode,isBackward:s.isKeyBackward(r.recentNavEvent)})),p(i||(r.mostRecentlyFocusedNode||d()))}r.recentNavEvent=void 0},y=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===_e(s.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(s.isKeyForward(e)||s.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.recentNavEvent=e;var n=g({event:e,isBackward:t});n&&(ve(e)&&e.preventDefault(),p(n))}(e,s.isKeyBackward(e))},b=function(e){var t=Se(e);c(t,e)>=0||_e(s.clickOutsideDeactivates,e)||_e(s.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(r.active)return ge(o,n),r.delayInitialFocusTimer=s.delayInitialFocus?we((function(){p(d())})):p(d()),i.addEventListener("focusin",v,!0),i.addEventListener("mousedown",m,{capture:!0,passive:!1}),i.addEventListener("touchstart",m,{capture:!0,passive:!1}),i.addEventListener("click",b,{capture:!0,passive:!1}),i.addEventListener("keydown",y,{capture:!0,passive:!1}),n},x=function(){if(r.active)return i.removeEventListener("focusin",v,!0),i.removeEventListener("mousedown",m,!0),i.removeEventListener("touchstart",m,!0),i.removeEventListener("click",b,!0),i.removeEventListener("keydown",y,!0),n},_="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===r.mostRecentlyFocusedNode}))}))&&p(d())})):void 0,S=function(){_&&(_.disconnect(),r.active&&!r.paused&&r.containers.map((function(e){_.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return r.active},get paused(){return r.paused},activate:function(e){if(r.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),o=a(e,"checkCanFocusTrap");o||u(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var s=function(){o&&u(),w(),S(),null==n||n()};return o?(o(r.containers.concat()).then(s,s),this):(s(),this)},deactivate:function(e){if(!r.active)return this;var t=pe({onDeactivate:s.onDeactivate,onPostDeactivate:s.onPostDeactivate,checkCanReturnFocus:s.checkCanReturnFocus},e);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,x(),r.active=!1,r.paused=!1,S(),me(o,n);var i=a(t,"onDeactivate"),c=a(t,"onPostDeactivate"),l=a(t,"checkCanReturnFocus"),d=a(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var u=function(){we((function(){d&&p(f(r.nodeFocusedBeforeActivation)),null==c||c()}))};return d&&l?(l(f(r.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(r.paused||!r.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return r.paused=!0,null==t||t(),x(),S(),null==n||n(),this},unpause:function(e){if(!r.paused||!r.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return r.paused=!1,null==t||t(),u(),w(),S(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return r.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),r.active&&u(),S(),this}}).updateContainerElements(e),n};const Te=wp.i18n,Ce=e=>{const t={};e.querySelectorAll("input, select, textarea").forEach((e=>{e.addEventListener("change",(()=>{document.dispatchEvent(new CustomEvent("edac-fix-settings-change"))}));const n=e.getAttribute("data-fix-slug");if(n)if(void 0===t[n]&&(t[n]={}),"checkbox"===e.type)t[n][e.name]=e.checked;else t[n][e.name]=e.value}));const n=e.querySelectorAll("button");n.forEach((e=>{e.disabled=!0})),e.classList.add("edac-fix-settings--saving");const i=e.querySelector("[aria-live]");i&&(i.innerText=(0,Te.__)("Saving...","accessibility-checker")),fetch("/wp-json/edac/v1/fixes/update/",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.edacSettings?.nonce??window.edac_script_vars?.restNonce??window.edacFrontendHighlighterApp?.restNonce},body:JSON.stringify(t)}).then((t=>{if(e.classList.remove("edac-fix-settings--saving"),n.forEach((e=>{e.disabled=!1})),t.ok){if(e.classList.remove("edac-fix-settings--saved--error"),e.classList.add("edac-fix-settings--saved--success"),i){const e=window?.edacFrontendHighlighterApp?.editorLink||window?.edac_script_vars?.editorLink;e?i.innerHTML=(0,Te.sprintf)((0,Te.__)("Settings saved successfully. You must %svisit the editor%s and save the post to rescan and remove fixed issues from Accessibility Checker reports.","accessibility-checker"),`<a href="${e}">`,"</a>"):i.innerText=(0,Te.__)("Settings saved successfully.","accessibility-checker")}}else e.classList.add("edac-fix-settings--saved--error"),e.querySelector("[aria-live]").innerText=(0,Te.__)("Saving failed.","accessibility-checker");document.dispatchEvent(new CustomEvent("edac-fix-settings-saved",{detail:{success:t.ok}}))}))};let Le=null;const Ne=new Event("edac-fixes-modal-closed",{bubbles:!0}),Ae=[],Fe=()=>{(()=>{const e=document.createElement("div");e.id="edac-fixes-modal",e.classList.add("edac-fixes-modal"),e.setAttribute("role","dialog"),e.setAttribute("aria-modal","false"),e.setAttribute("aria-labelledby","edac-fixes-modal-title"),e.innerHTML=`\n\t\t<div class="edac-fixes-modal__content">\n\t\t\t<div class="edac-fixes-modal__header">\n\t\t\t\t<h2 id="edac-fixes-modal-title">${(0,Te.__)("Fix Settings","accessibility-checker")}</h2>\n\t\t\t\t<button class="edac-fixes-modal__close" aria-label="${(0,Te.__)("Close fixes modal","accessibility-checker")}">\n\t\t\t\t\t<span class="dashicons dashicons-no-alt"></span>\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<div class="edac-fixes-modal__body">\n\t\t\t</div>\n\t\t</div>\n\t`;const t=document.createElement("div");t.classList.add("edac-fixes-modal__overlay"),t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1"),document.body.appendChild(t),document.body.appendChild(e)})(),document.querySelector(".edac-fixes-modal__close").addEventListener("click",(()=>{Ie()})),document.addEventListener("keydown",(e=>{document.activeElement.closest(".edac-fixes-modal")&&"Escape"===e.key&&Ie()}))},Ie=()=>{const e=document.getElementById("edac-fixes-modal");e.classList.remove("edac-fixes-modal--open"),e.setAttribute("aria-hidden","true"),e.setAttribute("aria-modal","false");const t=e.querySelector(".edac-fix-settings--clone--wrapper").children[0];document.querySelector(".edac-fix-settings--origin-placeholder").replaceWith(t);Array.from(document.body.children).forEach((e=>{"true"===e.getAttribute("data-hidden-by-modal")&&(e.removeAttribute("aria-hidden","false"),e.removeAttribute("data-hidden-by-modal","false"))})),document.body.classList.remove("edac-fixes-modal--open"),Le&&Le.focus(),Oe(),document.dispatchEvent(Ne)},Oe=()=>{Ae.forEach((({field:e,changeListener:t})=>{e.removeEventListener("change",t)}))};var De,Pe=function(){return Pe=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Pe.apply(this,arguments)},Re=function(){function e(e){this.options=e,this.listeners={}}return e.prototype.on=function(e,t){var n=this.listeners[e]||[];this.listeners[e]=n.concat([t])},e.prototype.triggerEvent=function(e,t){var n=this;(this.listeners[e]||[]).forEach((function(e){return e({target:n,event:t})}))},e}();!function(e){e[e.Add=0]="Add",e[e.Remove=1]="Remove"}(De||(De={}));var Be,He=function(){function e(){this.notifications=[]}return e.prototype.push=function(e){this.notifications.push(e),this.updateFn(e,De.Add,this.notifications)},e.prototype.splice=function(e,t){var n=this.notifications.splice(e,t)[0];return this.updateFn(n,De.Remove,this.notifications),n},e.prototype.indexOf=function(e){return this.notifications.indexOf(e)},e.prototype.onUpdate=function(e){this.updateFn=e},e}();!function(e){e.Dismiss="dismiss",e.Click="click"}(Be||(Be={}));var qe={types:[{type:"success",className:"notyf__toast--success",backgroundColor:"#3dc763",icon:{className:"notyf__icon--success",tagName:"i"}},{type:"error",className:"notyf__toast--error",backgroundColor:"#ed3d3d",icon:{className:"notyf__icon--error",tagName:"i"}}],duration:2e3,ripple:!0,position:{x:"right",y:"bottom"},dismissible:!1},Me=function(){function e(){this.notifications=[],this.events={},this.X_POSITION_FLEX_MAP={left:"flex-start",center:"center",right:"flex-end"},this.Y_POSITION_FLEX_MAP={top:"flex-start",center:"center",bottom:"flex-end"};var e=document.createDocumentFragment(),t=this._createHTMLElement({tagName:"div",className:"notyf"});e.appendChild(t),document.body.appendChild(e),this.container=t,this.animationEndEventName=this._getAnimationEndEventName(),this._createA11yContainer()}return e.prototype.on=function(e,t){var n;this.events=Pe(Pe({},this.events),((n={})[e]=t,n))},e.prototype.update=function(e,t){t===De.Add?this.addNotification(e):t===De.Remove&&this.removeNotification(e)},e.prototype.removeNotification=function(e){var t,n,i=this,o=this._popRenderedNotification(e);o&&((t=o.node).classList.add("notyf__toast--disappear"),t.addEventListener(this.animationEndEventName,n=function(e){e.target===t&&(t.removeEventListener(i.animationEndEventName,n),i.container.removeChild(t))}))},e.prototype.addNotification=function(e){var t=this._renderNotification(e);this.notifications.push({notification:e,node:t}),this._announce(e.options.message||"Notification")},e.prototype._renderNotification=function(e){var t,n=this._buildNotificationCard(e),i=e.options.className;return i&&(t=n.classList).add.apply(t,i.split(" ")),this.container.appendChild(n),n},e.prototype._popRenderedNotification=function(e){for(var t=-1,n=0;n<this.notifications.length&&t<0;n++)this.notifications[n].notification===e&&(t=n);if(-1!==t)return this.notifications.splice(t,1)[0]},e.prototype.getXPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.x)||"right"},e.prototype.getYPosition=function(e){var t;return(null===(t=null==e?void 0:e.position)||void 0===t?void 0:t.y)||"bottom"},e.prototype.adjustContainerAlignment=function(e){var t=this.X_POSITION_FLEX_MAP[this.getXPosition(e)],n=this.Y_POSITION_FLEX_MAP[this.getYPosition(e)],i=this.container.style;i.setProperty("justify-content",n),i.setProperty("align-items",t)},e.prototype._buildNotificationCard=function(e){var t=this,n=e.options,i=n.icon;this.adjustContainerAlignment(n);var o=this._createHTMLElement({tagName:"div",className:"notyf__toast"}),s=this._createHTMLElement({tagName:"div",className:"notyf__ripple"}),r=this._createHTMLElement({tagName:"div",className:"notyf__wrapper"}),a=this._createHTMLElement({tagName:"div",className:"notyf__message"});a.innerHTML=n.message||"";var c=n.background||n.backgroundColor;if(i){var l=this._createHTMLElement({tagName:"div",className:"notyf__icon"});if(("string"==typeof i||i instanceof String)&&(l.innerHTML=new String(i).valueOf()),"object"==typeof i){var d=i.tagName,u=void 0===d?"i":d,h=i.className,p=i.text,f=i.color,g=void 0===f?c:f,m=this._createHTMLElement({tagName:u,className:h,text:p});g&&(m.style.color=g),l.appendChild(m)}r.appendChild(l)}if(r.appendChild(a),o.appendChild(r),c&&(n.ripple?(s.style.background=c,o.appendChild(s)):o.style.background=c),n.dismissible){var v=this._createHTMLElement({tagName:"div",className:"notyf__dismiss"}),y=this._createHTMLElement({tagName:"button",className:"notyf__dismiss-btn"});v.appendChild(y),r.appendChild(v),o.classList.add("notyf__toast--dismissible"),y.addEventListener("click",(function(n){var i,o;null===(o=(i=t.events)[Be.Dismiss])||void 0===o||o.call(i,{target:e,event:n}),n.stopPropagation()}))}o.addEventListener("click",(function(n){var i,o;return null===(o=(i=t.events)[Be.Click])||void 0===o?void 0:o.call(i,{target:e,event:n})}));var b="top"===this.getYPosition(n)?"upper":"lower";return o.classList.add("notyf__toast--"+b),o},e.prototype._createHTMLElement=function(e){var t=e.tagName,n=e.className,i=e.text,o=document.createElement(t);return n&&(o.className=n),o.textContent=i||null,o},e.prototype._createA11yContainer=function(){var e=this._createHTMLElement({tagName:"div",className:"notyf-announcer"});e.setAttribute("aria-atomic","true"),e.setAttribute("aria-live","polite"),e.style.border="0",e.style.clip="rect(0 0 0 0)",e.style.height="1px",e.style.margin="-1px",e.style.overflow="hidden",e.style.padding="0",e.style.position="absolute",e.style.width="1px",e.style.outline="0",document.body.appendChild(e),this.a11yContainer=e},e.prototype._announce=function(e){var t=this;this.a11yContainer.textContent="",setTimeout((function(){t.a11yContainer.textContent=e}),100)},e.prototype._getAnimationEndEventName=function(){var e,t=document.createElement("_fake"),n={MozTransition:"animationend",OTransition:"oAnimationEnd",WebkitTransition:"webkitAnimationEnd",transition:"animationend"};for(e in n)if(void 0!==t.style[e])return n[e];return"animationend"},e}();!function(){function e(e){var t=this;this.dismiss=this._removeNotification,this.notifications=new He,this.view=new Me;var n=this.registerTypes(e);this.options=Pe(Pe({},qe),e),this.options.types=n,this.notifications.onUpdate((function(e,n){return t.view.update(e,n)})),this.view.on(Be.Dismiss,(function(e){var n=e.target,i=e.event;t._removeNotification(n),n.triggerEvent(Be.Dismiss,i)})),this.view.on(Be.Click,(function(e){var t=e.target,n=e.event;return t.triggerEvent(Be.Click,n)}))}e.prototype.error=function(e){var t=this.normalizeOptions("error",e);return this.open(t)},e.prototype.success=function(e){var t=this.normalizeOptions("success",e);return this.open(t)},e.prototype.open=function(e){var t=this.options.types.find((function(t){return t.type===e.type}))||{},n=Pe(Pe({},t),e);this.assignProps(["ripple","position","dismissible"],n);var i=new Re(n);return this._pushNotification(i),i},e.prototype.dismissAll=function(){for(;this.notifications.splice(0,1););},e.prototype.assignProps=function(e,t){var n=this;e.forEach((function(e){t[e]=null==t[e]?n.options[e]:t[e]}))},e.prototype._pushNotification=function(e){var t=this;this.notifications.push(e);var n=void 0!==e.options.duration?e.options.duration:this.options.duration;n&&setTimeout((function(){return t._removeNotification(e)}),n)},e.prototype._removeNotification=function(e){var t=this.notifications.indexOf(e);-1!==t&&this.notifications.splice(t,1)},e.prototype.normalizeOptions=function(e,t){var n={type:e};return"string"==typeof t?n.message=t:"object"==typeof t&&(n=Pe(Pe({},n),t)),n},e.prototype.registerTypes=function(e){var t=(e&&e.types||[]).slice();return qe.types.map((function(e){var n=-1;t.forEach((function(t,i){t.type===e.type&&(n=i)}));var i=-1!==n?t.splice(n,1)[0]:{};return Pe(Pe({},e),i)})).concat(t)}}();class je{constructor(e={}){this.settings={showIgnored:!1,...e},this._scanAttempted=!1,this._isRescanning=!1,this.highlightPanel=this.addHighlightPanel(),this.nextButton=document.querySelector("#edac-highlight-next"),this.previousButton=document.querySelector("#edac-highlight-previous"),this.panelToggle=document.querySelector("#edac-highlight-panel-toggle"),this.closePanel=document.querySelector("#edac-highlight-panel-controls-close"),this.panelDescription=document.querySelector("#edac-highlight-panel-description"),this.panelControls=document.querySelector("#edac-highlight-panel-controls"),this.descriptionCloseButton=document.querySelector(".edac-highlight-panel-description-close"),this.issues=null,this.fixes=null,this.currentButtonIndex=null,this.urlParameter=this.get_url_parameter("edac"),this.landmarkParameter=this.get_url_parameter("edac_landmark"),this.currentIssueStatus=null,this.tooltips=[],this.panelControlsFocusTrap=ke("#"+this.panelControls.id,{clickOutsideDeactivates:!0,escapeDeactivates:()=>{this.panelClose()}}),this.panelDescriptionFocusTrap=ke("#"+this.panelDescription.id,{clickOutsideDeactivates:!0,escapeDeactivates:()=>{this.descriptionClose()}}),this.disableStylesButton=document.querySelector("#edac-highlight-disable-styles"),this.rescanButton=document.querySelector("#edac-highlight-rescan"),this.clearIssuesButton=document.querySelector("#edac-highlight-clear-issues"),this.stylesDisabled=!1,this.originalCss=[],this.init()}init(){this.nextButton.addEventListener("click",(()=>{this.highlightFocusNext(),this.focusTrapDescription()})),this.previousButton.addEventListener("click",(()=>{this.highlightFocusPrevious(),this.focusTrapDescription()})),this.panelToggle.addEventListener("click",(()=>{this.panelOpen(),this.focusTrapControls()})),this.closePanel.addEventListener("click",(()=>{this.panelClose(),this.panelControlsFocusTrap.deactivate(),this.panelDescriptionFocusTrap.deactivate(),this.enableStyles()})),this.descriptionCloseButton.addEventListener("click",(()=>this.descriptionClose())),this.disableStylesButton.addEventListener("click",(()=>{this.stylesDisabled?this.enableStyles():this.disableStyles()})),this.rescanButton&&this.rescanButton.addEventListener("click",(()=>{this.rescanPage()})),this.clearIssuesButton&&this.clearIssuesButton.addEventListener("click",(()=>{this.clearIssues()})),this.urlParameter?this.panelOpen(this.urlParameter):this.landmarkParameter&&this.highlightLandmark(this.landmarkParameter)}findElement(e,t){let n=e.object;const i=(new DOMParser).parseFromString(n,"text/html").body.firstElementChild;i&&(n=i.outerHTML);const o=document.body.querySelectorAll("*");for(const i of o)if(i.outerHTML.replace(/\W/g,"")===n.replace(/\W/g,"")){const n=this.addTooltip(i,e,t,this.issues.length);return this.issues[t].tooltip=n.tooltip,this.tooltips.push(n),i}return null}highlightAjax(){const e=this;return new Promise((function(t,n){const i=new XMLHttpRequest,o=edacFrontendHighlighterApp.ajaxurl+"?action=edac_frontend_highlight_ajax&post_id="+edacFrontendHighlighterApp.postID+"&nonce="+edacFrontendHighlighterApp.nonce;e.showWait(!0),i.open("GET",o),i.onload=function(){if(200===i.status){e.showWait(!1);const o=JSON.parse(i.responseText);if(!0===o.success){const n=JSON.parse(o.data);e.settings.showIgnored?t({issues:n.issues,fixes:n.fixes}):t({issues:n.issues.filter((t=>null!==t.rule_type&&(t.id===e.urlParameter||"ignored"!==t.rule_type))),fixes:n.fixes})}else e._scanAttempted||-3!==o.data?.[0]?.code?t({issues:[],fixes:[]}):(e._scanAttempted=!0,e.kickoffScan(),setTimeout((()=>{e.highlightAjax().then(t).catch(n)}),5e3))}else e.showWait(!1),n({status:i.status,statusText:i.statusText})},i.onerror=function(){e.showWait(!1),n({status:i.status,statusText:i.statusText})},i.send()}))}showWait(e=!0){e?document.querySelector("body").classList.add("edac-app-wait"):document.querySelector("body").classList.remove("edac-app-wait")}removeHighlightButtons(){this.tooltips.forEach((e=>{e.tooltip.removeEventListener("click",e.listeners.onClick),e.listeners.cleanup()}));document.querySelectorAll(".edac-highlight-btn").forEach((e=>{e.remove()})),this.removeLandmarkLabels()}addTooltip(e,t,n,i){const o=document.createElement("button");o.classList="edac-highlight-btn edac-highlight-btn-"+t.rule_type,o.setAttribute("aria-label",(0,Te.sprintf)((0,Te.__)("Open details for %1$s, %2$s of %3$s","accessibility-checker"),t.rule_title,n+1,i)),o.setAttribute("aria-expanded","false"),o.setAttribute("aria-haspopup","dialog"),o.dataset.id=t.id;const s=e=>{const t=e.currentTarget.dataset.id;this.showIssue(t)};o.addEventListener("click",s),document.body.append(o),o.dataset.targetElement=(e=>{let t=0;if(0===e.length)return t;for(let n=0;n<e.length;n++)t=32*t-t+e.charCodeAt(n),t=Math.floor(t);return Math.abs(t)})(e.outerHTML),o.dataset.creationOrder=Date.now()+Math.random();const r=$(e,o,(function(){const t=o.dataset.targetElement,n=parseFloat(o.dataset.creationOrder),i=Array.from(document.querySelectorAll(".edac-highlight-btn")).filter((e=>e!==o&&e.dataset.targetElement===t&&parseFloat(e.dataset.creationOrder)<n)).length;W(e,o,{placement:"top-start",middleware:[]}).then((({x:t,y:n,middlewareData:s,placement:r})=>{const a=e.getBoundingClientRect(),c=void 0===e.offsetHeight?0:e.offsetHeight,l=void 0===e.offsetWidth?0:e.offsetWidth,d=void 0===o.offsetHeight?0:o.offsetHeight,u=void 0===o.offsetWidth?0:o.offsetWidth;let h=0;const p=i*(u+5);d<=.8*c&&(h=d),u>=.8*l&&(h=0),a.left<u&&(t=0),a.left>window.screen&&(t=window.screen.width-u),a.top<d&&(n=0),Object.assign(o.style,{left:`${t+p}px`,top:`${n+h}px`})}))}),{ancestorScroll:!0,ancestorResize:!0,elementResize:!0,layoutShift:!0,animationFrame:!0});return{element:e,tooltip:o,listeners:{onClick:s,cleanup:r}}}addHighlightPanel(){const e=edacFrontendHighlighterApp?.widgetPosition||"right",t=edacFrontendHighlighterApp&&edacFrontendHighlighterApp?.userCanEdit&&edacFrontendHighlighterApp?.loggedIn,n=t?`<button id="edac-highlight-clear-issues" class="edac-highlight-clear-issues">${(0,Te.__)("Clear Issues","accessibility-checker")}</button>`:"",i=t?`<button id="edac-highlight-rescan" class="edac-highlight-rescan">${(0,Te.__)("Rescan This Page","accessibility-checker")}</button>`:"",o=`\n <div id="edac-highlight-panel" class="edac-highlight-panel edac-highlight-panel--${e}">\n <button id="edac-highlight-panel-toggle" class="edac-highlight-panel-toggle" aria-haspopup="dialog" aria-label="${(0,Te.__)("Accessibility Checker Tools","accessibility-checker")}"></button>\n <div id="edac-highlight-panel-description" class="edac-highlight-panel-description" role="dialog" aria-labelledby="edac-highlight-panel-description-title" tabindex="0">\n <button class="edac-highlight-panel-description-close edac-highlight-panel-controls-close" aria-label="${(0,Te.__)("Close","accessibility-checker")}">×</button>\n <div id="edac-highlight-panel-description-title" class="edac-highlight-panel-description-title"></div>\n <div class="edac-highlight-panel-description-content"></div>\n <div id="edac-highlight-panel-description-code" class="edac-highlight-panel-description-code"><code></code></div>\n </div>\n <div id="edac-highlight-panel-controls" class="edac-highlight-panel-controls" tabindex="0">\n <button id="edac-highlight-panel-controls-close" class="edac-highlight-panel-controls-close" aria-label="${(0,Te.__)("Close","accessibility-checker")}">×</button>\n <div class="edac-highlight-panel-controls-title">${(0,Te.__)("Accessibility Checker","accessibility-checker")}</div>\n <div class="edac-highlight-panel-controls-summary">${(0,Te.__)("Loading...","accessibility-checker")}</div>\n <div class="edac-highlight-panel-controls-buttons ${t?"":" single_button"}">\n <div>\n <button id="edac-highlight-previous" disabled="true"><span aria-hidden="true">« </span>${(0,Te.__)("Previous","accessibility-checker")}</button>\n <button id="edac-highlight-next" disabled="true">${(0,Te.__)("Next","accessibility-checker")}<span aria-hidden="true"> »</span></button><br />\n </div>\n <div>\n ${i}\n ${n}\n <button id="edac-highlight-disable-styles" class="edac-highlight-disable-styles" aria-live="polite" aria-label="${(0,Te.__)("Disable Page Styles","accessibility-checker")}">${(0,Te.__)("Disable Styles","accessibility-checker")}</button>\n </div>\n </div>\n </div>\n </div>\n `;return document.body.insertAdjacentHTML("afterbegin",o),document.getElementById("edac-highlight-panel")}highlightFocusNext=()=>{null===this.currentButtonIndex?this.currentButtonIndex=0:this.currentButtonIndex=(this.currentButtonIndex+1)%this.issues.length;const e=this.issues[this.currentButtonIndex].id;this.showIssue(e)};highlightFocusPrevious=()=>{null===this.currentButtonIndex?this.currentButtonIndex=this.issues.length-1:this.currentButtonIndex=(this.currentButtonIndex-1+this.issues.length)%this.issues.length;const e=this.issues[this.currentButtonIndex].id;this.showIssue(e)};focusTrapControls=()=>{this.panelDescriptionFocusTrap.deactivate(),this.panelControlsFocusTrap.activate(),setTimeout((()=>{this.panelControls.focus()}),100)};focusTrapDescription=()=>{this.panelControlsFocusTrap.deactivate(),this.panelDescriptionFocusTrap.activate(),setTimeout((()=>{this.panelDescription.focus()}),100)};showIssue=e=>{if(this.removeSelectedClasses(),void 0===e)return;const t=this.issues.find((t=>t.id===e));this.currentButtonIndex=this.issues.findIndex((t=>t.id===e));const n=t.tooltip,i=t.element;n&&i?(n.classList.add("edac-highlight-btn-selected"),i.classList.add("edac-highlight-element-selected"),i.offsetWidth<20&&i.classList.add("edac-highlight-element-selected-min-width"),i.offsetHeight<5&&i.classList.add("edac-highlight-element-selected-min-height"),i.scrollIntoView({block:"center"}),ue(n)?this.checkVisibility(n)&&this.checkVisibility(i)?this.currentIssueStatus=null:this.currentIssueStatus=(0,Te.__)("The element is not visible. Try disabling styles.","accessibility-checker"):this.currentIssueStatus=(0,Te.__)("The element is not focusable. Try disabling styles.","accessibility-checker")):this.currentIssueStatus=(0,Te.__)("The element was not found on the page.","accessibility-checker"),this.descriptionOpen(e)};checkVisibility=e=>"function"!=typeof e.checkVisibility?!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0});panelOpen(e){this.highlightPanel.classList.add("edac-highlight-panel-visible"),this.panelControls.style.display="block",this.panelToggle.style.display="none",this.nextButton.disabled=!0,this.previousButton.disabled=!0,this.highlightAjax().then((t=>{this.issues=t.issues,this.fixes=t.fixes,t.issues.forEach(function(e,t){const n=this.findElement(e,t);null!==n&&(this.issues[t].element=n)}.bind(this)),this.showIssueCount(),void 0!==e&&(this.showIssue(e),this.focusTrapDescription())})).catch((e=>{const t=document.querySelector(".edac-highlight-panel-controls-summary");t&&(t.textContent=(0,Te.__)("An error occurred when loading the issues.","accessibility-checker"))}))}panelClose(){this.highlightPanel.classList.remove("edac-highlight-panel-visible"),this.panelControls.style.display="none",this.panelDescription.style.display="none",this.panelToggle.style.display="block",this.removeSelectedClasses(),this.removeHighlightButtons(),this.closePanel.removeEventListener("click",this.panelControlsFocusTrap.deactivate),this.panelToggle.focus()}removeSelectedClasses=()=>{document.querySelectorAll(".edac-highlight-btn-selected").forEach((e=>{e.classList.remove("edac-highlight-btn-selected")}));document.querySelectorAll(".edac-highlight-element-selected").forEach((e=>{e.classList.remove("edac-highlight-element-selected","edac-highlight-element-selected-min-width","edac-highlight-element-selected-min-height"),0===e.classList.length&&e.removeAttribute("class")})),this.removeLandmarkLabels()};descriptionOpen(e){const t=e,n=this.issues.find((e=>e.id===t));if(n){const e=document.querySelector(".edac-highlight-panel-description-title"),t=document.querySelector(".edac-highlight-panel-description-content"),i=document.querySelector(".edac-highlight-panel-description-code code");let o="";o+=` <div class="edac-highlight-panel-description-index">${this.currentButtonIndex+1} of ${this.issues.length}</div>`,this.currentIssueStatus&&(o+=` <div class="edac-highlight-panel-description-status">${this.currentIssueStatus}</div>`),n.summary&&(o+=`<p class="edac-highlight-panel-description-summary">${n.summary}</p>`),n.how_to_fix&&(o+=`<div class="edac-highlight-panel-description-how-to-fix">\n\t\t\t\t\t<div class="edac-highlight-panel-description-how-to-fix-title">How to fix it:</div>\n\t\t\t\t\t<p class="edac-highlight-panel-description-how-to-fix-content">${n.how_to_fix}</p>\n\t\t\t\t</div>`),this.fixes[n.slug]&&window.edacFrontendHighlighterApp?.userCanFix?(o+=`\n\t\t\t\t\t<div style="display:none;" class="always-hide">\n\t\t\t\t\t\t<div class="edac-fix-settings">\n\t\t\t\t\t\t\t<div class="edac-fix-settings--fields">\n\t\t\t\t\t\t\t\t${this.fixes[n.slug].fields}\n\t\t\t\t\t\t\t\t<div class="edac-fix-settings--action-row">\n\t\t\t\t\t\t\t\t\t<button role="button" class="button button-primary edac-fix-settings--button--save">\n\t\t\t\t\t\t\t\t\t\t${(0,Te.__)("Save","accessibility-checker")}\n\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t<span class="edac-fix-settings--notice-slot" aria-live="polite" role="alert"></span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t`,o+=` <br />\n \t\t\t\t\t<button role="button"\n \t\t\t\t\t\tclass="edac-fix-settings--button--open edac-highlight-panel-description--button"\n \t\t\t\t\t\taria-haspopup="true"\n \t\t\t\t\t\taria-controls="edac-highlight-panel-description-fix"\n\t\t\t\t\t\taria-label="${(0,Te.sprintf)((0,Te.__)("Fix issue: %s","accessibility-checker"),this.fixes[n.slug][Object.keys(this.fixes[n.slug])[0]].group_name)}"> \t\t\t\t\t\t${(0,Te.__)("Fix Issue","accessibility-checker")}</button>`):o+=" <br />",o+=`<a class="edac-highlight-panel-description-reference" href="${n.link}">${(0,Te.__)("Full Documentation","accessibility-checker")}</a>`,o+=`<button class="edac-highlight-panel-description-code-button" aria-expanded="false" aria-controls="edac-highlight-panel-description-code">${(0,Te.__)("Show Code","accessibility-checker")}</button>`,e.innerHTML=n.rule_title+' <span class="edac-highlight-panel-description-type edac-highlight-panel-description-type-'+n.rule_type+'" aria-label="'+(0,Te.__)("Issue type:","accessibility-checker")+" "+n.rule_type+'"> '+n.rule_type+"</span>",t.innerHTML=o;const s=n.object,r=(new DOMParser).parseFromString(s,"text/html").body.firstElementChild;if(r)i.innerText=r.outerHTML;else{const e=document.createTextNode(n.object);i.innerText=e.nodeValue}this.fixes[n.slug]&&window.edacFrontendHighlighterApp?.userCanFix&&(this.fixSettingsButton=document.querySelector(".edac-fix-settings--button--open"),this.fixSettingsButton.addEventListener("click",(e=>{this.showFixSettings(e)})),this.fixSettingsButton.display="block",this.fixSettingsSaveButton=document.querySelector(".edac-fix-settings--button--save"),this.fixSettingsSaveButton.addEventListener("click",(e=>{Ce(e.target.closest(".edac-fix-settings"))}))),this.codeContainer=document.querySelector(".edac-highlight-panel-description-code"),this.codeButton=document.querySelector(".edac-highlight-panel-description-code-button"),this.codeButton.addEventListener("click",(()=>this.codeToggle())),this.codeContainer.style.display="none",this.panelDescription.style.display="block"}}descriptionClose(){this.panelDescription.style.display="none",this.focusTrapControls()}disableStyles(){if(!document.querySelector("#edac-app-css")){const e=document.createElement("link");e.rel="stylesheet",e.id="edac-app-css",e.type="text/css",e.href=edacFrontendHighlighterApp.appCssUrl,e.media="all",document.head.appendChild(e)}this.originalCss=Array.from(document.head.querySelectorAll('style[type="text/css"], style, link[rel="stylesheet"]'));document.querySelectorAll('*[style]:not([class^="edac"])').forEach((function(e){e.removeAttribute("style")})),this.originalCss=this.originalCss.filter((function(e){return"edac-app-css"!==e.id&&"dashicons-css"!==e.id})),document.head.dataset.css=this.originalCss,this.originalCss.forEach((function(e){e.remove()})),document.querySelector("body").classList.add("edac-app-disable-styles"),this.stylesDisabled=!0,this.disableStylesButton.textContent=(0,Te.__)("Enable Styles","accessibility-checker")}enableStyles(){this.originalCss.forEach((function(e){if("STYLE"===e.tagName)document.head.appendChild(e.cloneNode(!0));else{const t=document.createElement("link");t.rel="stylesheet",t.href=e.href,document.head.appendChild(t)}})),document.querySelector("body").classList.remove("edac-app-disable-styles"),this.stylesDisabled=!1,this.disableStylesButton.textContent=(0,Te.__)("Disable Styles","accessibility-checker")}get_url_parameter(e){const t=window.location.search.substring(1).split("&");let n,i;for(i=0;i<t.length;i++)if(n=t[i].split("="),n[0]===e)return void 0===n[1]||decodeURIComponent(n[1]);return!1}codeToggle(){"none"===this.codeContainer.style.display||""===this.codeContainer.style.display?(this.codeContainer.style.display="block",this.codeButton.setAttribute("aria-expanded","true")):(this.codeContainer.style.display="none",this.codeButton.setAttribute("aria-expanded","false"))}showFixSettings(e){const t=e.target.closest(".edac-highlight-panel-description-content").querySelector(".edac-fix-settings");if(!t)return;const n=document.createElement("span");n.classList.add("edac-fix-settings--origin-placeholder"),t.parentNode.insertBefore(n,t),t.remove(),((e="",t="")=>{""===t&&((t=document.createElement("p")).innerText=(0,Te.__)("There are no settings to display.","accessibility-checker"));const n=document.createElement("div");n.classList.add("edac-fix-settings--clone--wrapper"),n.appendChild(t);let i=n.querySelector("[data-fancy-name]")?.getAttribute("data-fancy-name")||"";""===i&&(i=n.querySelector("[data-group-name]")?.getAttribute("data-group-name")||"");const o=document.getElementById("edac-fixes-modal"),s=o.querySelector("#edac-fixes-modal-title"),r=o.querySelector(".edac-fixes-modal__body");s.innerText=i,r.innerHTML=e,r.appendChild(n),o.querySelectorAll("input, select, textarea").forEach((e=>{const t=()=>{document.dispatchEvent(new CustomEvent("edac-fix-settings-change"))};e.addEventListener("change",t),Ae.push({field:e,changeListener:t})})),o.querySelector(".edac-fix-settings--button--save").addEventListener("click",(()=>{Ce(r.querySelector(".edac-fix-settings--fields"))})),document.addEventListener("edac-fix-settings-change",(()=>{o.querySelector("[aria-live]").innerText=""}))})(`<p class="modal-opening-message">${(0,Te.__)("These settings enable global fixes across your entire site. Pages may need to be resaved or a full site scan run to see fixes reflected in reports.","accessibility-checker")}</p>`,t),this.panelDescriptionFocusTrap.pause(),(e=>{const t=document.getElementById("edac-fixes-modal");t.classList.add("edac-fixes-modal--open"),t.setAttribute("aria-hidden","false"),t.setAttribute("aria-modal","true"),Array.from(document.body.children).forEach((e=>{"edac-fixes-modal"===e.id||e.classList.contains("edac-fixes-modal__overlay")||!0!==e.getAttribute("aria-hidden")&&(e.setAttribute("aria-hidden","true"),e.setAttribute("data-hidden-by-modal","true"))})),document.body.classList.add("edac-fixes-modal--open"),Le=e;const n=t.querySelector(".edac-fixes-modal__body").querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');n&&setTimeout((()=>{n.focus()}),100),t.addEventListener("keydown",(e=>{if("Tab"===e.key){const n=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),i=n[0],o=n[n.length-1];e.shiftKey&&document.activeElement===i?(e.preventDefault(),o.focus()):e.shiftKey||document.activeElement!==o||(e.preventDefault(),i.focus())}}))})(e.target),document.addEventListener("edac-fixes-modal-closed",(()=>{this.panelDescriptionFocusTrap.unpause()}))}countIssues(e){let t=0;for(const n of this.issues)n.rule_type===e&&t++;return t}countIgnored(){let e=0;for(const t of this.issues)"1"===t.ignored&&e++;return e}showIssueCount(){const e=this.countIssues("error"),t=this.countIssues("warning"),n=this.countIgnored(),i=document.querySelector(".edac-highlight-panel-controls-summary");let o=(0,Te.__)("No issues detected.","accessibility-checker");(e>0||t>0||n>0)&&(o="",this.nextButton.disabled=!1,this.previousButton.disabled=!1,e>=0&&(o+=e+" "+(0,Te._n)("error","errors",e,"accessibility-checker")+", "),t>=0&&(o+=t+" "+(0,Te._n)("warning","warnings",t,"accessibility-checker")+", "),n>0?o+=(0,Te.__)("and","accessibility-checker")+" "+n+" "+(0,Te._n)("ignored issue","ignored issues",n,"accessibility-checker")+" "+(0,Te.__)("detected.","accessibility-checker"):o=o.slice(0,-2)+" "+(0,Te.__)("detected.","accessibility-checker")),i.textContent=o}highlightLandmark(e){try{const t=atob(e);let n=null;try{n=document.querySelector(t)}catch(e){}if(!n){const e=[t.replace(/:nth-child\(\d+\)/g,"").replace(/\s+>\s+/g," "),t.split(" > ").pop(),t.replace(/\.[^:\s>]+/g,"")];for(const t of e)if(t&&t.trim())try{if(n=document.querySelector(t.trim()),n)break}catch(e){}}if(n){this.removeLandmarkLabels(),n.classList.add("edac-highlight-element-selected"),n.classList.add("edac-landmark-highlight");const e=this.getLandmarkType(n),t=document.createElement("div");t.classList.add("edac-landmark-label"),t.textContent=(0,Te.sprintf)((0,Te.__)("Landmark: %s","accessibility-checker"),e),t.setAttribute("aria-hidden","true"),t.style.cssText="\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tbackground: #072446;\n\t\t\t\t\tcolor: white;\n\t\t\t\t\tpadding: 4px 8px;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t\tborder-radius: 3px;\n\t\t\t\t\tz-index: 99998;\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\tfont-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n\t\t\t\t\tline-height: 1;\n\t\t\t\t\tbox-shadow: 0 2px 4px rgba(0,0,0,0.2);\n\t\t\t\t";const i=n.getBoundingClientRect();t.style.left=i.left+window.scrollX-0+"px",t.style.top=i.top+window.scrollY-0+"px",document.body.appendChild(t),n.setAttribute("data-edac-landmark-label-id",Date.now()),t.setAttribute("data-edac-landmark-for",n.getAttribute("data-edac-landmark-label-id")),n.offsetWidth<20&&n.classList.add("edac-highlight-element-selected-min-width"),n.offsetHeight<5&&n.classList.add("edac-highlight-element-selected-min-height");const o=n.getBoundingClientRect().top+window.scrollY-75;window.scrollTo({top:o,behavior:"smooth"})}}catch(e){}}getLandmarkType(e){const t=e.getAttribute("role");if(t)switch(t.toLowerCase()){case"banner":return"Header";case"navigation":return"Navigation";case"main":return"Main";case"complementary":return"Complementary";case"contentinfo":return"Footer";case"search":return"Search";case"form":return"Form";case"region":return"Region";default:return t.charAt(0).toUpperCase()+t.slice(1)}switch(e.tagName.toLowerCase()){case"header":return"Header";case"nav":return"Navigation";case"main":return"Main";case"aside":return"Complementary";case"footer":return"Footer";case"section":return e.getAttribute("aria-label")||e.getAttribute("aria-labelledby")||e.querySelector("h1, h2, h3, h4, h5, h6")?"Region":"Section";case"form":return e.getAttribute("aria-label")||e.getAttribute("aria-labelledby")?"Form":"Form (unlabeled)";default:return"Landmark"}}removeLandmarkLabels(){document.querySelectorAll(".edac-landmark-label").forEach((e=>{e.remove()}));document.querySelectorAll(".edac-landmark-highlight").forEach((e=>{e.classList.remove("edac-landmark-highlight"),e.removeAttribute("data-edac-landmark-label-id")}))}kickoffScan(){const e={elementCount:document.body.getElementsByTagName("*").length,contentLength:document.body.innerText.length},t=this,n="edac-accessibility-checker-scanner-script";if(document.getElementById(n))t._runScanOrShowError(e);else{const i=document.createElement("script");i.src=window.edacFrontendHighlighterApp?.scannerBundleUrl||"/wp-content/plugins/accessibility-checker/build/pageScanner.bundle.js",i.id=n,i.onload=function(){setTimeout((()=>{t._runScanOrShowError(e)}),100)},i.onerror=function(){t.showWait(!1),t.showScanError("Failed to load scanner script.")},document.head.appendChild(i)}}_runScanOrShowError(e){window.runAccessibilityScan?this.runAccessibilityScanAndSave(e):(this.showWait(!1),this.showScanError((0,Te.__)("Scanner function not found.","accessibility-checker")))}runAccessibilityScanAndSave(e){const t=this,n=document.querySelector(".edac-highlight-panel-controls-summary");n&&(n.textContent=(0,Te.__)("Scanning...","accessibility-checker"),n.classList.remove("edac-error")),window.runAccessibilityScan().then((n=>{const i=window.edacFrontendHighlighterApp&&window.edacFrontendHighlighterApp.postID,o=window.edacFrontendHighlighterApp&&window.edacFrontendHighlighterApp.restNonce;return i&&o?n&&n.violations&&0!==n.violations.length?void t.saveScanResults(i,o,n.violations,e):(t.showWait(!1),void t.showScanError((0,Te.__)("No violations found, skipping save.","accessibility-checker"))):(t.showWait(!1),void t.showScanError((0,Te.__)("Missing postId or nonce.","accessibility-checker")))})).catch((()=>{t.showWait(!1),t.showScanError((0,Te.__)("Accessibility scan error.","accessibility-checker"))}))}saveScanResults(e,t,n,i){const o=this;fetch("/wp-json/accessibility-checker/v1/post-scan-results/"+e,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":t},body:JSON.stringify({violations:n,isSkipped:!1,isFailure:!1,densityMetrics:i})}).then((e=>e.json())).then((e=>{o.showWait(!1),e&&e.success||o.showScanError((0,Te.__)("Saving failed.","accessibility-checker"))})).catch((()=>{o.showWait(!1),o.showScanError((0,Te.__)("Error saving scan results.","accessibility-checker"))}))}rescanPage(){this._isRescanning||(this._isRescanning=!0,this.removeHighlightButtons(),this.kickoffScan(),setTimeout((()=>{this._isRescanning=!1,this.panelOpen()}),5e3))}clearIssues(){if(!confirm((0,Te.__)("This will clear all issues for this post. A save will be required to trigger a fresh scan of the post content. Do you want to continue?","accessibility-checker")))return;if(!this.clearIssuesButton)return;if(!edacFrontendHighlighterApp?.edacUrl||!edacFrontendHighlighterApp?.postID){const e=document.querySelector(".edac-highlight-panel-controls-summary");return void(e&&(e.textContent=(0,Te.__)("Error: Missing required parameters.","accessibility-checker"),e.classList.add("edac-error")))}this.clearIssuesButton.disabled=!0,this.clearIssuesButton.textContent=(0,Te.__)("Clearing...","accessibility-checker");const e=document.querySelector(".edac-highlight-panel-controls-summary");fetch(`${edacFrontendHighlighterApp.edacUrl}/wp-json/accessibility-checker/v1/clear-issues/${edacFrontendHighlighterApp.postID}`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":edacFrontendHighlighterApp.restNonce},body:JSON.stringify({id:edacFrontendHighlighterApp.postID,flush:!0})}).then((t=>{t.ok?(this.removeHighlightButtons(),this.issues=[],this.showIssueCount(),e&&(e.textContent=(0,Te.__)("Issues cleared successfully.","accessibility-checker"),e.classList.remove("edac-error"))):e&&(e.textContent=(0,Te.__)("Failed to clear issues.","accessibility-checker"),e.classList.add("edac-error"))})).catch((()=>{e&&(e.textContent=(0,Te.__)("An error occurred while clearing issues.","accessibility-checker"),e.classList.add("edac-error"))})).finally((()=>{this.clearIssuesButton.disabled=!1,this.clearIssuesButton.textContent=(0,Te.__)("Clear Issues","accessibility-checker")}))}showScanError(e){const t=document.querySelector(".edac-highlight-panel-controls-summary");t&&(t.textContent=e,t.classList.add("edac-error"))}}let $e=!1;const We=()=>{$e||(new je,window.edacFrontendHighlighterApp?.userCanFix&&Fe(),$e=!0)};["DOMContentLoaded","load"].forEach((e=>{window.addEventListener(e,We)}))})()})();2 (()=>{"use strict";(()=>{const e=Math.min,t=Math.max,n=Math.round,i=Math.floor,s=e=>({x:e,y:e});function o(e){return e.split("-")[0]}function r(e){return e.split("-")[1]}function a(e){return"y"===e?"height":"width"}function c(e){return["top","bottom"].includes(o(e))?"y":"x"}function l(e){return"x"===c(e)?"y":"x"}function d(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function u(e,t,n){let{reference:i,floating:s}=e;const d=c(t),u=l(t),h=a(u),p=o(t),f="y"===d,g=i.x+i.width/2-s.width/2,m=i.y+i.height/2-s.height/2,b=i[h]/2-s[h]/2;let y;switch(p){case"top":y={x:g,y:i.y-s.height};break;case"bottom":y={x:g,y:i.y+i.height};break;case"right":y={x:i.x+i.width,y:m};break;case"left":y={x:i.x-s.width,y:m};break;default:y={x:i.x,y:i.y}}switch(r(t)){case"start":y[u]-=b*(n&&f?-1:1);break;case"end":y[u]+=b*(n&&f?-1:1)}return y}function h(e){return g(e)?(e.nodeName||"").toLowerCase():"#document"}function p(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function f(e){var t;return null==(t=(g(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function g(e){return e instanceof Node||e instanceof p(e).Node}function m(e){return e instanceof Element||e instanceof p(e).Element}function b(e){return e instanceof HTMLElement||e instanceof p(e).HTMLElement}function y(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof p(e).ShadowRoot)}function v(e){const{overflow:t,overflowX:n,overflowY:i,display:s}=E(e);return/auto|scroll|overlay|hidden|clip/.test(t+i+n)&&!["inline","contents"].includes(s)}function w(e){return["table","td","th"].includes(h(e))}function x(e){const t=S(),n=E(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function S(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function k(e){return["html","body","#document"].includes(h(e))}function E(e){return p(e).getComputedStyle(e)}function _(e){return m(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function T(e){if("html"===h(e))return e;const t=e.assignedSlot||e.parentNode||y(e)&&e.host||f(e);return y(t)?t.host:t}function L(e){const t=T(e);return k(t)?e.ownerDocument?e.ownerDocument.body:e.body:b(t)&&v(t)?t:L(t)}function C(e,t,n){var i;void 0===t&&(t=[]),void 0===n&&(n=!0);const s=L(e),o=s===(null==(i=e.ownerDocument)?void 0:i.body),r=p(s);return o?t.concat(r,r.visualViewport||[],v(s)?s:[],r.frameElement&&n?C(r.frameElement):[]):t.concat(s,C(s,[],n))}function A(e){const t=E(e);let i=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const o=b(e),r=o?e.offsetWidth:i,a=o?e.offsetHeight:s,c=n(i)!==r||n(s)!==a;return c&&(i=r,s=a),{width:i,height:s,$:c}}function I(e){return m(e)?e:e.contextElement}function F(e){const t=I(e);if(!b(t))return s(1);const i=t.getBoundingClientRect(),{width:o,height:r,$:a}=A(t);let c=(a?n(i.width):i.width)/o,l=(a?n(i.height):i.height)/r;return c&&Number.isFinite(c)||(c=1),l&&Number.isFinite(l)||(l=1),{x:c,y:l}}const N=s(0);function D(e){const t=p(e);return S()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:N}function O(e,t,n,i){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),r=I(e);let a=s(1);t&&(i?m(i)&&(a=F(i)):a=F(e));const c=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==p(e))&&t}(r,n,i)?D(r):s(0);let l=(o.left+c.x)/a.x,u=(o.top+c.y)/a.y,h=o.width/a.x,f=o.height/a.y;if(r){const e=p(r),t=i&&m(i)?p(i):i;let n=e.frameElement;for(;n&&i&&t!==e;){const e=F(n),t=n.getBoundingClientRect(),i=E(n),s=t.left+(n.clientLeft+parseFloat(i.paddingLeft))*e.x,o=t.top+(n.clientTop+parseFloat(i.paddingTop))*e.y;l*=e.x,u*=e.y,h*=e.x,f*=e.y,l+=s,u+=o,n=p(n).frameElement}}return d({width:h,height:f,x:l,y:u})}function B(e){return O(f(e)).left+_(e).scrollLeft}function R(e,n,i){let o;if("viewport"===n)o=function(e,t){const n=p(e),i=f(e),s=n.visualViewport;let o=i.clientWidth,r=i.clientHeight,a=0,c=0;if(s){o=s.width,r=s.height;const e=S();(!e||e&&"fixed"===t)&&(a=s.offsetLeft,c=s.offsetTop)}return{width:o,height:r,x:a,y:c}}(e,i);else if("document"===n)o=function(e){const n=f(e),i=_(e),s=e.ownerDocument.body,o=t(n.scrollWidth,n.clientWidth,s.scrollWidth,s.clientWidth),r=t(n.scrollHeight,n.clientHeight,s.scrollHeight,s.clientHeight);let a=-i.scrollLeft+B(e);const c=-i.scrollTop;return"rtl"===E(s).direction&&(a+=t(n.clientWidth,s.clientWidth)-o),{width:o,height:r,x:a,y:c}}(f(e));else if(m(n))o=function(e,t){const n=O(e,!0,"fixed"===t),i=n.top+e.clientTop,o=n.left+e.clientLeft,r=b(e)?F(e):s(1);return{width:e.clientWidth*r.x,height:e.clientHeight*r.y,x:o*r.x,y:i*r.y}}(n,i);else{const t=D(e);o={...n,x:n.x-t.x,y:n.y-t.y}}return d(o)}function P(e,t){const n=T(e);return!(n===t||!m(n)||k(n))&&("fixed"===E(n).position||P(n,t))}function q(e,t,n){const i=b(t),o=f(t),r="fixed"===n,a=O(e,!0,r,t);let c={scrollLeft:0,scrollTop:0};const l=s(0);if(i||!i&&!r)if(("body"!==h(t)||v(o))&&(c=_(t)),i){const e=O(t,!0,r,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=B(o));return{x:a.left+c.scrollLeft-l.x,y:a.top+c.scrollTop-l.y,width:a.width,height:a.height}}function H(e,t){return b(e)&&"fixed"!==E(e).position?t?t(e):e.offsetParent:null}function $(e,t){const n=p(e);if(!b(e))return n;let i=H(e,t);for(;i&&w(i)&&"static"===E(i).position;)i=H(i,t);return i&&("html"===h(i)||"body"===h(i)&&"static"===E(i).position&&!x(i))?n:i||function(e){let t=T(e);for(;b(t)&&!k(t);){if(x(t))return t;t=T(t)}return null}(e)||n}const M={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:i}=e;const o=b(n),r=f(n);if(n===r)return t;let a={scrollLeft:0,scrollTop:0},c=s(1);const l=s(0);if((o||!o&&"fixed"!==i)&&(("body"!==h(n)||v(r))&&(a=_(n)),b(n))){const e=O(n);c=F(n),l.x=e.x+n.clientLeft,l.y=e.y+n.clientTop}return{width:t.width*c.x,height:t.height*c.y,x:t.x*c.x-a.scrollLeft*c.x+l.x,y:t.y*c.y-a.scrollTop*c.y+l.y}},getDocumentElement:f,getClippingRect:function(n){let{element:i,boundary:s,rootBoundary:o,strategy:r}=n;const a=[..."clippingAncestors"===s?function(e,t){const n=t.get(e);if(n)return n;let i=C(e,[],!1).filter((e=>m(e)&&"body"!==h(e))),s=null;const o="fixed"===E(e).position;let r=o?T(e):e;for(;m(r)&&!k(r);){const t=E(r),n=x(r);n||"fixed"!==t.position||(s=null),(o?!n&&!s:!n&&"static"===t.position&&s&&["absolute","fixed"].includes(s.position)||v(r)&&!n&&P(e,r))?i=i.filter((e=>e!==r)):s=t,r=T(r)}return t.set(e,i),i}(i,this._c):[].concat(s),o],c=a[0],l=a.reduce(((n,s)=>{const o=R(i,s,r);return n.top=t(o.top,n.top),n.right=e(o.right,n.right),n.bottom=e(o.bottom,n.bottom),n.left=t(o.left,n.left),n}),R(i,c,r));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:$,getElementRects:async function(e){let{reference:t,floating:n,strategy:i}=e;const s=this.getOffsetParent||$,o=this.getDimensions;return{reference:q(t,await s(n),i),floating:{x:0,y:0,...await o(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return A(e)},getScale:F,isElement:m,isRTL:function(e){return"rtl"===E(e).direction}};function j(n,s,o,r){void 0===r&&(r={});const{ancestorScroll:a=!0,ancestorResize:c=!0,elementResize:l="function"==typeof ResizeObserver,layoutShift:d="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,h=I(n),p=a||c?[...h?C(h):[],...C(s)]:[];p.forEach((e=>{a&&e.addEventListener("scroll",o,{passive:!0}),c&&e.addEventListener("resize",o)}));const g=h&&d?function(n,s){let o,r=null;const a=f(n);function c(){clearTimeout(o),r&&r.disconnect(),r=null}return function l(d,u){void 0===d&&(d=!1),void 0===u&&(u=1),c();const{left:h,top:p,width:f,height:g}=n.getBoundingClientRect();if(d||s(),!f||!g)return;const m={rootMargin:-i(p)+"px "+-i(a.clientWidth-(h+f))+"px "+-i(a.clientHeight-(p+g))+"px "+-i(h)+"px",threshold:t(0,e(1,u))||1};let b=!0;function y(e){const t=e[0].intersectionRatio;if(t!==u){if(!b)return l();t?l(!1,t):o=setTimeout((()=>{l(!1,1e-7)}),100)}b=!1}try{r=new IntersectionObserver(y,{...m,root:a.ownerDocument})}catch(e){r=new IntersectionObserver(y,m)}r.observe(n)}(!0),c}(h,o):null;let m,b=-1,y=null;l&&(y=new ResizeObserver((e=>{let[t]=e;t&&t.target===h&&y&&(y.unobserve(s),cancelAnimationFrame(b),b=requestAnimationFrame((()=>{y&&y.observe(s)}))),o()})),h&&!u&&y.observe(h),y.observe(s));let v=u?O(n):null;return u&&function e(){const t=O(n);!v||t.x===v.x&&t.y===v.y&&t.width===v.width&&t.height===v.height||o();v=t,m=requestAnimationFrame(e)}(),o(),()=>{p.forEach((e=>{a&&e.removeEventListener("scroll",o),c&&e.removeEventListener("resize",o)})),g&&g(),y&&y.disconnect(),y=null,u&&cancelAnimationFrame(m)}}const W=(e,t,n)=>{const i=new Map,s={platform:M,...n},o={...s.platform,_c:i};return(async(e,t,n)=>{const{placement:i="bottom",strategy:s="absolute",middleware:o=[],platform:r}=n,a=o.filter(Boolean),c=await(null==r.isRTL?void 0:r.isRTL(t));let l=await r.getElementRects({reference:e,floating:t,strategy:s}),{x:d,y:h}=u(l,i,c),p=i,f={},g=0;for(let n=0;n<a.length;n++){const{name:o,fn:m}=a[n],{x:b,y,data:v,reset:w}=await m({x:d,y:h,initialPlacement:i,placement:p,strategy:s,middlewareData:f,rects:l,platform:r,elements:{reference:e,floating:t}});d=null!=b?b:d,h=null!=y?y:h,f={...f,[o]:{...f[o],...v}},w&&g<=50&&(g++,"object"==typeof w&&(w.placement&&(p=w.placement),w.rects&&(l=!0===w.rects?await r.getElementRects({reference:e,floating:t,strategy:s}):w.rects),({x:d,y:h}=u(l,p,c))),n=-1)}return{x:d,y:h,placement:p,strategy:s,middlewareData:f}})(e,t,{...s,platform:o})};var G=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],U=G.join(","),V="undefined"==typeof Element,K=V?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,z=!V&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Y=function e(t,n){var i;void 0===n&&(n=!0);var s=null==t||null===(i=t.getAttribute)||void 0===i?void 0:i.call(t,"inert");return""===s||"true"===s||n&&t&&e(t.parentNode)},X=function(e,t,n){if(Y(e))return[];var i=Array.prototype.slice.apply(e.querySelectorAll(U));return t&&K.call(e,U)&&i.unshift(e),i=i.filter(n)},J=function e(t,n,i){for(var s=[],o=Array.from(t);o.length;){var r=o.shift();if(!Y(r,!1))if("SLOT"===r.tagName){var a=r.assignedElements(),c=e(a.length?a:r.children,!0,i);i.flatten?s.push.apply(s,c):s.push({scopeParent:r,candidates:c})}else{K.call(r,U)&&i.filter(r)&&(n||!t.includes(r))&&s.push(r);var l=r.shadowRoot||"function"==typeof i.getShadowRoot&&i.getShadowRoot(r),d=!Y(l,!1)&&(!i.shadowRootFilter||i.shadowRootFilter(r));if(l&&d){var u=e(!0===l?r.children:l.children,!0,i);i.flatten?s.push.apply(s,u):s.push({scopeParent:r,candidates:u})}else o.unshift.apply(o,r.children)}}return s},Q=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Z=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Q(e)?0:e.tabIndex},ee=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},te=function(e){return"INPUT"===e.tagName},ne=function(e){return function(e){return te(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||z(e),i=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=i(window.CSS.escape(e.name));else try{t=i(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var s=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!s||s===e}(e)},ie=function(e){var t=e.getBoundingClientRect(),n=t.width,i=t.height;return 0===n&&0===i},se=function(e,t){var n=t.displayCheck,i=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var s=K.call(e,"details>summary:first-of-type")?e.parentElement:e;if(K.call(s,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return ie(e)}else{if("function"==typeof i){for(var o=e;e;){var r=e.parentElement,a=z(e);if(r&&!r.shadowRoot&&!0===i(r))return ie(e);e=e.assignedSlot?e.assignedSlot:r||a===e.ownerDocument?r:a.host}e=o}if(function(e){var t,n,i,s,o=e&&z(e),r=null===(t=o)||void 0===t?void 0:t.host,a=!1;if(o&&o!==e)for(a=!!(null!==(n=r)&&void 0!==n&&null!==(i=n.ownerDocument)&&void 0!==i&&i.contains(r)||null!=e&&null!==(s=e.ownerDocument)&&void 0!==s&&s.contains(e));!a&&r;){var c,l,d;a=!(null===(l=r=null===(c=o=z(r))||void 0===c?void 0:c.host)||void 0===l||null===(d=l.ownerDocument)||void 0===d||!d.contains(r))}return a}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1},oe=function(e,t){return!(t.disabled||Y(t)||function(e){return te(e)&&"hidden"===e.type}(t)||se(t,e)||function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}))}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var i=t.children.item(n);if("LEGEND"===i.tagName)return!!K.call(t,"fieldset[disabled] *")||!i.contains(e)}return!0}t=t.parentElement}return!1}(t))},re=function(e,t){return!(ne(t)||Z(t)<0||!oe(e,t))},ae=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},ce=function e(t){var n=[],i=[];return t.forEach((function(t,s){var o=!!t.scopeParent,r=o?t.scopeParent:t,a=function(e,t){var n=Z(e);return n<0&&t&&!Q(e)?0:n}(r,o),c=o?e(t.candidates):r;0===a?o?n.push.apply(n,c):n.push(r):i.push({documentOrder:s,tabIndex:a,item:t,isScope:o,content:c})})),i.sort(ee).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==K.call(e,U)&&re(t,e)},de=G.concat("iframe").join(","),ue=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==K.call(e,de)&&oe(t,e)};function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){fe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function fe(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ge=function(e,t){if(e.length>0){var n=e[e.length-1];n!==t&&n.pause()}var i=e.indexOf(t);-1===i||e.splice(i,1),e.push(t)},me=function(e,t){var n=e.indexOf(t);-1!==n&&e.splice(n,1),e.length>0&&e[e.length-1].unpause()},be=function(e){return"Tab"===(null==e?void 0:e.key)||9===(null==e?void 0:e.keyCode)},ye=function(e){return be(e)&&!e.shiftKey},ve=function(e){return be(e)&&e.shiftKey},we=function(e){return setTimeout(e,0)},xe=function(e,t){var n=-1;return e.every((function(e,i){return!t(e)||(n=i,!1)})),n},Se=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return"function"==typeof e?e.apply(void 0,n):e},ke=function(e){return e.target.shadowRoot&&"function"==typeof e.composedPath?e.composedPath()[0]:e.target},Ee=[],_e=function(e,t){var n,i=(null==t?void 0:t.document)||document,s=(null==t?void 0:t.trapStack)||Ee,o=pe({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:ye,isKeyBackward:ve},t),r={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a=function(e,t,n){return e&&void 0!==e[t]?e[t]:o[n||t]},c=function(e,t){var n="function"==typeof(null==t?void 0:t.composedPath)?t.composedPath():void 0;return r.containerGroups.findIndex((function(t){var i=t.container,s=t.tabbableNodes;return i.contains(e)||(null==n?void 0:n.includes(i))||s.find((function(t){return t===e}))}))},l=function(e){var t=o[e];if("function"==typeof t){for(var n=arguments.length,s=new Array(n>1?n-1:0),r=1;r<n;r++)s[r-1]=arguments[r];t=t.apply(void 0,s)}if(!0===t&&(t=void 0),!t){if(void 0===t||!1===t)return t;throw new Error("`".concat(e,"` was specified but was not a node, or did not return a node"))}var a=t;if("string"==typeof t&&!(a=i.querySelector(t)))throw new Error("`".concat(e,"` as selector refers to no known node"));return a},d=function(){var e=l("initialFocus");if(!1===e)return!1;if(void 0===e||!ue(e,o.tabbableOptions))if(c(i.activeElement)>=0)e=i.activeElement;else{var t=r.tabbableGroups[0];e=t&&t.firstTabbableNode||l("fallbackFocus")}if(!e)throw new Error("Your focus-trap needs to have at least one focusable element");return e},u=function(){if(r.containerGroups=r.containers.map((function(e){var t=function(e,t){var n;return n=(t=t||{}).getShadowRoot?J([e],t.includeContainer,{filter:re.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ae}):X(e,t.includeContainer,re.bind(null,t)),ce(n)}(e,o.tabbableOptions),n=function(e,t){return(t=t||{}).getShadowRoot?J([e],t.includeContainer,{filter:oe.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):X(e,t.includeContainer,oe.bind(null,t))}(e,o.tabbableOptions),i=t.length>0?t[0]:void 0,s=t.length>0?t[t.length-1]:void 0,r=n.find((function(e){return le(e)})),a=n.slice().reverse().find((function(e){return le(e)})),c=!!t.find((function(e){return Z(e)>0}));return{container:e,tabbableNodes:t,focusableNodes:n,posTabIndexesFound:c,firstTabbableNode:i,lastTabbableNode:s,firstDomTabbableNode:r,lastDomTabbableNode:a,nextTabbableNode:function(e){var i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],s=t.indexOf(e);return s<0?i?n.slice(n.indexOf(e)+1).find((function(e){return le(e)})):n.slice(0,n.indexOf(e)).reverse().find((function(e){return le(e)})):t[s+(i?1:-1)]}}})),r.tabbableGroups=r.containerGroups.filter((function(e){return e.tabbableNodes.length>0})),r.tabbableGroups.length<=0&&!l("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(r.containerGroups.find((function(e){return e.posTabIndexesFound}))&&r.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},h=function e(t){var n=t.activeElement;if(n)return n.shadowRoot&&null!==n.shadowRoot.activeElement?e(n.shadowRoot):n},p=function e(t){!1!==t&&t!==h(document)&&(t&&t.focus?(t.focus({preventScroll:!!o.preventScroll}),r.mostRecentlyFocusedNode=t,function(e){return e.tagName&&"input"===e.tagName.toLowerCase()&&"function"==typeof e.select}(t)&&t.select()):e(d()))},f=function(e){var t=l("setReturnFocus",e);return t||!1!==t&&e},g=function(e){var t=e.target,n=e.event,i=e.isBackward,s=void 0!==i&&i;t=t||ke(n),u();var a=null;if(r.tabbableGroups.length>0){var d=c(t,n),h=d>=0?r.containerGroups[d]:void 0;if(d<0)a=s?r.tabbableGroups[r.tabbableGroups.length-1].lastTabbableNode:r.tabbableGroups[0].firstTabbableNode;else if(s){var p=xe(r.tabbableGroups,(function(e){var n=e.firstTabbableNode;return t===n}));if(p<0&&(h.container===t||ue(t,o.tabbableOptions)&&!le(t,o.tabbableOptions)&&!h.nextTabbableNode(t,!1))&&(p=d),p>=0){var f=0===p?r.tabbableGroups.length-1:p-1,g=r.tabbableGroups[f];a=Z(t)>=0?g.lastTabbableNode:g.lastDomTabbableNode}else be(n)||(a=h.nextTabbableNode(t,!1))}else{var m=xe(r.tabbableGroups,(function(e){var n=e.lastTabbableNode;return t===n}));if(m<0&&(h.container===t||ue(t,o.tabbableOptions)&&!le(t,o.tabbableOptions)&&!h.nextTabbableNode(t))&&(m=d),m>=0){var b=m===r.tabbableGroups.length-1?0:m+1,y=r.tabbableGroups[b];a=Z(t)>=0?y.firstTabbableNode:y.firstDomTabbableNode}else be(n)||(a=h.nextTabbableNode(t))}}else a=l("fallbackFocus");return a},m=function(e){var t=ke(e);c(t,e)>=0||(Se(o.clickOutsideDeactivates,e)?n.deactivate({returnFocus:o.returnFocusOnDeactivate}):Se(o.allowOutsideClick,e)||e.preventDefault())},b=function(e){var t=ke(e),n=c(t,e)>=0;if(n||t instanceof Document)n&&(r.mostRecentlyFocusedNode=t);else{var i;e.stopImmediatePropagation();var s=!0;if(r.mostRecentlyFocusedNode)if(Z(r.mostRecentlyFocusedNode)>0){var a=c(r.mostRecentlyFocusedNode),l=r.containerGroups[a].tabbableNodes;if(l.length>0){var u=l.findIndex((function(e){return e===r.mostRecentlyFocusedNode}));u>=0&&(o.isKeyForward(r.recentNavEvent)?u+1<l.length&&(i=l[u+1],s=!1):u-1>=0&&(i=l[u-1],s=!1))}}else r.containerGroups.some((function(e){return e.tabbableNodes.some((function(e){return Z(e)>0}))}))||(s=!1);else s=!1;s&&(i=g({target:r.mostRecentlyFocusedNode,isBackward:o.isKeyBackward(r.recentNavEvent)})),p(i||(r.mostRecentlyFocusedNode||d()))}r.recentNavEvent=void 0},y=function(e){if(!(t=e,"Escape"!==(null==t?void 0:t.key)&&"Esc"!==(null==t?void 0:t.key)&&27!==(null==t?void 0:t.keyCode)||!1===Se(o.escapeDeactivates,e)))return e.preventDefault(),void n.deactivate();var t;(o.isKeyForward(e)||o.isKeyBackward(e))&&function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];r.recentNavEvent=e;var n=g({event:e,isBackward:t});n&&(be(e)&&e.preventDefault(),p(n))}(e,o.isKeyBackward(e))},v=function(e){var t=ke(e);c(t,e)>=0||Se(o.clickOutsideDeactivates,e)||Se(o.allowOutsideClick,e)||(e.preventDefault(),e.stopImmediatePropagation())},w=function(){if(r.active)return ge(s,n),r.delayInitialFocusTimer=o.delayInitialFocus?we((function(){p(d())})):p(d()),i.addEventListener("focusin",b,!0),i.addEventListener("mousedown",m,{capture:!0,passive:!1}),i.addEventListener("touchstart",m,{capture:!0,passive:!1}),i.addEventListener("click",v,{capture:!0,passive:!1}),i.addEventListener("keydown",y,{capture:!0,passive:!1}),n},x=function(){if(r.active)return i.removeEventListener("focusin",b,!0),i.removeEventListener("mousedown",m,!0),i.removeEventListener("touchstart",m,!0),i.removeEventListener("click",v,!0),i.removeEventListener("keydown",y,!0),n},S="undefined"!=typeof window&&"MutationObserver"in window?new MutationObserver((function(e){e.some((function(e){return Array.from(e.removedNodes).some((function(e){return e===r.mostRecentlyFocusedNode}))}))&&p(d())})):void 0,k=function(){S&&(S.disconnect(),r.active&&!r.paused&&r.containers.map((function(e){S.observe(e,{subtree:!0,childList:!0})})))};return(n={get active(){return r.active},get paused(){return r.paused},activate:function(e){if(r.active)return this;var t=a(e,"onActivate"),n=a(e,"onPostActivate"),s=a(e,"checkCanFocusTrap");s||u(),r.active=!0,r.paused=!1,r.nodeFocusedBeforeActivation=i.activeElement,null==t||t();var o=function(){s&&u(),w(),k(),null==n||n()};return s?(s(r.containers.concat()).then(o,o),this):(o(),this)},deactivate:function(e){if(!r.active)return this;var t=pe({onDeactivate:o.onDeactivate,onPostDeactivate:o.onPostDeactivate,checkCanReturnFocus:o.checkCanReturnFocus},e);clearTimeout(r.delayInitialFocusTimer),r.delayInitialFocusTimer=void 0,x(),r.active=!1,r.paused=!1,k(),me(s,n);var i=a(t,"onDeactivate"),c=a(t,"onPostDeactivate"),l=a(t,"checkCanReturnFocus"),d=a(t,"returnFocus","returnFocusOnDeactivate");null==i||i();var u=function(){we((function(){d&&p(f(r.nodeFocusedBeforeActivation)),null==c||c()}))};return d&&l?(l(f(r.nodeFocusedBeforeActivation)).then(u,u),this):(u(),this)},pause:function(e){if(r.paused||!r.active)return this;var t=a(e,"onPause"),n=a(e,"onPostPause");return r.paused=!0,null==t||t(),x(),k(),null==n||n(),this},unpause:function(e){if(!r.paused||!r.active)return this;var t=a(e,"onUnpause"),n=a(e,"onPostUnpause");return r.paused=!1,null==t||t(),u(),w(),k(),null==n||n(),this},updateContainerElements:function(e){var t=[].concat(e).filter(Boolean);return r.containers=t.map((function(e){return"string"==typeof e?i.querySelector(e):e})),r.active&&u(),k(),this}}).updateContainerElements(e),n};const Te=wp.i18n,Le=e=>{const t={};e.querySelectorAll("input, select, textarea").forEach((e=>{e.addEventListener("change",(()=>{document.dispatchEvent(new CustomEvent("edac-fix-settings-change"))}));const n=e.getAttribute("data-fix-slug");if(n)if(void 0===t[n]&&(t[n]={}),"checkbox"===e.type)t[n][e.name]=e.checked;else t[n][e.name]=e.value}));const n=e.querySelectorAll("button");n.forEach((e=>{e.disabled=!0})),e.classList.add("edac-fix-settings--saving");const i=e.querySelector("[aria-live]");i&&(i.innerText=(0,Te.__)("Saving...","accessibility-checker")),fetch("/wp-json/edac/v1/fixes/update/",{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":window.edacSettings?.nonce??window.edac_script_vars?.restNonce??window.edacFrontendHighlighterApp?.restNonce},body:JSON.stringify(t)}).then((t=>{if(e.classList.remove("edac-fix-settings--saving"),n.forEach((e=>{e.disabled=!1})),t.ok){if(e.classList.remove("edac-fix-settings--saved--error"),e.classList.add("edac-fix-settings--saved--success"),i){const e=window?.edacFrontendHighlighterApp?.editorLink||window?.edac_script_vars?.editorLink;e?i.innerHTML=(0,Te.sprintf)((0,Te.__)("Settings saved successfully. You must %svisit the editor%s and save the post to rescan and remove fixed issues from Accessibility Checker reports.","accessibility-checker"),`<a href="${e}">`,"</a>"):i.innerText=(0,Te.__)("Settings saved successfully.","accessibility-checker")}}else e.classList.add("edac-fix-settings--saved--error"),e.querySelector("[aria-live]").innerText=(0,Te.__)("Saving failed.","accessibility-checker");document.dispatchEvent(new CustomEvent("edac-fix-settings-saved",{detail:{success:t.ok}}))}))};let Ce=null;const Ae=new Event("edac-fixes-modal-closed",{bubbles:!0}),Ie=[],Fe=()=>{(()=>{const e=document.createElement("div");e.id="edac-fixes-modal",e.classList.add("edac-fixes-modal"),e.setAttribute("role","dialog"),e.setAttribute("aria-modal","false"),e.setAttribute("aria-labelledby","edac-fixes-modal-title"),e.innerHTML=`\n\t\t<div class="edac-fixes-modal__content">\n\t\t\t<div class="edac-fixes-modal__header">\n\t\t\t\t<h2 id="edac-fixes-modal-title">${(0,Te.__)("Fix Settings","accessibility-checker")}</h2>\n\t\t\t\t<button class="edac-fixes-modal__close" aria-label="${(0,Te.__)("Close fixes modal","accessibility-checker")}">\n\t\t\t\t\t<span class="dashicons dashicons-no-alt"></span>\n\t\t\t\t</button>\n\t\t\t</div>\n\t\t\t<div class="edac-fixes-modal__body">\n\t\t\t</div>\n\t\t</div>\n\t`;const t=document.createElement("div");t.classList.add("edac-fixes-modal__overlay"),t.setAttribute("aria-hidden","true"),t.setAttribute("tabindex","-1"),document.body.appendChild(t),document.body.appendChild(e)})(),document.querySelector(".edac-fixes-modal__close").addEventListener("click",(()=>{Ne()})),document.addEventListener("keydown",(e=>{document.activeElement.closest(".edac-fixes-modal")&&"Escape"===e.key&&Ne()}))},Ne=()=>{const e=document.getElementById("edac-fixes-modal");e.classList.remove("edac-fixes-modal--open"),e.setAttribute("aria-hidden","true"),e.setAttribute("aria-modal","false");const t=e.querySelector(".edac-fix-settings--clone--wrapper").children[0];document.querySelector(".edac-fix-settings--origin-placeholder").replaceWith(t);Array.from(document.body.children).forEach((e=>{"true"===e.getAttribute("data-hidden-by-modal")&&(e.removeAttribute("aria-hidden","false"),e.removeAttribute("data-hidden-by-modal","false"))})),document.body.classList.remove("edac-fixes-modal--open"),Ce&&Ce.focus(),De(),document.dispatchEvent(Ae)},De=()=>{Ie.forEach((({field:e,changeListener:t})=>{e.removeEventListener("change",t)}))};class Oe{constructor(e={}){this.settings={showIgnored:!1,...e},this._scanAttempted=!1,this._isRescanning=!1,this.highlightPanel=this.addHighlightPanel(),this.nextButton=document.querySelector("#edac-highlight-next"),this.previousButton=document.querySelector("#edac-highlight-previous"),this.panelToggle=document.querySelector("#edac-highlight-panel-toggle"),this.closePanel=document.querySelector("#edac-highlight-panel-controls-close"),this.panelDescription=document.querySelector("#edac-highlight-panel-description"),this.panelControls=document.querySelector("#edac-highlight-panel-controls"),this.descriptionCloseButton=document.querySelector(".edac-highlight-panel-description-close"),this.issues=null,this.fixes=null,this.currentButtonIndex=null,this.urlParameter=this.get_url_parameter("edac"),this.landmarkParameter=this.get_url_parameter("edac_landmark"),this.currentIssueStatus=null,this.tooltips=[],this.panelControlsFocusTrap=_e("#"+this.panelControls.id,{clickOutsideDeactivates:!0,escapeDeactivates:()=>{this.panelClose()}}),this.panelDescriptionFocusTrap=_e("#"+this.panelDescription.id,{clickOutsideDeactivates:!0,escapeDeactivates:()=>{this.descriptionClose()}}),this.disableStylesButton=document.querySelector("#edac-highlight-disable-styles"),this.rescanButton=document.querySelector("#edac-highlight-rescan"),this.clearIssuesButton=document.querySelector("#edac-highlight-clear-issues"),this.stylesDisabled=!1,this.originalCss=[],this.originalInlineStyles=[],this.init()}init(){this.nextButton.addEventListener("click",(()=>{this.highlightFocusNext(),this.focusTrapDescription()})),this.previousButton.addEventListener("click",(()=>{this.highlightFocusPrevious(),this.focusTrapDescription()})),this.panelToggle.addEventListener("click",(()=>{this.panelOpen(),this.focusTrapControls()})),this.closePanel.addEventListener("click",(()=>{this.panelClose(),this.panelControlsFocusTrap.deactivate(),this.panelDescriptionFocusTrap.deactivate(),this.stylesDisabled&&this.enableStyles()})),this.descriptionCloseButton.addEventListener("click",(()=>this.descriptionClose())),this.disableStylesButton.addEventListener("click",(()=>{this.stylesDisabled?this.enableStyles():this.disableStyles()})),this.rescanButton&&this.rescanButton.addEventListener("click",(()=>{this.rescanPage()})),this.clearIssuesButton&&this.clearIssuesButton.addEventListener("click",(()=>{this.clearIssues()})),this.urlParameter?this.panelOpen(this.urlParameter):this.landmarkParameter&&this.highlightLandmark(this.landmarkParameter)}findElement(e,t){if(e.selector)try{const n=document.querySelector(e.selector);if(n){const i=this.addTooltip(n,e,t,this.issues.length);return this.issues[t].tooltip=i.tooltip,this.tooltips.push(i),n}}catch(e){}if(e.ancestry)try{const n=document.querySelector(e.ancestry);if(n){const i=this.addTooltip(n,e,t,this.issues.length);return this.issues[t].tooltip=i.tooltip,this.tooltips.push(i),n}}catch(e){}let n=e.object;const i=(new DOMParser).parseFromString(n,"text/html").body.firstElementChild;i&&(n=i.outerHTML);const s=document.body.querySelectorAll("*");for(const i of s)if(i.outerHTML.replace(/\W/g,"")===n.replace(/\W/g,"")){const n=this.addTooltip(i,e,t,this.issues.length);return this.issues[t].tooltip=n.tooltip,this.tooltips.push(n),i}return null}highlightAjax(){const e=this;return new Promise((function(t,n){const i=new XMLHttpRequest,s=edacFrontendHighlighterApp.ajaxurl+"?action=edac_frontend_highlight_ajax&post_id="+edacFrontendHighlighterApp.postID+"&nonce="+edacFrontendHighlighterApp.nonce;e.showWait(!0),i.open("GET",s),i.onload=function(){if(200===i.status){e.showWait(!1);const s=JSON.parse(i.responseText);if(!0===s.success){const n=JSON.parse(s.data);e.settings.showIgnored?t({issues:n.issues,fixes:n.fixes}):t({issues:n.issues.filter((t=>null!==t.rule_type&&(t.id===e.urlParameter||"ignored"!==t.rule_type))),fixes:n.fixes})}else e._scanAttempted||-3!==s.data?.[0]?.code?t({issues:[],fixes:[]}):(e._scanAttempted=!0,e.kickoffScan(),setTimeout((()=>{e.highlightAjax().then(t).catch(n)}),5e3))}else e.showWait(!1),n({status:i.status,statusText:i.statusText})},i.onerror=function(){e.showWait(!1),n({status:i.status,statusText:i.statusText})},i.send()}))}showWait(e=!0){e?document.querySelector("body").classList.add("edac-app-wait"):document.querySelector("body").classList.remove("edac-app-wait")}removeHighlightButtons(){this.tooltips.forEach((e=>{e.tooltip.removeEventListener("click",e.listeners.onClick),e.listeners.cleanup()}));document.querySelectorAll(".edac-highlight-btn").forEach((e=>{e.remove()})),this.removeLandmarkLabels()}addTooltip(e,t,n,i){const s=document.createElement("button");s.classList="edac-highlight-btn edac-highlight-btn-"+t.rule_type,s.setAttribute("aria-label",(0,Te.sprintf)((0,Te.__)("Open details for %1$s, %2$s of %3$s","accessibility-checker"),t.rule_title,n+1,i)),s.setAttribute("aria-expanded","false"),s.setAttribute("aria-haspopup","dialog"),s.dataset.id=t.id;const o=e=>{const t=e.currentTarget.dataset.id;this.showIssue(t)};s.addEventListener("click",o),document.body.append(s),e.__edacElementId||(e.__edacElementId="edac-"+Math.random().toString(36).substr(2,9)),s.dataset.targetElement=e.__edacElementId,s.dataset.creationOrder=Date.now()+Math.random();const r=j(e,s,(function(){const t=parseInt(s.dataset.sortedIndex||"0",10),n=s.dataset.targetElement;let i=0;const o=Array.from(document.querySelectorAll(".edac-highlight-btn"));for(const e of o){if(e===s)break;const o=parseInt(e.dataset.sortedIndex||"0",10);e.dataset.targetElement===n&&o<t&&i++}W(e,s,{placement:"top-start",middleware:[]}).then((({x:t,y:n})=>{const o=e.getBoundingClientRect(),r=void 0===e.offsetHeight?0:e.offsetHeight,a=void 0===s.offsetHeight?0:s.offsetHeight,c=void 0===s.offsetWidth?0:s.offsetWidth,l=t+i*(c+5);let d=n;0===r&&0===o.height&&(d=o.top+document.documentElement.scrollTop-a-5),Object.assign(s.style,{left:`${l}px`,top:`${d}px`})}))}),{ancestorScroll:!0,ancestorResize:!0,elementResize:!0,layoutShift:!0,animationFrame:!0});return{element:e,tooltip:s,listeners:{onClick:o,cleanup:r}}}addHighlightPanel(){const e=edacFrontendHighlighterApp?.widgetPosition||"right",t=edacFrontendHighlighterApp&&edacFrontendHighlighterApp?.userCanEdit&&edacFrontendHighlighterApp?.loggedIn,n=t?`<button id="edac-highlight-clear-issues" class="edac-highlight-clear-issues">${(0,Te.__)("Clear Issues","accessibility-checker")}</button>`:"",i=t?`<button id="edac-highlight-rescan" class="edac-highlight-rescan">${(0,Te.__)("Rescan This Page","accessibility-checker")}</button>`:"",s=`\n <div id="edac-highlight-panel" class="edac-highlight-panel edac-highlight-panel--${e}">\n <button id="edac-highlight-panel-toggle" class="edac-highlight-panel-toggle" aria-haspopup="dialog" aria-label="${(0,Te.__)("Accessibility Checker Tools","accessibility-checker")}"></button>\n <div id="edac-highlight-panel-description" class="edac-highlight-panel-description" role="dialog" aria-labelledby="edac-highlight-panel-description-title" tabindex="0">\n <button class="edac-highlight-panel-description-close edac-highlight-panel-controls-close" aria-label="${(0,Te.__)("Close","accessibility-checker")}">×</button>\n <div id="edac-highlight-panel-description-title" class="edac-highlight-panel-description-title"></div>\n <div class="edac-highlight-panel-description-content"></div>\n <div id="edac-highlight-panel-description-code" class="edac-highlight-panel-description-code"><code></code></div>\n </div>\n <div id="edac-highlight-panel-controls" class="edac-highlight-panel-controls" tabindex="0">\n <button id="edac-highlight-panel-controls-close" class="edac-highlight-panel-controls-close" aria-label="${(0,Te.__)("Close","accessibility-checker")}">×</button>\n <div class="edac-highlight-panel-controls-title">${(0,Te.__)("Accessibility Checker","accessibility-checker")}</div>\n <div class="edac-highlight-panel-controls-summary">${(0,Te.__)("Loading...","accessibility-checker")}</div>\n <div class="edac-highlight-panel-controls-buttons ${t?"":" single_button"}">\n <div>\n <button id="edac-highlight-previous" disabled="true"><span aria-hidden="true">« </span>${(0,Te.__)("Previous","accessibility-checker")}</button>\n <button id="edac-highlight-next" disabled="true">${(0,Te.__)("Next","accessibility-checker")}<span aria-hidden="true"> »</span></button><br />\n </div>\n <div>\n ${i}\n ${n}\n <button id="edac-highlight-disable-styles" class="edac-highlight-disable-styles" aria-live="polite" aria-label="${(0,Te.__)("Disable Page Styles","accessibility-checker")}">${(0,Te.__)("Disable Styles","accessibility-checker")}</button>\n </div>\n </div>\n </div>\n </div>\n `;return document.body.insertAdjacentHTML("afterbegin",s),document.getElementById("edac-highlight-panel")}highlightFocusNext=()=>{null===this.currentButtonIndex?this.currentButtonIndex=0:this.currentButtonIndex=(this.currentButtonIndex+1)%this.issues.length;const e=this.issues[this.currentButtonIndex].id;this.showIssue(e)};highlightFocusPrevious=()=>{null===this.currentButtonIndex?this.currentButtonIndex=this.issues.length-1:this.currentButtonIndex=(this.currentButtonIndex-1+this.issues.length)%this.issues.length;const e=this.issues[this.currentButtonIndex].id;this.showIssue(e)};focusTrapControls=()=>{this.panelDescriptionFocusTrap.deactivate(),this.panelControlsFocusTrap.activate(),setTimeout((()=>{this.panelControls.focus()}),100)};focusTrapDescription=()=>{this.panelControlsFocusTrap.deactivate(),this.panelDescriptionFocusTrap.activate(),setTimeout((()=>{this.panelDescription.focus()}),100)};showIssue=e=>{if(this.removeSelectedClasses(),void 0===e)return;const t=this.issues.find((t=>t.id===e));this.currentButtonIndex=this.issues.findIndex((t=>t.id===e));const n=t.tooltip,i=t.element;n&&i?(n.classList.add("edac-highlight-btn-selected"),i.classList.add("edac-highlight-element-selected"),i.offsetWidth<20&&i.classList.add("edac-highlight-element-selected-min-width"),i.offsetHeight<5&&i.classList.add("edac-highlight-element-selected-min-height"),i.scrollIntoView({block:"center"}),ue(n)?this.checkVisibility(n)&&this.checkVisibility(i)?this.currentIssueStatus=null:this.currentIssueStatus=(0,Te.__)("The element is not visible. Try disabling styles.","accessibility-checker"):this.currentIssueStatus=(0,Te.__)("The element is not focusable. Try disabling styles.","accessibility-checker")):this.currentIssueStatus=(0,Te.__)("The element was not found on the page.","accessibility-checker"),this.descriptionOpen(e)};checkVisibility=e=>"function"!=typeof e.checkVisibility?!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length):e.checkVisibility({checkOpacity:!0,checkVisibilityCSS:!0});panelOpen(e){this.highlightPanel.classList.add("edac-highlight-panel-visible"),this.panelControls.style.display="block",this.panelToggle.style.display="none",this.nextButton.disabled=!0,this.previousButton.disabled=!0,this.highlightAjax().then((t=>{this.issues=t.issues,this.fixes=t.fixes,t.issues.forEach(function(e,t){const n=this.findElement(e,t);null!==n&&(this.issues[t].element=n)}.bind(this)),this.issues.sort(((e,t)=>{if(!e.element&&t.element)return 1;if(e.element&&!t.element)return-1;if(!e.element&&!t.element)return 0;const n=e.element.compareDocumentPosition(t.element);if(n&Node.DOCUMENT_POSITION_FOLLOWING)return-1;if(n&Node.DOCUMENT_POSITION_PRECEDING)return 1;return parseInt(e.id,10)-parseInt(t.id,10)})),this.issues.forEach(((e,t)=>{e.tooltip&&(e.tooltip.dataset.sortedIndex=t,e.tooltip.setAttribute("aria-label",(0,Te.sprintf)((0,Te.__)("Open details for %1$s, %2$s of %3$s","accessibility-checker"),e.rule_title,t+1,this.issues.length)))})),this.showIssueCount(),void 0!==e&&(this.showIssue(e),this.focusTrapDescription())})).catch((e=>{const t=document.querySelector(".edac-highlight-panel-controls-summary");t&&(t.textContent=(0,Te.__)("An error occurred when loading the issues.","accessibility-checker"))}))}panelClose(){this.highlightPanel.classList.remove("edac-highlight-panel-visible"),this.panelControls.style.display="none",this.panelDescription.style.display="none",this.panelToggle.style.display="block",this.removeSelectedClasses(),this.removeHighlightButtons(),this.closePanel.removeEventListener("click",this.panelControlsFocusTrap.deactivate),this.panelToggle.focus()}removeSelectedClasses=()=>{document.querySelectorAll(".edac-highlight-btn-selected").forEach((e=>{e.classList.remove("edac-highlight-btn-selected")}));document.querySelectorAll(".edac-highlight-element-selected").forEach((e=>{e.classList.remove("edac-highlight-element-selected","edac-highlight-element-selected-min-width","edac-highlight-element-selected-min-height"),0===e.classList.length&&e.removeAttribute("class")})),this.removeLandmarkLabels()};descriptionOpen(e){const t=e,n=this.issues.find((e=>e.id===t));if(n){const e=document.querySelector(".edac-highlight-panel-description-title"),t=document.querySelector(".edac-highlight-panel-description-content"),i=document.querySelector(".edac-highlight-panel-description-code code");let s="";s+=` <div class="edac-highlight-panel-description-index">${this.currentButtonIndex+1} of ${this.issues.length}</div>`,this.currentIssueStatus&&(s+=` <div class="edac-highlight-panel-description-status">${this.currentIssueStatus}</div>`),n.summary&&(s+=`<p class="edac-highlight-panel-description-summary">${n.summary}</p>`),n.how_to_fix&&(s+=`<div class="edac-highlight-panel-description-how-to-fix">\n\t\t\t\t\t<div class="edac-highlight-panel-description-how-to-fix-title">How to fix it:</div>\n\t\t\t\t\t<p class="edac-highlight-panel-description-how-to-fix-content">${n.how_to_fix}</p>\n\t\t\t\t</div>`),this.fixes[n.slug]&&window.edacFrontendHighlighterApp?.userCanFix?(s+=`\n\t\t\t\t\t<div style="display:none;" class="always-hide">\n\t\t\t\t\t\t<div class="edac-fix-settings">\n\t\t\t\t\t\t\t<div class="edac-fix-settings--fields">\n\t\t\t\t\t\t\t\t${this.fixes[n.slug].fields}\n\t\t\t\t\t\t\t\t<div class="edac-fix-settings--action-row">\n\t\t\t\t\t\t\t\t\t<button role="button" class="button button-primary edac-fix-settings--button--save">\n\t\t\t\t\t\t\t\t\t\t${(0,Te.__)("Save","accessibility-checker")}\n\t\t\t\t\t\t\t\t\t</button>\n\t\t\t\t\t\t\t\t\t<span class="edac-fix-settings--notice-slot" aria-live="polite" role="alert"></span>\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t</div>\n\t\t\t\t\t</div>\n\t\t\t\t`,s+=` <br />\n \t\t\t\t\t<button role="button"\n \t\t\t\t\t\tclass="edac-fix-settings--button--open edac-highlight-panel-description--button"\n \t\t\t\t\t\taria-haspopup="true"\n \t\t\t\t\t\taria-controls="edac-highlight-panel-description-fix"\n\t\t\t\t\t\taria-label="${(0,Te.sprintf)((0,Te.__)("Fix issue: %s","accessibility-checker"),this.fixes[n.slug][Object.keys(this.fixes[n.slug])[0]].group_name)}"> \t\t\t\t\t\t${(0,Te.__)("Fix Issue","accessibility-checker")}</button>`):s+=" <br />",s+=`<a class="edac-highlight-panel-description-reference" href="${n.link}">${(0,Te.__)("Full Documentation","accessibility-checker")}</a>`,s+=`<button class="edac-highlight-panel-description-code-button" aria-expanded="false" aria-controls="edac-highlight-panel-description-code">${(0,Te.__)("Show Code","accessibility-checker")}</button>`,e.innerHTML=n.rule_title+' <span class="edac-highlight-panel-description-type edac-highlight-panel-description-type-'+n.rule_type+'" aria-label="'+(0,Te.__)("Issue type:","accessibility-checker")+" "+n.rule_type+'"> '+n.rule_type+"</span>",t.innerHTML=s;const o=n.object,r=(new DOMParser).parseFromString(o,"text/html").body.firstElementChild;if(r)i.innerText=r.outerHTML;else{const e=document.createTextNode(n.object);i.innerText=e.nodeValue}this.fixes[n.slug]&&window.edacFrontendHighlighterApp?.userCanFix&&(this.fixSettingsButton=document.querySelector(".edac-fix-settings--button--open"),this.fixSettingsButton.addEventListener("click",(e=>{this.showFixSettings(e)})),this.fixSettingsButton.display="block",this.fixSettingsSaveButton=document.querySelector(".edac-fix-settings--button--save"),this.fixSettingsSaveButton.addEventListener("click",(e=>{Le(e.target.closest(".edac-fix-settings"))}))),this.codeContainer=document.querySelector(".edac-highlight-panel-description-code"),this.codeButton=document.querySelector(".edac-highlight-panel-description-code-button"),this.codeButton.addEventListener("click",(()=>this.codeToggle())),this.codeContainer.style.display="none",this.panelDescription.style.display="block"}}descriptionClose(){this.panelDescription.style.display="none",this.focusTrapControls()}disableStyles(){if(!document.querySelector("#edac-app-css")){const e=document.createElement("link");e.rel="stylesheet",e.id="edac-app-css",e.type="text/css",e.href=edacFrontendHighlighterApp.appCssUrl,e.media="all",document.head.appendChild(e)}this.originalInlineStyles=[];document.querySelectorAll('*[style]:not([class^="edac"])').forEach((e=>{this.originalInlineStyles.push({element:e,style:e.getAttribute("style")}),e.removeAttribute("style")}));const e=Array.from(document.querySelectorAll('style[type="text/css"], style, link[rel="stylesheet"], link[href$=".css"], link[href*=".css?"]'));this.originalCss=e.filter((e=>"edac-app-css"!==e.id&&"dashicons-css"!==e.id)).map((e=>{const t=e.parentNode;let n=e.nextElementSibling;for(;n;){const e="STYLE"===n.tagName,t="LINK"===n.tagName&&(n.matches('[rel="stylesheet"]')||n.matches('[href$=".css"]')||n.matches('[href*=".css?"]')),i="edac-app-css"===n.id||"dashicons-css"===n.id;if(!e&&!t||i)break;n=n.nextElementSibling}return{element:e,parent:t,nextSibling:n}})),this.originalCss.forEach((e=>{e.element.remove()})),document.querySelector("body").classList.add("edac-app-disable-styles"),this.stylesDisabled=!0,this.disableStylesButton.textContent=(0,Te.__)("Enable Styles","accessibility-checker")}enableStyles(){[...this.originalCss].reverse().forEach((e=>{const t=e.parent&&e.parent.isConnected?e.parent:document.head;e.nextSibling&&e.nextSibling.parentNode===t?t.insertBefore(e.element,e.nextSibling):t.appendChild(e.element)})),this.originalInlineStyles&&this.originalInlineStyles.forEach((e=>{e.element&&e.element.isConnected&&e.element.setAttribute("style",e.style)})),document.querySelector("body").classList.remove("edac-app-disable-styles"),this.stylesDisabled=!1,this.disableStylesButton.textContent=(0,Te.__)("Disable Styles","accessibility-checker")}get_url_parameter(e){const t=window.location.search.substring(1).split("&");let n,i;for(i=0;i<t.length;i++)if(n=t[i].split("="),n[0]===e)return void 0===n[1]||decodeURIComponent(n[1]);return!1}codeToggle(){"none"===this.codeContainer.style.display||""===this.codeContainer.style.display?(this.codeContainer.style.display="block",this.codeButton.setAttribute("aria-expanded","true")):(this.codeContainer.style.display="none",this.codeButton.setAttribute("aria-expanded","false"))}showFixSettings(e){const t=e.target.closest(".edac-highlight-panel-description-content").querySelector(".edac-fix-settings");if(!t)return;const n=document.createElement("span");n.classList.add("edac-fix-settings--origin-placeholder"),t.parentNode.insertBefore(n,t),t.remove(),((e="",t="")=>{""===t&&((t=document.createElement("p")).innerText=(0,Te.__)("There are no settings to display.","accessibility-checker"));const n=document.createElement("div");n.classList.add("edac-fix-settings--clone--wrapper"),n.appendChild(t);let i=n.querySelector("[data-fancy-name]")?.getAttribute("data-fancy-name")||"";""===i&&(i=n.querySelector("[data-group-name]")?.getAttribute("data-group-name")||"");const s=document.getElementById("edac-fixes-modal"),o=s.querySelector("#edac-fixes-modal-title"),r=s.querySelector(".edac-fixes-modal__body");o.innerText=i,r.innerHTML=e,r.appendChild(n),s.querySelectorAll("input, select, textarea").forEach((e=>{const t=()=>{document.dispatchEvent(new CustomEvent("edac-fix-settings-change"))};e.addEventListener("change",t),Ie.push({field:e,changeListener:t})})),s.querySelector(".edac-fix-settings--button--save").addEventListener("click",(()=>{Le(r.querySelector(".edac-fix-settings--fields"))})),document.addEventListener("edac-fix-settings-change",(()=>{s.querySelector("[aria-live]").innerText=""}))})(`<p class="modal-opening-message">${(0,Te.__)("These settings enable global fixes across your entire site. Pages may need to be resaved or a full site scan run to see fixes reflected in reports.","accessibility-checker")}</p>`,t),this.panelDescriptionFocusTrap.pause(),(e=>{const t=document.getElementById("edac-fixes-modal");t.classList.add("edac-fixes-modal--open"),t.setAttribute("aria-hidden","false"),t.setAttribute("aria-modal","true"),Array.from(document.body.children).forEach((e=>{"edac-fixes-modal"===e.id||e.classList.contains("edac-fixes-modal__overlay")||!0!==e.getAttribute("aria-hidden")&&(e.setAttribute("aria-hidden","true"),e.setAttribute("data-hidden-by-modal","true"))})),document.body.classList.add("edac-fixes-modal--open"),Ce=e;const n=t.querySelector(".edac-fixes-modal__body").querySelector('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');n&&setTimeout((()=>{n.focus()}),100),t.addEventListener("keydown",(e=>{if("Tab"===e.key){const n=t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'),i=n[0],s=n[n.length-1];e.shiftKey&&document.activeElement===i?(e.preventDefault(),s.focus()):e.shiftKey||document.activeElement!==s||(e.preventDefault(),i.focus())}}))})(e.target),document.addEventListener("edac-fixes-modal-closed",(()=>{this.panelDescriptionFocusTrap.unpause()}))}countIssues(e){let t=0;for(const n of this.issues)n.rule_type===e&&t++;return t}countIgnored(){let e=0;for(const t of this.issues)"1"===t.ignored&&e++;return e}showIssueCount(){const e=this.countIssues("error"),t=this.countIssues("warning"),n=this.countIgnored(),i=document.querySelector(".edac-highlight-panel-controls-summary");let s=(0,Te.__)("No issues detected.","accessibility-checker");(e>0||t>0||n>0)&&(s="",this.nextButton.disabled=!1,this.previousButton.disabled=!1,e>=0&&(s+=e+" "+(0,Te._n)("error","errors",e,"accessibility-checker")+", "),t>=0&&(s+=t+" "+(0,Te._n)("warning","warnings",t,"accessibility-checker")+", "),n>0?s+=(0,Te.__)("and","accessibility-checker")+" "+n+" "+(0,Te._n)("ignored issue","ignored issues",n,"accessibility-checker")+" "+(0,Te.__)("detected.","accessibility-checker"):s=s.slice(0,-2)+" "+(0,Te.__)("detected.","accessibility-checker")),i.textContent=s}highlightLandmark(e){try{const t=atob(e);let n=null;try{n=document.querySelector(t)}catch(e){}if(!n){const e=[t.replace(/:nth-child\(\d+\)/g,"").replace(/\s+>\s+/g," "),t.split(" > ").pop(),t.replace(/\.[^:\s>]+/g,"")];for(const t of e)if(t&&t.trim())try{if(n=document.querySelector(t.trim()),n)break}catch(e){}}if(n){this.removeLandmarkLabels(),n.classList.add("edac-highlight-element-selected"),n.classList.add("edac-landmark-highlight");const e=this.getLandmarkType(n),t=document.createElement("div");t.classList.add("edac-landmark-label"),t.textContent=(0,Te.sprintf)((0,Te.__)("Landmark: %s","accessibility-checker"),e),t.setAttribute("aria-hidden","true"),t.style.cssText="\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tbackground: #072446;\n\t\t\t\t\tcolor: white;\n\t\t\t\t\tpadding: 4px 8px;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\tfont-weight: bold;\n\t\t\t\t\tborder-radius: 3px;\n\t\t\t\t\tz-index: 99998;\n\t\t\t\t\tpointer-events: none;\n\t\t\t\t\tfont-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;\n\t\t\t\t\tline-height: 1;\n\t\t\t\t\tbox-shadow: 0 2px 4px rgba(0,0,0,0.2);\n\t\t\t\t";const i=n.getBoundingClientRect();t.style.left=i.left+window.scrollX-0+"px",t.style.top=i.top+window.scrollY-0+"px",document.body.appendChild(t),n.setAttribute("data-edac-landmark-label-id",Date.now()),t.setAttribute("data-edac-landmark-for",n.getAttribute("data-edac-landmark-label-id")),n.offsetWidth<20&&n.classList.add("edac-highlight-element-selected-min-width"),n.offsetHeight<5&&n.classList.add("edac-highlight-element-selected-min-height");const s=n.getBoundingClientRect().top+window.scrollY-75;window.scrollTo({top:s,behavior:"smooth"})}}catch(e){}}getLandmarkType(e){const t=e.getAttribute("role");if(t)switch(t.toLowerCase()){case"banner":return"Header";case"navigation":return"Navigation";case"main":return"Main";case"complementary":return"Complementary";case"contentinfo":return"Footer";case"search":return"Search";case"form":return"Form";case"region":return"Region";default:return t.charAt(0).toUpperCase()+t.slice(1)}switch(e.tagName.toLowerCase()){case"header":return"Header";case"nav":return"Navigation";case"main":return"Main";case"aside":return"Complementary";case"footer":return"Footer";case"section":return e.getAttribute("aria-label")||e.getAttribute("aria-labelledby")||e.querySelector("h1, h2, h3, h4, h5, h6")?"Region":"Section";case"form":return e.getAttribute("aria-label")||e.getAttribute("aria-labelledby")?"Form":"Form (unlabeled)";default:return"Landmark"}}removeLandmarkLabels(){document.querySelectorAll(".edac-landmark-label").forEach((e=>{e.remove()}));document.querySelectorAll(".edac-landmark-highlight").forEach((e=>{e.classList.remove("edac-landmark-highlight"),e.removeAttribute("data-edac-landmark-label-id")}))}kickoffScan(){const e={elementCount:document.body.getElementsByTagName("*").length,contentLength:document.body.innerText.length},t=this,n="edac-accessibility-checker-scanner-script";if(document.getElementById(n))t._runScanOrShowError(e);else{const i=document.createElement("script");i.src=window.edacFrontendHighlighterApp?.scannerBundleUrl||"/wp-content/plugins/accessibility-checker/build/pageScanner.bundle.js",i.id=n,i.onload=function(){setTimeout((()=>{t._runScanOrShowError(e)}),100)},i.onerror=function(){t.showWait(!1),t.showScanError("Failed to load scanner script.")},document.head.appendChild(i)}}_runScanOrShowError(e){window.runAccessibilityScan?this.runAccessibilityScanAndSave(e):(this.showWait(!1),this.showScanError((0,Te.__)("Scanner function not found.","accessibility-checker")))}runAccessibilityScanAndSave(e){const t=this,n=document.querySelector(".edac-highlight-panel-controls-summary");n&&(n.textContent=(0,Te.__)("Scanning...","accessibility-checker"),n.classList.remove("edac-error")),window.runAccessibilityScan().then((n=>{const i=window.edacFrontendHighlighterApp&&window.edacFrontendHighlighterApp.postID,s=window.edacFrontendHighlighterApp&&window.edacFrontendHighlighterApp.restNonce;return i&&s?n&&n.violations&&0!==n.violations.length?void t.saveScanResults(i,s,n.violations,e):(t.showWait(!1),void t.showScanError((0,Te.__)("No violations found, skipping save.","accessibility-checker"))):(t.showWait(!1),void t.showScanError((0,Te.__)("Missing postId or nonce.","accessibility-checker")))})).catch((()=>{t.showWait(!1),t.showScanError((0,Te.__)("Accessibility scan error.","accessibility-checker"))}))}saveScanResults(e,t,n,i){const s=this;fetch("/wp-json/accessibility-checker/v1/post-scan-results/"+e,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":t},body:JSON.stringify({violations:n,isSkipped:!1,isFailure:!1,densityMetrics:i})}).then((e=>e.json())).then((e=>{s.showWait(!1),e&&e.success||s.showScanError((0,Te.__)("Saving failed.","accessibility-checker"))})).catch((()=>{s.showWait(!1),s.showScanError((0,Te.__)("Error saving scan results.","accessibility-checker"))}))}rescanPage(){this._isRescanning||(this._isRescanning=!0,this.removeHighlightButtons(),this.kickoffScan(),setTimeout((()=>{this._isRescanning=!1,this.panelOpen()}),5e3))}clearIssues(){if(!confirm((0,Te.__)("This will clear all issues for this post. A save will be required to trigger a fresh scan of the post content. Do you want to continue?","accessibility-checker")))return;if(!this.clearIssuesButton)return;if(!edacFrontendHighlighterApp?.edacUrl||!edacFrontendHighlighterApp?.postID){const e=document.querySelector(".edac-highlight-panel-controls-summary");return void(e&&(e.textContent=(0,Te.__)("Error: Missing required parameters.","accessibility-checker"),e.classList.add("edac-error")))}this.clearIssuesButton.disabled=!0,this.clearIssuesButton.textContent=(0,Te.__)("Clearing...","accessibility-checker");const e=document.querySelector(".edac-highlight-panel-controls-summary");fetch(`${edacFrontendHighlighterApp.edacUrl}/wp-json/accessibility-checker/v1/clear-issues/${edacFrontendHighlighterApp.postID}`,{method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":edacFrontendHighlighterApp.restNonce},body:JSON.stringify({id:edacFrontendHighlighterApp.postID,flush:!0})}).then((t=>{t.ok?(this.removeHighlightButtons(),this.issues=[],this.showIssueCount(),e&&(e.textContent=(0,Te.__)("Issues cleared successfully.","accessibility-checker"),e.classList.remove("edac-error"))):e&&(e.textContent=(0,Te.__)("Failed to clear issues.","accessibility-checker"),e.classList.add("edac-error"))})).catch((()=>{e&&(e.textContent=(0,Te.__)("An error occurred while clearing issues.","accessibility-checker"),e.classList.add("edac-error"))})).finally((()=>{this.clearIssuesButton.disabled=!1,this.clearIssuesButton.textContent=(0,Te.__)("Clear Issues","accessibility-checker")}))}showScanError(e){const t=document.querySelector(".edac-highlight-panel-controls-summary");t&&(t.textContent=e,t.classList.add("edac-error"))}}let Be=!1;const Re=()=>{Be||(new Oe,window.edacFrontendHighlighterApp?.userCanFix&&Fe(),Be=!0)};["DOMContentLoaded","load"].forEach((e=>{window.addEventListener(e,Re)}))})()})(); -
accessibility-checker/trunk/build/frontendHighlighterApp.bundle.js.LICENSE.txt
r3340594 r3448940 8 8 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE 9 9 */ 10 11 /*! *****************************************************************************12 Copyright (c) Microsoft Corporation.13 14 Permission to use, copy, modify, and/or distribute this software for any15 purpose with or without fee is hereby granted.16 17 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH18 REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY19 AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,20 INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM21 LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR22 OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR23 PERFORMANCE OF THIS SOFTWARE.24 ***************************************************************************** */ -
accessibility-checker/trunk/build/pageScanner.bundle.js
r3425603 r3448940 1 1 /*! For license information please see pageScanner.bundle.js.LICENSE.txt */ 2 (()=>{var e={609 :function(e,t,r){var n,a;e=r.nmd(e),function o(i){var u=i,l=i.document;function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}var c=c||{};function d(e){this.name="SupportError",this.cause=e.cause,this.message="`".concat(e.cause,"` - feature unsupported in your environment."),e.ruleId&&(this.ruleId=e.ruleId,this.message+=" Skipping ".concat(this.ruleId," rule.")),this.stack=(new Error).stack}c.version="4.8.2",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===s(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c),d.prototype=Object.create(Error.prototype),d.prototype.constructor=d;var p=["node"],f=["relatedNodes"],m=["node"],h=["variant"],D=["matches"],g=["chromium"],v=["noImplicit"],b=["noPresentational"],y=["precision","format","inGamut"],F=["space"],w=["algorithm"],E=["method"],C=["maxDeltaE","deltaEMethod","steps","maxSteps"],x=["node"],A=["environmentData"],k=["environmentData"],N=["environmentData"],_=["environmentData"],T=["environmentData"];function B(e,t,r){return B=I()?Reflect.construct.bind():function(e,t,r){var n=[null];n.push.apply(n,t);var a=new(Function.bind.apply(e,n));return r&&S(a,r.prototype),a},B.apply(null,arguments)}function R(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&S(e,t)}function S(e,t){return S=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},S(e,t)}function O(e){var t=I();return function(){var r,n=P(e);if(t){var a=P(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"===s(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return M(e)}(this,r)}}function M(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function I(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},P(e)}function L(e,t,r){q(e,t),t.set(e,r)}function j(e,t){q(e,t),t.add(e)}function q(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function z(e,t){return function(e,t){if(t.get)return t.get.call(e);return t.value}(e,H(e,t,"get"))}function V(e,t,r){if(!t.has(e))throw new TypeError("attempted to get private field on non-instance");return r}function $(e,t,r){return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw new TypeError("attempted to set read only private field");t.value=r}}(e,H(e,t,"set"),r),r}function H(e,t,r){if(!t.has(e))throw new TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function U(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function G(e){return function(e){if(Array.isArray(e))return ae(e)}(e)||W(e)||ne(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function W(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function Y(){return Y=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},Y.apply(this,arguments)}function K(e,t){return Z(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,_x,o,i=[],_n=!0,u=!1;try{if(_x=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;_n=!1}else for(;!(_n=(n=_x.call(r)).done)&&(i.push(n.value),i.length!==t);_n=!0);}catch(e){u=!0,a=e}finally{try{if(!_n&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(u)throw a}}return i}}(e,t)||ne(e,t)||X()}function X(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Z(e){if(Array.isArray(e))return e}function J(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,te(n.key),n)}}function ee(e,t,r){return t&&Q(e.prototype,t),r&&Q(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function te(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}function re(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=ne(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,a=function(){};return{s:a,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,i=!0,u=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){u=!0,o=e},f:function(){try{i||null==r.return||r.return()}finally{if(u)throw o}}}}function ne(e,t){if(e){if("string"==typeof e)return ae(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ae(e,t):void 0}}function ae(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}!function(){var e,t,o,S,I=Object.create,P=Object.defineProperty,q=Object.getPrototypeOf,H=Object.prototype.hasOwnProperty,Q=Object.getOwnPropertyNames,ae=Object.getOwnPropertyDescriptor,oe=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},ie=function(e,t){for(var r in t)P(e,r,{get:t[r],enumerable:!0})},ue=function(e){return function(e,t,r){if(t&&"object"===s(t)||"function"==typeof t){var n,a=re(Q(t));try{var o=function(){var a=n.value;H.call(e,a)||"default"===a||P(e,a,{get:function(){return t[a]},enumerable:!(r=ae(t,a))||r.enumerable})};for(a.s();!(n=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e}((t=P(null!=e?I(q(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),P(t,"__esModule",{value:!0})),e);var t},le=function(e,t,r){return function(e,t,r){t in e?P(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==s(t)?t+"":t,r),r},se=oe((function(e,t){"use strict";t.exports=function(){}})),ce=oe((function(e,t){"use strict";var r=se()();t.exports=function(e){return e!==r&&null!==e}})),de=oe((function(e,t){"use strict";var r=ce(),n=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return n.call(arguments,(function(e){r(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)})),t}})),pe=oe((function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&(1===e(10)&&-1===e(-20))}})),fe=oe((function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}})),me=oe((function(e,t){"use strict";t.exports=pe()()?Math.sign:fe()})),he=oe((function(e,t){"use strict";var r=me(),n=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*a(n(e)):e}})),De=oe((function(e,t){"use strict";var r=he(),n=Math.max;t.exports=function(e){return n(0,r(e))}})),ge=oe((function(e,t){"use strict";var r=De();t.exports=function(e,t,n){var a;return isNaN(e)?(a=t)>=0?n&&a?a-1:a:1:!1!==e&&r(e)}})),ve=oe((function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),be=oe((function(e,t){"use strict";var r=ce();t.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}})),ye=oe((function(e,t){"use strict";var r=ve(),n=be(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(l,s){var c,d=arguments[2],p=arguments[3];return l=Object(n(l)),r(s),c=i(l),p&&c.sort("function"==typeof p?a.call(p,l):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,(function(e,r){return u.call(l,e)?o.call(s,d,l[e],e,l,r):t}))}}})),Fe=oe((function(e,t){"use strict";t.exports=ye()("forEach")})),we=oe((function(){})),Ee=oe((function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}})),Ce=oe((function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),xe=oe((function(e,t){"use strict";var r=ce(),n=Object.keys;t.exports=function(e){return n(r(e)?Object(e):e)}})),Ae=oe((function(e,t){"use strict";t.exports=Ce()()?Object.keys:xe()})),ke=oe((function(e,t){"use strict";var r=Ae(),n=be(),a=Math.max;t.exports=function(e,t){var o,i,u,l=a(arguments.length,2);for(e=Object(n(e)),u=function(r){try{e[r]=t[r]}catch(e){o||(o=e)}},i=1;i<l;++i)r(t=arguments[i]).forEach(u);if(void 0!==o)throw o;return e}})),Ne=oe((function(e,t){"use strict";t.exports=Ee()()?Object.assign:ke()})),_e=oe((function(e,t){"use strict";var r=ce(),n={function:!0,object:!0};t.exports=function(e){return r(e)&&n[s(e)]||!1}})),Te=oe((function(e,t){"use strict";var r=Ne(),n=_e(),a=ce(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),u=arguments[1],l=arguments[2];return a(l)||n(u)&&(l=u,u=null),a(l)&&r(i,l),a(u)&&(i.code=u),o&&o(i,t.exports),i}})),Be=oe((function(e,t){"use strict";var r=be(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var u,l=Object(r(t));if(e=Object(r(e)),o(l).forEach((function(r){try{n(e,r,a(t,r))}catch(e){u=e}})),"function"==typeof i&&i(l).forEach((function(r){try{n(e,r,a(t,r))}catch(e){u=e}})),void 0!==u)throw u;return e}})),Re=oe((function(e,t){"use strict";var r,n,a,o,i,u=De(),l=function(e,t){return t};try{Object.defineProperty(l,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===l.length?(r={configurable:!0,writable:!1,enumerable:!1},n=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(r.value=t,n(e,"length",r))}):(o=Be(),i=[],a=function(e){var t,r=0;if(i[e])return i[e];for(t=[];e--;)t.push("a"+(++r).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var r;if(t=u(t),e.length===t)return e;r=a(t)(e);try{o(r,e)}catch(e){}return r})})),Se=oe((function(e,t){"use strict";t.exports=function(e){return null!=e}})),Oe=oe((function(e,t){"use strict";var r=Se(),n={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,s(e))}})),Me=oe((function(e,t){"use strict";var r=Oe();t.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),Ie=oe((function(e,t){"use strict";var r=Me();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}})),Pe=oe((function(e,t){"use strict";var r=Ie(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!r(e)&&!n.test(a.call(e))}})),Le=oe((function(e,t){"use strict";var r="razdwatrzy";t.exports=function(){return"function"==typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}})),je=oe((function(e,t){"use strict";var r=String.prototype.indexOf;t.exports=function(e){return r.call(this,e,arguments[1])>-1}})),qe=oe((function(e,t){"use strict";t.exports=Le()()?String.prototype.contains:je()})),ze=oe((function(e,t){"use strict";var r=Se(),n=Pe(),a=Ne(),o=de(),i=qe(),u=t.exports=function(e,t){var n,u,l,s,c;return arguments.length<2||"string"!=typeof e?(s=t,t=e,e=null):s=arguments[2],r(e)?(n=i.call(e,"c"),u=i.call(e,"e"),l=i.call(e,"w")):(n=l=!0,u=!1),c={value:t,configurable:n,enumerable:u,writable:l},s?a(o(s),c):c};u.gs=function(e,t,u){var l,s,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],r(t)?n(t)?r(u)?n(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,r(e)?(l=i.call(e,"c"),s=i.call(e,"e")):(l=!0,s=!1),d={get:t,set:u,configurable:l,enumerable:s},c?a(o(c),d):d}})),Ve=oe((function(e,t){"use strict";var r,n,a,o,i,u,l,c=ze(),d=ve(),p=Function.prototype.apply,f=Function.prototype.call,m=Object.create,h=Object.defineProperty,D=Object.defineProperties,g=Object.prototype.hasOwnProperty,v={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){a.call(o,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var r,n,a,o;if(d(t),!g.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if(n=r[e],"object"===s(n))for(o=0;a=n[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},o=function(e){var t,r,n,a,o;if(g.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===s(a)){for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];for(a=a.slice(),t=0;n=a[t];++t)p.call(n,this,o)}else switch(arguments.length){case 1:f.call(a,this);break;case 2:f.call(a,this,arguments[1]);break;case 3:f.call(a,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];p.call(a,this,o)}},i={on:r=function(e,t){var r;return d(t),g.call(this,"__ee__")?r=this.__ee__:(r=v.value=m(null),h(this,"__ee__",v),v.value=null),r[e]?"object"===s(r[e])?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},once:n,off:a,emit:o},u={on:c(r),once:c(n),off:c(a),emit:c(o)},l=D({},u),t.exports=e=function(e){return null==e?m(l):D(Object(e),u)},e.methods=i})),$e=oe((function(e,t){"use strict";t.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&(t=r(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),He=oe((function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":s(globalThis))&&(!!globalThis&&globalThis.Array===Array)}})),Ue=oe((function(e,t){var r=function(){if("object"===("undefined"==typeof self?"undefined":s(self))&&self)return self;if("object"===(void 0===i?"undefined":s(i))&&i)return i;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()})),Ge=oe((function(e,t){"use strict";t.exports=He()()?globalThis:Ue()})),We=oe((function(e,t){"use strict";var r=Ge(),n={object:!0,symbol:!0};t.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!n[s(t.iterator)]&&(!!n[s(t.toPrimitive)]&&!!n[s(t.toStringTag)])}})),Ye=oe((function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===s(e)||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}})),Ke=oe((function(e,t){"use strict";var r=Ye();t.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}})),Xe=oe((function(e,t){"use strict";var r=ze(),n=Object.create,a=Object.defineProperty,o=Object.prototype,i=n(null);t.exports=function(e){for(var t,n,u=0;i[e+(u||"")];)++u;return i[e+=u||""]=!0,a(o,t="@@"+e,r.gs(null,(function(e){n||(n=!0,a(this,t,r(e)),n=!1)}))),t}})),Ze=oe((function(e,t){"use strict";var r=ze(),n=Ge().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))})}})),Je=oe((function(e,t){"use strict";var r=ze(),n=Ke(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:r((function(t){return a[t]?a[t]:a[t]=e(String(t))})),keyFor:r((function(e){var t;for(t in n(e),a)if(a[t]===e)return t}))})}})),Qe=oe((function(e,t){"use strict";var r,n,a,o=ze(),i=Ke(),u=Ge().Symbol,l=Xe(),c=Ze(),d=Je(),p=Object.create,f=Object.defineProperties,m=Object.defineProperty;if("function"==typeof u)try{String(u()),a=!0}catch(e){}else u=null;n=function(e){if(this instanceof n)throw new TypeError("Symbol is not a constructor");return r(e)},t.exports=r=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?u(t):(r=p(n.prototype),t=void 0===t?"":String(t),f(r,{__description__:o("",t),__name__:o("",l(t))}))},c(r),d(r),f(n.prototype,{constructor:o(r),toString:o("",(function(){return this.__name__}))}),f(r.prototype,{toString:o((function(){return"Symbol ("+i(this).__description__+")"})),valueOf:o((function(){return i(this)}))}),m(r.prototype,r.toPrimitive,o("",(function(){var e=i(this);return"symbol"===s(e)?e:e.toString()}))),m(r.prototype,r.toStringTag,o("c","Symbol")),m(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),m(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]))})),et=oe((function(e,t){"use strict";t.exports=We()()?Ge().Symbol:Qe()})),tt=oe((function(e,t){"use strict";var r=Object.prototype.toString,n=r.call(function(){return arguments}());t.exports=function(e){return r.call(e)===n}})),rt=oe((function(e,t){"use strict";var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&n(r.call(e))}})),nt=oe((function(e,t){"use strict";var r=Object.prototype.toString,n=r.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===s(e)&&(e instanceof String||r.call(e)===n)||!1}})),at=oe((function(e,t){"use strict";var r=et().iterator,n=tt(),a=rt(),o=De(),i=ve(),u=be(),l=ce(),s=nt(),c=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},f=Object.defineProperty;t.exports=function(e){var t,m,h,D,g,v,b,y,F,w,E=arguments[1],C=arguments[2];if(e=Object(u(e)),l(E)&&i(E),this&&this!==Array&&a(this))t=this;else{if(!E){if(n(e))return 1!==(g=e.length)?Array.apply(null,e):((D=new Array(1))[0]=e[0],D);if(c(e)){for(D=new Array(g=e.length),m=0;m<g;++m)D[m]=e[m];return D}}D=[]}if(!c(e))if(void 0!==(F=e[r])){for(b=i(F).call(e),t&&(D=new t),y=b.next(),m=0;!y.done;)w=E?d.call(E,C,y.value,m):y.value,t?(p.value=w,f(D,m,p)):D[m]=w,y=b.next(),++m;g=m}else if(s(e)){for(g=e.length,t&&(D=new t),m=0,h=0;m<g;++m)w=e[m],m+1<g&&(v=w.charCodeAt(0))>=55296&&v<=56319&&(w+=e[++m]),w=E?d.call(E,C,w,h):w,t?(p.value=w,f(D,h,p)):D[h]=w,++h;g=h}if(void 0===g)for(g=o(e.length),t&&(D=new t(g)),m=0;m<g;++m)w=E?d.call(E,C,e[m],m):e[m],t?(p.value=w,f(D,m,p)):D[m]=w;return t&&(p.value=null,D.length=g),D}})),ot=oe((function(e,t){"use strict";t.exports=$e()()?Array.from:at()})),it=oe((function(e,t){"use strict";var r=ot(),n=Array.isArray;t.exports=function(e){return n(e)?e:r(e)}})),ut=oe((function(e,t){"use strict";var r,n=it(),a=ce(),o=ve(),i=Array.prototype.slice;r=function(e){return this.map((function(t,r){return t?t(e[r]):e[r]})).concat(i.call(e,this.length))},t.exports=function(e){return(e=n(e)).forEach((function(e){a(e)&&o(e)})),r.bind(e)}})),lt=oe((function(e,t){"use strict";var r=ve();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}})),st=oe((function(e,t){"use strict";var r=Te(),n=Re(),a=ze(),o=Ve().methods,i=ut(),u=lt(),l=Function.prototype.apply,s=Function.prototype.call,c=Object.create,d=Object.defineProperties,p=o.on,f=o.emit;t.exports=function(e,t,o){var m,h,D,g,v,b,y,F,w,E,C,x,A,k,N,_=c(null);return h=!1!==t?t:isNaN(e.length)?1:e.length,o.normalizer&&(E=u(o.normalizer),D=E.get,g=E.set,v=E.delete,b=E.clear),null!=o.resolvers&&(N=i(o.resolvers)),k=D?n((function(t){var n,a,o=arguments;if(N&&(o=N(o)),null!==(n=D(o))&&hasOwnProperty.call(_,n))return C&&m.emit("get",n,o,this),_[n];if(a=1===o.length?s.call(e,this,o[0]):l.call(e,this,o),null===n){if(null!==(n=D(o)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=g(o)}else if(hasOwnProperty.call(_,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return _[n]=a,x&&m.emit("set",n,null,a),a}),h):0===t?function(){var t;if(hasOwnProperty.call(_,"data"))return C&&m.emit("get","data",arguments,this),_.data;if(t=arguments.length?l.call(e,this,arguments):s.call(e,this),hasOwnProperty.call(_,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return _.data=t,x&&m.emit("set","data",null,t),t}:function(t){var n,a,o=arguments;if(N&&(o=N(arguments)),a=String(o[0]),hasOwnProperty.call(_,a))return C&&m.emit("get",a,o,this),_[a];if(n=1===o.length?s.call(e,this,o[0]):l.call(e,this,o),hasOwnProperty.call(_,a))throw r("Circular invocation","CIRCULAR_INVOCATION");return _[a]=n,x&&m.emit("set",a,null,n),n},m={original:e,memoized:k,profileName:o.profileName,get:function(e){return N&&(e=N(e)),D?D(e):String(e[0])},has:function(e){return hasOwnProperty.call(_,e)},delete:function(e){var t;hasOwnProperty.call(_,e)&&(v&&v(e),t=_[e],delete _[e],A&&m.emit("delete",e,t))},clear:function(){var e=_;b&&b(),_=c(null),m.emit("clear",e)},on:function(e,t){return"get"===e?C=!0:"set"===e?x=!0:"delete"===e&&(A=!0),p.call(this,e,t)},emit:f,updateEnv:function(){e=m.original}},y=D?n((function(e){var t,r=arguments;N&&(r=N(r)),null!==(t=D(r))&&m.delete(t)}),h):0===t?function(){return m.delete("data")}:function(e){return N&&(e=N(arguments)[0]),m.delete(e)},F=n((function(){var e,r=arguments;return 0===t?_.data:(N&&(r=N(r)),e=D?D(r):String(r[0]),_[e])})),w=n((function(){var e,r=arguments;return 0===t?m.has("data"):(N&&(r=N(r)),null!==(e=D?D(r):String(r[0]))&&m.has(e))})),d(k,{__memoized__:a(!0),delete:a(y),clear:a(m.clear),_get:a(F),_has:a(w)}),m}})),ct=oe((function(e,t){"use strict";var r=ve(),n=Fe(),a=we(),o=st(),i=ge();t.exports=function e(t){var u,l,s;if(r(t),(u=Object(arguments[1])).async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!u.force?t:(l=i(u.length,t.length,u.async&&a.async),s=o(t,l,u),n(a,(function(e,t){u[t]&&e(u[t],s,u)})),e.__profiler__&&e.__profiler__(s),s.updateEnv(),s.memoized)}})),dt=oe((function(e,t){"use strict";t.exports=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}})),pt=oe((function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var r=String(t[0]),n=0,a=e;--a;)r+=""+t[++n];return r}:function(){return""}}})),ft=oe((function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&(!e({})&&e(NaN)&&!e(34))}})),mt=oe((function(e,t){"use strict";t.exports=function(e){return e!=e}})),ht=oe((function(e,t){"use strict";t.exports=ft()()?Number.isNaN:mt()})),Dt=oe((function(e,t){"use strict";var r=ht(),n=De(),a=be(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,u=Math.abs,l=Math.floor;t.exports=function(e){var t,s,c,d;if(!r(e))return o.apply(this,arguments);for(s=n(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?l(c):n(this.length)-l(u(c));t<s;++t)if(i.call(this,t)&&(d=this[t],r(d)))return t;return-1}})),gt=oe((function(e,t){"use strict";var r=Dt(),n=Object.create;t.exports=function(){var e=0,t=[],a=n(null);return{get:function(e){var n,a=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;a<i-1;){if(-1===(n=r.call(o[0],e[a])))return null;o=o[1][n],++a}return-1===(n=r.call(o[0],e[a]))?null:o[1][n]||null}return null},set:function(n){var o,i=0,u=t,l=n.length;if(0===l)u[l]=++e;else{for(u[l]||(u[l]=[[],[]]),u=u[l];i<l-1;)-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1,u[1].push([[],[]])),u=u[1][o],++i;-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1),u[1][o]=++e}return a[e]=n,e},delete:function(e){var n,o=0,i=t,u=a[e],l=u.length,s=[];if(0===l)delete i[l];else if(i=i[l]){for(;o<l-1;){if(-1===(n=r.call(i[0],u[o])))return;s.push(i,n),i=i[1][n],++o}if(-1===(n=r.call(i[0],u[o])))return;for(e=i[1][n],i[0].splice(n,1),i[1].splice(n,1);!i[0].length&&s.length;)n=s.pop(),(i=s.pop())[0].splice(n,1),i[1].splice(n,1)}delete a[e]},clear:function(){t=[],a=n(null)}}}})),vt=oe((function(e,t){"use strict";var r=Dt();t.exports=function(){var e=0,t=[],n=[];return{get:function(e){var a=r.call(t,e[0]);return-1===a?null:n[a]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var a=r.call(n,e);-1!==a&&(t.splice(a,1),n.splice(a,1))},clear:function(){t=[],n=[]}}}})),bt=oe((function(e,t){"use strict";var r=Dt(),n=Object.create;t.exports=function(e){var t=0,a=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,i=a;o<e-1;){if(-1===(n=r.call(i[0],t[o])))return null;i=i[1][n],++o}return-1===(n=r.call(i[0],t[o]))?null:i[1][n]||null},set:function(n){for(var i,u=0,l=a;u<e-1;)-1===(i=r.call(l[0],n[u]))&&(i=l[0].push(n[u])-1,l[1].push([[],[]])),l=l[1][i],++u;return-1===(i=r.call(l[0],n[u]))&&(i=l[0].push(n[u])-1),l[1][i]=++t,o[t]=n,t},delete:function(t){for(var n,i=0,u=a,l=[],s=o[t];i<e-1;){if(-1===(n=r.call(u[0],s[i])))return;l.push(u,n),u=u[1][n],++i}if(-1!==(n=r.call(u[0],s[i]))){for(t=u[1][n],u[0].splice(n,1),u[1].splice(n,1);!u[0].length&&l.length;)n=l.pop(),(u=l.pop())[0].splice(n,1),u[1].splice(n,1);delete o[t]}},clear:function(){a=[[],[]],o=n(null)}}}})),yt=oe((function(e,t){"use strict";var r=ve(),n=Fe(),a=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return r(t),n(e,(function(e,r,n,u){o[r]=a.call(t,i,e,r,n,u)})),o}})),Ft=oe((function(e,t){"use strict";var r=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var t,n,a=l.createTextNode(""),o=0;return new e((function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(a.data=o=++o%2;n;)e=n.shift(),n.length||(n=null),e()})).observe(a,{characterData:!0}),function(e){r(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,a.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":s(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(r(e))};if("object"===(void 0===l?"undefined":s(l))&&l){if("function"==typeof MutationObserver)return n(MutationObserver);if("function"==typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(r(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":s(setTimeout))?function(e){setTimeout(r(e),0)}:null}()})),wt=oe((function(){"use strict";var e=ot(),t=yt(),r=Be(),n=Re(),a=Ft(),o=Array.prototype.slice,i=Function.prototype.apply,u=Object.create;we().async=function(l,s){var c,d,p,f=u(null),m=u(null),h=s.memoized,D=s.original;s.memoized=n((function(e){var t=arguments,r=t[t.length-1];return"function"==typeof r&&(c=r,t=o.call(t,0,-1)),h.apply(d=this,p=t)}),h);try{r(s.memoized,h)}catch(e){}s.on("get",(function(e){var t,r,n;if(c){if(f[e])return"function"==typeof f[e]?f[e]=[f[e],c]:f[e].push(c),void(c=null);t=c,r=d,n=p,c=d=p=null,a((function(){var a;hasOwnProperty.call(m,e)?(a=m[e],s.emit("getasync",e,n,r),i.call(t,a.context,a.args)):(c=t,d=r,p=n,h.apply(r,n))}))}})),s.original=function(){var t,r,n,o;return c?(t=e(arguments),r=function t(r){var n,u,l=t.id;if(null!=l){if(delete t.id,n=f[l],delete f[l],n)return u=e(arguments),s.has(l)&&(r?s.delete(l):(m[l]={context:this,args:u},s.emit("setasync",l,"function"==typeof n?1:n.length))),"function"==typeof n?o=i.call(n,this,u):n.forEach((function(e){o=i.call(e,this,u)}),this),o}else a(i.bind(t,this,arguments))},n=c,c=d=p=null,t.push(r),o=i.call(D,this,t),r.cb=n,c=r,o):i.call(D,this,arguments)},s.on("set",(function(e){c?(f[e]?"function"==typeof f[e]?f[e]=[f[e],c.cb]:f[e].push(c.cb):f[e]=c.cb,delete c.cb,c.id=e,c=null):s.delete(e)})),s.on("delete",(function(e){var t;hasOwnProperty.call(f,e)||m[e]&&(t=m[e],delete m[e],s.emit("deleteasync",e,o.call(t.args,1)))})),s.on("clear",(function(){var e=m;m=u(null),s.emit("clearasync",t(e,(function(e){return o.call(e.args,1)})))}))}})),Et=oe((function(e,t){"use strict";var r=Array.prototype.forEach,n=Object.create;t.exports=function(e){var t=n(null);return r.call(arguments,(function(e){t[e]=!0})),t}})),Ct=oe((function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}})),xt=oe((function(e,t){"use strict";var r=Ct();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),At=oe((function(e,t){"use strict";var r=be(),n=xt();t.exports=function(e){return n(r(e))}})),kt=oe((function(e,t){"use strict";var r=Ct();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),Nt=oe((function(e,t){"use strict";var r=kt(),n=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t=t.replace(n,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),_t=oe((function(e,t){function r(e){return!!e&&("object"===s(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=r,t.exports.default=r})),Tt=oe((function(){"use strict";var e=yt(),t=Et(),r=At(),n=Nt(),a=_t(),o=Ft(),i=Object.create,u=t("then","then:finally","done","done:finally");we().promise=function(t,l){var s=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=r(t),!u[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");l.on("set",(function(e,r,n){var i=!1;if(!a(n))return c[e]=n,void l.emit("setasync",e,1);s[e]=1,d[e]=n;var u=function(t){var r=s[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete s[e],c[e]=t,l.emit("setasync",e,r))},p=function(){i=!0,s[e]&&(delete s[e],delete d[e],l.delete(e))},f=t;if(f||(f="then"),"then"===f){var m=function(){o(p)};"function"==typeof(n=n.then((function(e){o(u.bind(this,e))}),m)).finally&&n.finally(m)}else if("done"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(u,p)}else if("done:finally"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(u),n.finally(p)}})),l.on("get",(function(e,t,r){var n;if(s[e])++s[e];else{n=d[e];var i=function(){l.emit("getasync",e,t,r)};a(n)?"function"==typeof n.done?n.done(i):n.then((function(){o(i)})):i()}})),l.on("delete",(function(e){if(delete d[e],s[e])delete s[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],l.emit("deleteasync",e,[t])}})),l.on("clear",(function(){var t=c;c=i(null),s=i(null),d=i(null),l.emit("clearasync",e(t,(function(e){return[e]})))}))}})),Bt=oe((function(){"use strict";var e=ve(),t=Fe(),r=we(),n=Function.prototype.apply;r.dispose=function(a,o,i){var u;if(e(a),i.async&&r.async||i.promise&&r.promise)return o.on("deleteasync",u=function(e,t){n.call(a,null,t)}),void o.on("clearasync",(function(e){t(e,(function(e,t){u(t,e)}))}));o.on("delete",u=function(e,t){a(t)}),o.on("clear",(function(e){t(e,(function(e,t){u(t,e)}))}))}})),Rt=oe((function(e,t){"use strict";t.exports=2147483647})),St=oe((function(e,t){"use strict";var r=De(),n=Rt();t.exports=function(e){if((e=r(e))>n)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),Ot=oe((function(){"use strict";var e=ot(),t=Fe(),r=Ft(),n=_t(),a=St(),o=we(),i=Function.prototype,u=Math.max,l=Math.min,s=Object.create;o.maxAge=function(c,d,p){var f,m,h,D;(c=a(c))&&(f=s(null),m=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+m,(function(e){f[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof f[e].unref&&f[e].unref(),D&&(D[e]&&"nextTick"!==D[e]&&clearTimeout(D[e]),D[e]=setTimeout((function(){delete D[e]}),h),"function"==typeof D[e].unref&&D[e].unref())})),d.on("delete"+m,(function(e){clearTimeout(f[e]),delete f[e],D&&("nextTick"!==D[e]&&clearTimeout(D[e]),delete D[e])})),p.preFetch&&(h=!0===p.preFetch||isNaN(p.preFetch)?.333:u(l(Number(p.preFetch),1),0))&&(D={},h=(1-h)*c,d.on("get"+m,(function(t,a,o){D[t]||(D[t]="nextTick",r((function(){var r;"nextTick"===D[t]&&(delete D[t],d.delete(t),p.async&&(a=e(a)).push(i),r=d.memoized.apply(o,a),p.promise&&n(r)&&("function"==typeof r.done?r.done(i,i):r.then(i,i)))})))}))),d.on("clear"+m,(function(){t(f,(function(e){clearTimeout(e)})),f={},D&&(t(D,(function(e){"nextTick"!==e&&clearTimeout(e)})),D={})})))}})),Mt=oe((function(e,t){"use strict";var r=De(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=n(null),l=n(null),s=0;return e=r(e),{hit:function(r){var n=l[r],c=++s;if(u[c]=r,l[r]=c,!n){if(++o<=e)return;return r=u[i],t(r),r}if(delete u[n],i===n)for(;!a.call(u,++i););},delete:t=function(e){var t=l[e];if(t&&(delete u[t],delete l[e],--o,i===t)){if(!o)return s=0,void(i=1);for(;!a.call(u,++i););}},clear:function(){o=0,i=1,u=n(null),l=n(null),s=0}}}})),It=oe((function(){"use strict";var e=De(),t=Mt(),r=we();r.max=function(n,a,o){var i,u,l;(n=e(n))&&(u=t(n),i=o.async&&r.async||o.promise&&r.promise?"async":"",a.on("set"+i,l=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+i,l),a.on("delete"+i,u.delete),a.on("clear"+i,u.clear))}})),Pt=oe((function(){"use strict";var e=ze(),t=we(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,o,i){var u,l;u=r(null),l=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+l,(function(e,t){u[e]=t||1})),o.on("get"+l,(function(e){++u[e]})),o.on("delete"+l,(function(e){delete u[e]})),o.on("clear"+l,(function(){u={}})),n(o.memoized,{deleteRef:e((function(){var e=o.get(arguments);return null===e?null:u[e]?! --u[e]&&(o.delete(e),!0):null})),getRefCount:e((function(){var e=o.get(arguments);return null===e?0:u[e]?u[e]:0}))})}})),Lt=oe((function(e,t){"use strict";var r=de(),n=ge(),a=ct();t.exports=function(e){var t,o=r(arguments[1]);return o.normalizer||0!==(t=o.length=n(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=dt():t>1&&(o.normalizer=pt()(t)):o.normalizer=!1===t?gt()():1===t?vt()():bt()(t)),o.async&&wt(),o.promise&&Tt(),o.dispose&&Bt(),o.maxAge&&Ot(),o.max&&It(),o.refCounter&&Pt(),a(e,o)}})),jt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var r=t.length,n="",a=0;a<r;){var o=t.charAt(a);if(e.identSpecialChars[o])n+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")n+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var u=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&u)+65536}n+="\\"+i.toString(16)+" "}a++}return n},e.escapeStr=function(t){for(var r,n=t.length,a="",o=0;o<n;){var i=t.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":void 0!==(r=e.strReplacementsRev[i])&&(i=r),a+=i,o++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}})),qt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt();e.parseCssSelector=function(e,r,n,a,o,i){var u=e.length,l="";function s(n,a){var o="";for(r++,l=e.charAt(r);r<u;){if(l===n)return r++,o;if("\\"===l){r++;var i=void 0;if((l=e.charAt(r))===n)o+=n;else if(void 0!==(i=a[l]))o+=i;else{if(t.isHex(l)){var s=l;for(r++,l=e.charAt(r);t.isHex(l);)s+=l,r++,l=e.charAt(r);" "===l&&(r++,l=e.charAt(r)),o+=String.fromCharCode(parseInt(s,16));continue}o+=l}}else o+=l;r++,l=e.charAt(r)}return o}function c(){var n="";for(l=e.charAt(r);r<u;){if(t.isIdent(l))n+=l;else{if("\\"!==l)return n;if(++r>=u)throw Error("Expected symbol but end of file reached.");if(l=e.charAt(r),t.identSpecialChars[l])n+=l;else{if(t.isHex(l)){var a=l;for(r++,l=e.charAt(r);t.isHex(l);)a+=l,r++,l=e.charAt(r);" "===l&&(r++,l=e.charAt(r)),n+=String.fromCharCode(parseInt(a,16));continue}n+=l}}r++,l=e.charAt(r)}return n}function d(){l=e.charAt(r);for(var t=!1;" "===l||"\t"===l||"\n"===l||"\r"===l||"\f"===l;)t=!0,r++,l=e.charAt(r);return t}function p(){var t=f();if(!t)return null;var n=t;for(l=e.charAt(r);","===l;){if(r++,d(),"selectors"!==n.type&&(n={type:"selectors",selectors:[t]}),!(t=f()))throw Error('Rule expected after ",".');n.selectors.push(t)}return n}function f(){d();var t={type:"ruleSet"},n=m();if(!n)return null;for(var a=t;n&&(n.type="rule",a.rule=n,a=n,d(),l=e.charAt(r),!(r>=u||","===l||")"===l));)if(o[l]){var i=l;if(r++,d(),!(n=m()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=m())&&(n.nestingOperator=null);return t}function m(){for(var o=null;r<u;)if("*"===(l=e.charAt(r)))r++,(o=o||{}).tagName="*";else if(t.isIdentStart(l)||"\\"===l)(o=o||{}).tagName=c();else if("."===l)r++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===l)r++,(o=o||{}).id=c();else if("["===l){r++,d();var f={name:c()};if(d(),"]"===l)r++;else{var m="";if(a[l]&&(m=l,r++,l=e.charAt(r)),r>=u)throw Error('Expected "=" but end of file reached.');if("="!==l)throw Error('Expected "=" but "'+l+'" found.');f.operator=m+"=",r++,d();var h="";if(f.valueType="string",'"'===l)h=s('"',t.doubleQuotesEscapeChars);else if("'"===l)h=s("'",t.singleQuoteEscapeChars);else if(i&&"$"===l)r++,h=c(),f.valueType="substitute";else{for(;r<u&&"]"!==l;)h+=l,r++,l=e.charAt(r);h=h.trim()}if(d(),r>=u)throw Error('Expected "]" but end of file reached.');if("]"!==l)throw Error('Expected "]" but "'+l+'" found.');r++,f.value=h}((o=o||{}).attrs=o.attrs||[]).push(f)}else{if(":"!==l)break;r++;var D=c(),g={name:D};if("("===l){r++;var v="";if(d(),"selector"===n[D])g.valueType="selector",v=p();else{if(g.valueType=n[D]||"string",'"'===l)v=s('"',t.doubleQuotesEscapeChars);else if("'"===l)v=s("'",t.singleQuoteEscapeChars);else if(i&&"$"===l)r++,v=c(),g.valueType="substitute";else{for(;r<u&&")"!==l;)v+=l,r++,l=e.charAt(r);v=v.trim()}d()}if(r>=u)throw Error('Expected ")" but end of file reached.');if(")"!==l)throw Error('Expected ")" but "'+l+'" found.');r++,g.value=v}((o=o||{}).pseudos=o.pseudos||[]).push(g)}return o}return function(){var t=p();if(r<u)throw Error('Rule expected but "'+e.charAt(r)+'" found.');return t}()}})),zt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=jt();e.renderEntity=function e(r){var n="";switch(r.type){case"ruleSet":for(var a=r.rule,o=[];a;)a.nestingOperator&&o.push(a.nestingOperator),o.push(e(a)),a=a.rule;n=o.join(" ");break;case"selectors":n=r.selectors.map(e).join(", ");break;case"rule":r.tagName&&(n="*"===r.tagName?"*":t.escapeIdentifier(r.tagName)),r.id&&(n+="#"+t.escapeIdentifier(r.id)),r.classNames&&(n+=r.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),r.attrs&&(n+=r.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),r.pseudos&&(n+=r.pseudos.map((function(r){return r.valueType?"selector"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+e(r.value)+")":"substitute"===r.valueType?":"+t.escapeIdentifier(r.name)+"($"+r.value+")":"numeric"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+r.value+")":":"+t.escapeIdentifier(r.name)+"("+t.escapeIdentifier(r.value)+")":":"+t.escapeIdentifier(r.name)})).join(""));break;default:throw Error('Unknown entity type: "'+r.type+'".')}return n}})),Vt=oe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=qt(),r=zt(),n=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.ruleNestingOperators[a]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.ruleNestingOperators[a]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.attrEqualityMods[a]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.attrEqualityMods[a]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return r.renderEntity(e).trim()},e}();e.CssSelectorParser=n})),$t=oe((function(e,t){!function(){"use strict";var n={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":s(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==u)return u;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),n.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,(function(e){return t[e]||e})):""}},void 0!==t&&t.exports?t.exports=n:void 0===(a=function(){return n}.call(e,r,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},l=/$^/;function c(e,t,r){return("string"==typeof t?t:t.toString()).replace(e.define||l,(function(t,n,a,o){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in r||(":"===a?(e.defineParams&&o.replace(e.defineParams,(function(e,t,a){r[n]={arg:t,text:a}})),n in r||(r[n]=o)):new Function("def","def['"+n+"']="+o)(r)),""})).replace(e.use||l,(function(t,n){e.useParams&&(n=n.replace(e.useParams,(function(e,t,n,a){if(r[n]&&r[n].arg&&a){var o=(n+":"+a).replace(/'|\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[n].text.replace(new RegExp("(^|[^\\w$])"+r[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}})));var a=new Function("def","return "+n)(r);return a?c(e,a,r):a}))}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}n.template=function(e,t,r){var a,i,u=(t=t||n.templateSettings).append?o.append:o.split,s=0,p=t.use||t.define?c(t,e,r||{}):e;p=("var out='"+(t.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(t.interpolate||l,(function(e,t){return u.start+d(t)+u.end})).replace(t.encode||l,(function(e,t){return a=!0,u.startencode+d(t)+u.end})).replace(t.conditional||l,(function(e,t,r){return t?r?"';}else if("+d(r)+"){out+='":"';}else{out+='":r?"';if("+d(r)+"){out+='":"';}out+='"})).replace(t.iterate||l,(function(e,t,r,n){return t?(s+=1,i=n||"i"+s,t=d(t),"';var arr"+s+"="+t+";if(arr"+s+"){var "+r+","+i+"=-1,l"+s+"=arr"+s+".length-1;while("+i+"<l"+s+"){"+r+"=arr"+s+"["+i+"+=1];out+='"):"';} } out+='"})).replace(t.evaluate||l,(function(e,t){return"';"+d(t)+"out+='"}))+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(t.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=n.encodeHTMLSource(t.doNotSkipEncoded)),p="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+n.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+p);try{return new Function(t.varname,p)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+p),e}},n.compile=function(e,t){return n.template(e,null,t)}}()})),Ht=oe((function(e,t){var o;o=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,n=void 0,a=void 0,o=function(e,t){D[r]=e,D[r+1]=t,2===(r+=2)&&(a?a(g):w())},c=void 0!==i?i:void 0,d=c||{},p=d.MutationObserver||d.WebKitMutationObserver,f="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),m="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(g,1)}}var D=new Array(1e3);function g(){for(var e=0;e<r;e+=2)(0,D[e])(D[e+1]),D[e]=void 0,D[e+1]=void 0;r=0}var v,b,y,F,w=void 0;function E(e,t){var r=this,n=new this.constructor(A);void 0===n[x]&&j(n);var a=r._state;if(a){var i=arguments[a-1];o((function(){return P(a,n,i,r._result)}))}else M(r,n,e,t);return n}function C(e){if(e&&"object"===s(e)&&e.constructor===this)return e;var t=new this(A);return B(t,e),t}f?w=function(){return process.nextTick(g)}:p?(b=0,y=new p(g),F=l.createTextNode(""),y.observe(F,{characterData:!0}),w=function(){F.data=b=++b%2}):m?((v=new MessageChannel).port1.onmessage=g,w=function(){return v.port2.postMessage(0)}):w=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(n=e.runOnLoop||e.runOnContext)?function(){n(g)}:h()}catch(e){return h()}}():h();var x=Math.random().toString(36).substring(2);function A(){}var k=void 0,N=1,_=2;function T(t,r,n){r.constructor===t.constructor&&n===E&&r.constructor.resolve===C?function(e,t){t._state===N?S(e,t._result):t._state===_?O(e,t._result):M(t,void 0,(function(t){return B(e,t)}),(function(t){return O(e,t)}))}(t,r):void 0===n?S(t,r):e(n)?function(e,t,r){o((function(e){var n=!1,a=function(e,t,r,n){try{e.call(t,r,n)}catch(e){return e}}(r,t,(function(r){n||(n=!0,t!==r?B(e,r):S(e,r))}),(function(t){n||(n=!0,O(e,t))}),e._label);!n&&a&&(n=!0,O(e,a))}),e)}(t,r,n):S(t,r)}function B(e,t){if(e===t)O(e,new TypeError("You cannot resolve a promise with itself"));else if(a=s(n=t),null===n||"object"!==a&&"function"!==a)S(e,t);else{var r=void 0;try{r=t.then}catch(t){return void O(e,t)}T(e,t,r)}var n,a}function R(e){e._onerror&&e._onerror(e._result),I(e)}function S(e,t){e._state===k&&(e._result=t,e._state=N,0!==e._subscribers.length&&o(I,e))}function O(e,t){e._state===k&&(e._state=_,e._result=t,o(R,e))}function M(e,t,r,n){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+N]=r,a[i+_]=n,0===i&&e._state&&o(I,e)}function I(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,a=void 0,o=e._result,i=0;i<t.length;i+=3)n=t[i],a=t[i+r],n?P(r,n,a,o):a(o);e._subscribers.length=0}}function P(t,r,n,a){var o=e(n),i=void 0,u=void 0,l=!0;if(o){try{i=n(a)}catch(e){l=!1,u=e}if(r===i)return void O(r,new TypeError("A promises callback cannot return that same promise."))}else i=a;r._state!==k||(o&&l?B(r,i):!1===l?O(r,u):t===N?S(r,i):t===_&&O(r,i))}var L=0;function j(e){e[x]=L++,e._state=void 0,e._result=void 0,e._subscribers=[]}var q=function(){function e(e,r){this._instanceConstructor=e,this.promise=new e(A),this.promise[x]||j(this.promise),t(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?S(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&S(this.promise,this._result))):O(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===C){var a=void 0,o=void 0,i=!1;try{a=e.then}catch(e){i=!0,o=e}if(a===E&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(r===z){var u=new r(A);i?O(u,o):T(u,e,a),this._willSettleAt(u,t)}else this._willSettleAt(new r((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;n._state===k&&(this._remaining--,e===_?O(n,r):this._result[t]=r),0===this._remaining&&S(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;M(e,void 0,(function(e){return r._settledAt(N,t,e)}),(function(e){return r._settledAt(_,t,e)}))},e}(),z=function(){function t(e){this[x]=L++,this._result=this._state=void 0,this._subscribers=[],A!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){B(e,t)}),(function(t){O(e,t)}))}catch(t){O(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var r=this,n=r.constructor;return e(t)?r.then((function(e){return n.resolve(t()).then((function(){return e}))}),(function(e){return n.resolve(t()).then((function(){throw e}))})):r.then(t,t)},t}();return z.prototype.then=E,z.all=function(e){return new q(this,e).promise},z.race=function(e){var r=this;return t(e)?new r((function(t,n){for(var a=e.length,o=0;o<a;o++)r.resolve(e[o]).then(t,n)})):new r((function(e,t){return t(new TypeError("You must pass an array to race."))}))},z.resolve=C,z.reject=function(e){var t=new this(A);return O(t,e),t},z._setScheduler=function(e){a=e},z._setAsap=function(e){o=e},z._asap=o,z.polyfill=function(){var e=void 0;if(void 0!==u)e=u;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=z},z.Promise=z,z},"object"===s(e)&&void 0!==t?t.exports=o():void 0===(a="function"==typeof(n=o)?n.call(e,r,e,t):n)||(t.exports=a)})),Ut=oe((function(e){var t,r,n=(t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return r.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,l=Math.min,c=Math.pow,d=Math.round;function p(e,t,r){return e<t?t:e>r?r:e}var f,m=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,r=[];for(t in e)n.HasOwnProperty(e,t)&&r.push(t);return r};function h(e){if(m&&f){var t,r=m(e);for(t=0;t<r.length;t+=1)f(e,r[t],{value:e[r[t]],writable:!1,enumerable:!1,configurable:!1})}}function D(e,t){var r=32-t;return e<<r>>r}function g(e,t){var r=32-t;return e<<r>>>r}function v(e){return[255&e]}function b(e){return D(e[0],8)}function y(e){return[255&e]}function F(e){return g(e[0],8)}function w(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function C(e){return D(e[0]<<8|e[1],16)}function x(e){return[e>>8&255,255&e]}function A(e){return g(e[0]<<8|e[1],16)}function k(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function N(e){return D(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function _(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function T(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function B(e,t,r){var n,s,d,p,f,m,h,D=(1<<t-1)-1;function g(e){var t=i(e),r=e-t;return r<.5?t:r>.5||t%2?t+1:t}for(e!=e?(s=(1<<t)-1,d=c(2,r-1),n=0):e===1/0||e===-1/0?(s=(1<<t)-1,d=0,n=e<0?1:0):0===e?(s=0,d=0,n=1/e==-1/0?1:0):(n=e<0,(e=o(e))>=c(2,1-D)?(s=l(i(u(e)/a),1023),(d=g(e/c(2,s)*c(2,r)))/c(2,r)>=2&&(s+=1,d=1),s>D?(s=(1<<t)-1,d=0):(s+=D,d-=c(2,r))):(s=0,d=g(e/c(2,1-D-r)))),f=[],p=r;p;p-=1)f.push(d%2?1:0),d=i(d/2);for(p=t;p;p-=1)f.push(s%2?1:0),s=i(s/2);for(f.push(n?1:0),f.reverse(),m=f.join(""),h=[];m.length;)h.push(parseInt(m.substring(0,8),2)),m=m.substring(8);return h}function R(e,t,r){var n,a,o,i,u,l,s,d,p=[];for(n=e.length;n;n-=1)for(o=e[n-1],a=8;a;a-=1)p.push(o%2?1:0),o>>=1;return p.reverse(),i=p.join(""),u=(1<<t-1)-1,l=parseInt(i.substring(0,1),2)?-1:1,s=parseInt(i.substring(1,1+t),2),d=parseInt(i.substring(1+t),2),s===(1<<t)-1?0===d?l*(1/0):NaN:s>0?l*c(2,s-u)*(1+d/c(2,r)):0!==d?l*c(2,-(u-1))*(d/c(2,r)):l<0?-0:0}function S(e){return R(e,11,52)}function O(e){return B(e,11,52)}function M(e){return R(e,8,23)}function I(e){return B(e,8,23)}f=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,r){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return n.HasProperty(r,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,r.get),n.HasProperty(r,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,r.set),n.HasProperty(r,"value")&&(e[t]=r.value),e},function(){function t(e){if((e=n.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;h(this)}function r(){}function a(e,a,o){var i;return i=function(e,r,a){var o,u,l,c;if(arguments.length&&"number"!=typeof arguments[0])if("object"===s(arguments[0])&&arguments[0].constructor===i)for(o=arguments[0],this.length=o.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)this._setter(l,o._getter(l));else if("object"!==s(arguments[0])||(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0]))){if("object"!==s(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(a),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(u=arguments[0],this.length=n.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,l=0;l<this.length;l+=1)c=u[l],this._setter(l,Number(c));else{if(this.length=n.ToInt32(arguments[0]),a<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=i,h(this),function(e){if(f){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)r(t)}function r(t){f(e,t,{get:function(){return e._getter(t)},set:function(r){e._setter(t,r)},enumerable:!0,configurable:!1})}}(this)},i.prototype=new r,i.prototype.BYTES_PER_ELEMENT=e,i.prototype._pack=a,i.prototype._unpack=o,i.BYTES_PER_ELEMENT=e,i.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=n.ToUint32(e))>=this.length)){for(var t=[],r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},i.prototype.get=i.prototype._getter,i.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=n.ToUint32(e))<this.length){var r,a,o=this._pack(t);for(r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)this.buffer._bytes[a]=o[r]}},i.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var r,a,o,i,u,l,c,d,p,f;if("object"===s(arguments[0])&&arguments[0].constructor===this.constructor){if(r=arguments[0],(o=n.ToUint32(arguments[1]))+r.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(f=[],u=0,l=r.byteOffset;u<p;u+=1,l+=1)f[u]=r.buffer._bytes[l];for(u=0,c=d;u<p;u+=1,c+=1)this.buffer._bytes[c]=f[u]}else for(u=0,l=r.byteOffset,c=d;u<p;u+=1,l+=1,c+=1)this.buffer._bytes[c]=r.buffer._bytes[l]}else{if("object"!==s(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(a=arguments[0],i=n.ToUint32(a.length),(o=n.ToUint32(arguments[1]))+i>this.length)throw new RangeError("Offset plus length of array is out of range");for(u=0;u<i;u+=1)l=a[u],this._setter(o+u,Number(l))}},i.prototype.subarray=function(e,t){e=n.ToInt32(e),t=n.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=p(e,0,this.length);var r=(t=p(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},i}e.ArrayBuffer=e.ArrayBuffer||t;var o=a(1,v,b),i=a(1,y,F),u=a(1,w,F),l=a(2,E,C),c=a(2,x,A),d=a(4,k,N),m=a(4,_,T),D=a(4,I,M),g=a(8,O,S);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||i,e.Uint8ClampedArray=e.Uint8ClampedArray||u,e.Int16Array=e.Int16Array||l,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||m,e.Float32Array=e.Float32Array||D,e.Float64Array=e.Float64Array||g}(),function(){function t(e,t){return n.IsCallable(e.get)?e.get(t):e[t]}var r,a=(r=new e.Uint16Array([4660]),18===t(new e.Uint8Array(r.buffer),0));function o(t,r,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===n.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:n.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");h(this)}function i(r){return function(o,i){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u,l=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),s=[];for(u=0;u<r.BYTES_PER_ELEMENT;u+=1)s.push(t(l,u));return Boolean(i)===Boolean(a)&&s.reverse(),t(new r(new e.Uint8Array(s).buffer),0)}}function u(r){return function(o,i,u){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var l,s=new r([i]),c=new e.Uint8Array(s.buffer),d=[];for(l=0;l<r.BYTES_PER_ELEMENT;l+=1)d.push(t(c,l));Boolean(u)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT).set(d)}}o.prototype.getUint8=i(e.Uint8Array),o.prototype.getInt8=i(e.Int8Array),o.prototype.getUint16=i(e.Uint16Array),o.prototype.getInt16=i(e.Int16Array),o.prototype.getUint32=i(e.Uint32Array),o.prototype.getInt32=i(e.Int32Array),o.prototype.getFloat32=i(e.Float32Array),o.prototype.getFloat64=i(e.Float64Array),o.prototype.setUint8=u(e.Uint8Array),o.prototype.setInt8=u(e.Int8Array),o.prototype.setUint16=u(e.Uint16Array),o.prototype.setInt16=u(e.Int16Array),o.prototype.setUint32=u(e.Uint32Array),o.prototype.setInt32=u(e.Int32Array),o.prototype.setFloat32=u(e.Float32Array),o.prototype.setFloat64=u(e.Float64Array),e.DataView=e.DataView||o}()})),Gt=oe((function(e){!function(e){"use strict";if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap"+"_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!a(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+s(e))}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",(function(e){if(r(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)})),n(e.prototype,"get",(function(e){if(r(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),n(e.prototype,"has",(function(e){if(r(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),n(e.prototype,"set",(function(e,t){if(r(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(n(e,this._id,[e,t]),this)})),n(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==u?u:e)})),Wt=oe((function(e,t){var r=function(e){return e&&e.Math==Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":s(globalThis))&&globalThis)||r("object"==(void 0===i?"undefined":s(i))&&i)||r("object"==("undefined"==typeof self?"undefined":s(self))&&self)||r("object"==(void 0===u?"undefined":s(u))&&u)||function(){return this}()||Function("return this")()})),Yt=oe((function(e,t){t.exports=function(e){try{return!!e()}catch(e){return!0}}})),Kt=oe((function(e,t){var r=Yt();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),Xt=oe((function(e,t){var r=Kt(),n=Function.prototype,a=n.apply,o=n.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":s(Reflect))&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})})),Zt=oe((function(e,t){var r=Kt(),n=Function.prototype,a=n.call,o=r&&n.bind.bind(a,a);t.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}})),Jt=oe((function(e,t){var r=Zt(),n=r({}.toString),a=r("".slice);t.exports=function(e){return a(n(e),8,-1)}})),Qt=oe((function(e,t){var r=Jt(),n=Zt();t.exports=function(e){if("Function"===r(e))return n(e)}})),er=oe((function(e,t){var r="object"==(void 0===l?"undefined":s(l))&&l.all,n=void 0===r&&void 0!==r;t.exports={all:r,IS_HTMLDDA:n}})),tr=oe((function(e,t){var r=er(),n=r.all;t.exports=r.IS_HTMLDDA?function(e){return"function"==typeof e||e===n}:function(e){return"function"==typeof e}})),rr=oe((function(e,t){var r=Yt();t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),nr=oe((function(e,t){var r=Kt(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),ar=oe((function(e){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),or=oe((function(e,t){t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),ir=oe((function(e,t){var r=Zt(),n=Yt(),a=Jt(),o=Object,i=r("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"==a(e)?i(e,""):o(e)}:o})),ur=oe((function(e,t){t.exports=function(e){return null==e}})),lr=oe((function(e,t){var r=ur(),n=TypeError;t.exports=function(e){if(r(e))throw n("Can't call method on "+e);return e}})),sr=oe((function(e,t){var r=ir(),n=lr();t.exports=function(e){return r(n(e))}})),cr=oe((function(e,t){var r=tr(),n=er(),a=n.all;t.exports=n.IS_HTMLDDA?function(e){return"object"==s(e)?null!==e:r(e)||e===a}:function(e){return"object"==s(e)?null!==e:r(e)}})),dr=oe((function(e,t){t.exports={}})),pr=oe((function(e,t){var r=dr(),n=Wt(),a=tr(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e])||o(n[e]):r[e]&&r[e][t]||n[e]&&n[e][t]}})),fr=oe((function(e,t){var r=Zt();t.exports=r({}.isPrototypeOf)})),mr=oe((function(e,t){var r=pr();t.exports=r("navigator","userAgent")||""})),hr=oe((function(e,t){var r,n,a=Wt(),o=mr(),i=a.process,u=a.Deno,l=i&&i.versions||u&&u.version,s=l&&l.v8;s&&(n=(r=s.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),Dr=oe((function(e,t){var r=hr(),n=Yt();t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),gr=oe((function(e,t){var r=Dr();t.exports=r&&!Symbol.sham&&"symbol"==s(Symbol.iterator)})),vr=oe((function(e,t){var r=pr(),n=tr(),a=fr(),o=gr(),i=Object;t.exports=o?function(e){return"symbol"==s(e)}:function(e){var t=r("Symbol");return n(t)&&a(t.prototype,i(e))}})),br=oe((function(e,t){var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}})),yr=oe((function(e,t){var r=tr(),n=br(),a=TypeError;t.exports=function(e){if(r(e))return e;throw a(n(e)+" is not a function")}})),Fr=oe((function(e,t){var r=yr(),n=ur();t.exports=function(e,t){var a=e[t];return n(a)?void 0:r(a)}})),wr=oe((function(e,t){var r=nr(),n=tr(),a=cr(),o=TypeError;t.exports=function(e,t){var i,u;if("string"===t&&n(i=e.toString)&&!a(u=r(i,e)))return u;if(n(i=e.valueOf)&&!a(u=r(i,e)))return u;if("string"!==t&&n(i=e.toString)&&!a(u=r(i,e)))return u;throw o("Can't convert object to primitive value")}})),Er=oe((function(e,t){t.exports=!0})),Cr=oe((function(e,t){var r=Wt(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}})),xr=oe((function(e,t){var r=Wt(),n=Cr(),a="__core-js_shared__",o=r[a]||n(a,{});t.exports=o})),Ar=oe((function(e,t){var r=Er(),n=xr();(t.exports=function(e,t){return n[e]||(n[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.26.1",mode:r?"pure":"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"})})),kr=oe((function(e,t){var r=lr(),n=Object;t.exports=function(e){return n(r(e))}})),Nr=oe((function(e,t){var r=Zt(),n=kr(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(n(e),t)}})),_r=oe((function(e,t){var r=Zt(),n=0,a=Math.random(),o=r(1..toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+a,36)}})),Tr=oe((function(e,t){var r=Wt(),n=Ar(),a=Nr(),o=_r(),i=Dr(),u=gr(),l=n("wks"),s=r.Symbol,c=s&&s.for,d=u?s:s&&s.withoutSetter||o;t.exports=function(e){if(!a(l,e)||!i&&"string"!=typeof l[e]){var t="Symbol."+e;i&&a(s,e)?l[e]=s[e]:l[e]=u&&c?c(t):d(t)}return l[e]}})),Br=oe((function(e,t){var r=nr(),n=cr(),a=vr(),o=Fr(),i=wr(),u=Tr(),l=TypeError,s=u("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var u,c=o(e,s);if(c){if(void 0===t&&(t="default"),u=r(c,e,t),!n(u)||a(u))return u;throw l("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}})),Rr=oe((function(e,t){var r=Br(),n=vr();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),Sr=oe((function(e,t){var r=Wt(),n=cr(),a=r.document,o=n(a)&&n(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}})),Or=oe((function(e,t){var r=rr(),n=Yt(),a=Sr();t.exports=!r&&!n((function(){return 7!=Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),Mr=oe((function(e){var t=rr(),r=nr(),n=ar(),a=or(),o=sr(),i=Rr(),u=Nr(),l=Or(),s=Object.getOwnPropertyDescriptor;e.f=t?s:function(e,t){if(e=o(e),t=i(t),l)try{return s(e,t)}catch(e){}if(u(e,t))return a(!r(n.f,e,t),e[t])}})),Ir=oe((function(e,t){var r=Yt(),n=tr(),a=/#|\.prototype\./,o=function(e,t){var a=u[i(e)];return a==s||a!=l&&(n(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},l=o.NATIVE="N",s=o.POLYFILL="P";t.exports=o})),Pr=oe((function(e,t){var r=Qt(),n=yr(),a=Kt(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}})),Lr=oe((function(e,t){var r=rr(),n=Yt();t.exports=r&&n((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),jr=oe((function(e,t){var r=cr(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw a(n(e)+" is not an object")}})),qr=oe((function(e){var t=rr(),r=Or(),n=Lr(),a=jr(),o=Rr(),i=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:s in r?r[s]:n[s],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),zr=oe((function(e,t){var r=rr(),n=qr(),a=or();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),Vr=oe((function(e,t){"use strict";var r=Wt(),n=Xt(),a=Qt(),o=tr(),i=Mr().f,u=Ir(),l=dr(),c=Pr(),d=zr(),p=Nr(),f=function(e){var t=function t(r,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,a)}return new e(r,a,o)}return n(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var n,m,h,D,g,v,b,y,F=e.target,w=e.global,E=e.stat,C=e.proto,x=w?r:E?r[F]:(r[F]||{}).prototype,A=w?l:l[F]||d(l,F,{})[F],k=A.prototype;for(h in t)n=!u(w?h:F+(E?".":"#")+h,e.forced)&&x&&p(x,h),g=A[h],n&&(v=e.dontCallGetSet?(y=i(x,h))&&y.value:x[h]),D=n&&v?v:t[h],n&&s(g)==s(D)||(b=e.bind&&n?c(D,r):e.wrap&&n?f(D):C&&o(D)?a(D):D,(e.sham||D&&D.sham||g&&g.sham)&&d(b,"sham",!0),d(A,h,b),C&&(p(l,m=F+"Prototype")||d(l,m,{}),d(l[m],h,D),e.real&&k&&!k[h]&&d(k,h,D)))}})),$r=oe((function(){Vr()({target:"Object",stat:!0},{hasOwn:Nr()})})),Hr=oe((function(e,t){$r();var r=dr();t.exports=r.Object.hasOwn})),Ur=oe((function(e,t){var r=Hr();t.exports=r})),Gr=oe((function(e,t){var r=Ur();t.exports=r})),Wr={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>"};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;Wr[t]=r,Wr[t+"_PRIO"]=n,Wr[t+"_GROUP"]=a,Wr.results[n]=r,Wr.resultGroups[n]=a,Wr.resultGroupMap[r]=a})),Object.freeze(Wr.results),Object.freeze(Wr.resultGroups),Object.freeze(Wr.resultGroupMap),Object.freeze(Wr);var Yr=Wr;var Kr=function(){"object"===("undefined"==typeof console?"undefined":s(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},Xr=/[\t\r\n\f]/g,Zr=function(){function e(){J(this,e),this.parent=void 0}return ee(e,[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var r=" "+e+" ";return(" "+t+" ").replace(Xr," ").indexOf(r)>=0}}]),e}(),Jr={};ie(Jr,{DqElement:function(){return Zn},aggregate:function(){return Qr},aggregateChecks:function(){return on},aggregateNodeResults:function(){return ln},aggregateResult:function(){return cn},areStylesSet:function(){return dn},assert:function(){return pn},checkHelper:function(){return Jn},clone:function(){return Qn},closest:function(){return ha},collectResultsFromFrames:function(){return fo},contains:function(){return mo},convertSelector:function(){return pa},cssParser:function(){return ra},deepMerge:function(){return ho},escapeSelector:function(){return mn},extendMetaData:function(){return Do},filterHtmlAttrs:function(){return pm},finalizeRuleResult:function(){return un},findBy:function(){return so},getAllChecks:function(){return lo},getAncestry:function(){return Vn},getBaseLang:function(){return Gp},getCheckMessage:function(){return tf},getCheckOption:function(){return rf},getEnvironmentData:function(){return nf},getFlattenedTree:function(){return $p},getFrameContexts:function(){return Ef},getFriendlyUriEnd:function(){return gn},getNodeAttributes:function(){return bn},getNodeFromTree:function(){return Yn},getPreloadConfig:function(){return im},getRootNode:function(){return yo},getRule:function(){return Cf},getScroll:function(){return Af},getScrollState:function(){return Nf},getSelector:function(){return qn},getSelectorData:function(){return On},getShadowSelector:function(){return Cn},getStandards:function(){return _f},getStyleSheetFactory:function(){return Bf},getXpath:function(){return Hn},injectStyle:function(){return Rf},isHidden:function(){return Sf},isHtmlElement:function(){return Of},isNodeInContext:function(){return Mf},isShadowRoot:function(){return vo},isValidLang:function(){return Cm},isXHTML:function(){return En},matchAncestry:function(){return Pf},matches:function(){return na},matchesExpression:function(){return ma},matchesSelector:function(){return yn},memoize:function(){return wn},mergeResults:function(){return po},nodeLookup:function(){return jf},nodeSerializer:function(){return uo},nodeSorter:function(){return Lf},parseCrossOriginStylesheet:function(){return Gf},parseSameOriginStylesheet:function(){return qf},parseStylesheet:function(){return zf},performanceTimer:function(){return Yf},pollyfillElementsFromPoint:function(){return Kf},preload:function(){return am},preloadCssom:function(){return Qf},preloadMedia:function(){return nm},processMessage:function(){return ef},publishMetaData:function(){return um},querySelectorAll:function(){return sm},querySelectorAllFilter:function(){return Jf},queue:function(){return wa},respondable:function(){return eo},ruleShouldRun:function(){return dm},select:function(){return mm},sendCommandToFrame:function(){return ro},setScrollState:function(){return Dm},shadowSelect:function(){return gm},shadowSelectAll:function(){return bm},shouldPreload:function(){return om},toArray:function(){return fn},tokenList:function(){return Ip},uniqueArray:function(){return Xf},uuid:function(){return Ia},validInputTypes:function(){return Fm},validLangs:function(){return Em}});var Qr=function(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map((function(t){return e.indexOf(t)})).sort();return e[n.pop()]},en=Yr.CANTTELL_PRIO,tn=Yr.FAIL_PRIO,rn=[];rn[Yr.PASS_PRIO]=!0,rn[Yr.CANTTELL_PRIO]=null,rn[Yr.FAIL_PRIO]=!1;var nn=["any","all","none"];function an(e,t){return nn.reduce((function(r,n){return r[n]=(e[n]||[]).map((function(e){return t(e,n)})),r}),{})}var on=function(e){var t=Object.assign({},e);an(t,(function(e,t){var r=void 0===e.result?-1:rn.indexOf(e.result);e.priority=-1!==r?r:Yr.CANTTELL_PRIO,"none"===t&&(e.priority===Yr.PASS_PRIO?e.priority=Yr.FAIL_PRIO:e.priority===Yr.FAIL_PRIO&&(e.priority=Yr.PASS_PRIO))}));var r={all:t.all.reduce((function(e,t){return Math.max(e,t.priority)}),0),none:t.none.reduce((function(e,t){return Math.max(e,t.priority)}),0),any:t.any.reduce((function(e,t){return Math.min(e,t.priority)}),4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return nn.forEach((function(e){t[e]=t[e].filter((function(n){return n.priority===t.priority&&n.priority===r[e]})),t[e].forEach((function(e){return n.push(e.impact)}))})),[en,tn].includes(t.priority)?t.impact=Qr(Yr.impact,n):t.impact=null,an(t,(function(e){delete e.result,delete e.priority})),t.result=Yr.results[t.priority],delete t.priority,t};function un(e){var t=c._audit.rules.find((function(t){return t.id===e.id}));return t&&t.impact&&e.nodes.forEach((function(e){["any","all","none"].forEach((function(r){(e[r]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,ln(e.nodes)),delete e.nodes,e}var ln=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return on(e);if(Array.isArray(e.node))return un(e);throw new TypeError("Invalid Result type")})))&&e.length){var r=e.map((function(e){return e.result}));t.result=Qr(Yr.results,r,t.result)}else t.result="inapplicable";Yr.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){var r=Yr.resultGroupMap[e.result];t[r].push(e)}));var n=Yr.FAIL_GROUP;if(0===t[n].length&&(n=Yr.CANTTELL_GROUP),t[n].length>0){var a=t[n].map((function(e){return e.impact}));t.impact=Qr(Yr.impact,a)||null}else t.impact=null;return t};function sn(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),Yr.resultGroups.forEach((function(e){delete n[e]})),e[r].push(n)}var cn=function(e){var t={};return Yr.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?sn(t,e,Yr.CANTTELL_GROUP):e.result===Yr.NA?sn(t,e,Yr.NA_GROUP):Yr.resultGroups.forEach((function(r){Array.isArray(e[r])&&e[r].length>0&&sn(t,e,r)}))})),t};var dn=function e(t,r,n){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o<r.length;++o){var u=r[o];if(a.getPropertyValue(u.property)===u.value)return!0}return!(!t.parentNode||t.nodeName.toUpperCase()===n.toUpperCase())&&e(t.parentNode,r,n)};var pn=function(e,t){if(!e)throw new Error(t)};var fn=function(e){return Array.prototype.slice.call(e)};var mn=function(e){for(var t,r=String(e),n=r.length,a=-1,o="",i=r.charCodeAt(0);++a<n;)0!=(t=r.charCodeAt(a))?o+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":(0!=a||1!=n||45!=t)&&(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?r.charAt(a):"\\"+r.charAt(a):o+="�";return o};function hn(e,t){return[e.substring(0,t),e.substring(t)]}function Dn(e){return e.replace(/\s+$/,"")}var gn=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=void 0===n?25:n,o=function(e){var t=e,r="",n="",a="",o="",i="";if(e.includes("#")){var u=K(hn(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var l=K(hn(e,e.indexOf("?")),2);e=l[0],o=l[1]}if(e.includes("://")){var s=K(e.split("://"),2);r=s[0];var c=K(hn(e=s[1],e.indexOf("/")),2);n=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=K(hn(e=e.substr(2),e.indexOf("/")),2);n=d[0],e=d[1]}if("www."===n.substr(0,4)&&(n=n.substr(4)),n&&n.includes(":")){var p=K(hn(n,n.indexOf(":")),2);n=p[0],a=p[1]}return{original:t,protocol:r,domain:n,port:a,path:e,query:o,hash:i}}(e),i=o.path,u=o.domain,l=o.hash,s=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(l)return s&&(s+l).length<=a?Dn(s+l):s.length<2&&l.length>2&&l.length<=a?Dn(l):void 0;if(u&&u.length<a&&i.length<=1)return Dn(u+i);if(i==="/"+s&&u&&r&&u!==r&&(u+i).length<=a)return Dn(u+i);var c=s.lastIndexOf(".");return(-1===c||c>1)&&(-1!==c||s.length>2)&&s.length<=a&&!s.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(s)?Dn(s):void 0}};var vn,bn=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},yn=function(e,t){return vn&&e[vn]||(vn=function(e){var t,r,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length;for(t=0;t<a;t++)if(e[r=n[t]])return r}(e)),!!e[vn]&&e[vn](t)},Fn=ue(Lt());c._memoizedFns=[];var wn=function(e){var t=(0,Fn.default)(e);return c._memoizedFns.push(t),t},En=wn((function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName}));function Cn(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||l;if(11!==n.nodeType)return e(t,r,n);for(var a=[];11===n.nodeType;){if(!n.host)return"";a.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return a.unshift({elm:t,doc:n}),a.map((function(t){return e(t.elm,r,t.doc)}))}var xn=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow"],An=31,kn=/([\\"])/g,Nn=/(\r\n|\r|\n)/g;function Tn(e){return e.replace(kn,"\\$1").replace(Nn,"\\a ")}function Bn(e,t){var r,n=t.name;if(-1!==n.indexOf("href")||-1!==n.indexOf("src")){var a=gn(e.getAttribute(n));r=a?mn(t.name)+'$="'+Tn(a)+'"':mn(t.name)+'="'+Tn(e.getAttribute(n))+'"'}else r=mn(n)+'="'+Tn(t.value)+'"';return r}function Rn(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Sn(e){return!xn.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<An)}function On(e){for(var t={classes:{},tags:{},attributes:{}},r=(e=Array.isArray(e)?e:[e]).slice(),n=[],a=function(){var e=r.pop(),a=e.actualNode;if(a.querySelectorAll){var o=a.nodeName;t.tags[o]?t.tags[o]++:t.tags[o]=1,a.classList&&Array.from(a.classList).forEach((function(e){var r=mn(e);t.classes[r]?t.classes[r]++:t.classes[r]=1})),a.hasAttributes()&&Array.from(bn(a)).filter(Sn).forEach((function(e){var r=Bn(a,e);r&&(t.attributes[r]?t.attributes[r]++:t.attributes[r]=1)}))}for(e.children.length&&(n.push(r),r=e.children.slice());!r.length&&n.length;)r=n.pop()};r.length;)a();return t}function Mn(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[];return r.find((function(r){return r!==e&&yn(r,t)}))?":nth-child("+(1+r.indexOf(e))+")":""}function In(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||l,r="#"+mn(e.getAttribute("id")||"");return r.match(/player_uid_/)||1!==t.querySelectorAll(r).length?void 0:r}}function Pn(e){var t=En(l);return mn(t?e.localName:e.nodeName.toLowerCase())}function Ln(e,t){var r,n="",a=function(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach((function(t){var o=mn(t);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"})})),r.sort(Rn)}(e,t),o=function(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(bn(e)).filter(Sn).forEach((function(t){var o=Bn(e,t);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"})})),r.sort(Rn)}(e,t);return a.length&&1===a[0].count?r=[a[0]]:o.length&&1===o[0].count?(r=[o[0]],n=Pn(e)):((r=a.concat(o)).sort(Rn),(r=r.slice(0,3)).some((function(e){return"class"===e.species}))?r.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):n=Pn(e)),n+r.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function jn(e,t,r){if(!c._selectorData)throw new Error("Expect axe._selectorData to be set up");var n,a,o=t.toRoot,i=void 0!==o&&o;do{var u=In(e);u||(u=Ln(e,c._selectorData),u+=Mn(e,u)),n=n?u+" > "+n:u,a=a?a.filter((function(e){return yn(e,n)})):Array.from(r.querySelectorAll(n)),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}function qn(e,t){return Cn(jn,e,t)}function zn(e){var t=e.nodeName.toLowerCase(),r=e.parentElement;if(!r)return t;var n="";if("head"!==t&&"body"!==t&&r.children.length>1){var a=Array.prototype.indexOf.call(r.children,e)+1;n=":nth-child(".concat(a,")")}return zn(r)+" > "+t+n}function Vn(e,t){return Cn(zn,e,t)}function $n(e,t){var r,n;if(!e)return[];if(!t&&9===e.nodeType)return t=[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=$n(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do{1===r.nodeType&&r.nodeName===e.nodeName&&n++,r=r.previousSibling}while(r);1===n&&(n=null)}else if(e.nextSibling){r=e.nextSibling;do{1===r.nodeType&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling)}while(r)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&mn(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a)}return t}var Hn=function(e){return function(e){return e.reduce((function(e,t){return t.id?"/".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")}),"")}($n(e))},Un={},Gn={set:function(e,t){!function(e){pn("string"==typeof e,"key must be a string, "+s(e)+" given"),pn(""!==e,"key must not be empty")}(e),Un[e]=t},get:function(e,t){if(function(e){pn("function"==typeof e||void 0===e,"creator must be a function or undefined, "+s(e)+" given")}(t),e in Un)return Un[e];if("function"==typeof t){var r=t();return pn(void 0!==r,"Cache creator function should not return undefined"),this.set(e,r),Un[e]}},clear:function(){Un={}}};var Wn=Gn;var Yn=function(e,t){var r=t||e;return Wn.get("nodeMap")?Wn.get("nodeMap").get(r):null},Kn="DqElm.RunOptions";function Xn(e){var t,r,n,a,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,u=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};o||(o=null!==(n=Wn.get(Kn))&&void 0!==n?n:{});(this.spec=u,e instanceof Zr?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=Yn(e)),this.fromFrame=(null===(t=this.spec.selector)||void 0===t?void 0:t.length)>1,this._includeElementInJson=o.elementRef,o.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(r=this._virtualNode)||void 0===r?void 0:r.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml)||(this.source=null!==(a=this.spec.source)&&void 0!==a?a:function(e){if(null==e||!e.outerHTML)return"";var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),function(e,t){if(t=t||300,e.length>t){var r=e.indexOf(">");e=e.substring(0,r+1)}return e}(t||"")}(this._element))}Xn.prototype={get selector(){return this.spec.selector||[qn(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[Vn(this.element)]},get xpath(){return this.spec.xpath||[Hn(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},Xn.fromFrame=function(e,t,r){var n=Xn.mergeSpecs(e,r);return new Xn(r.element,t,n)},Xn.mergeSpecs=function(e,t){return Y({},e,{selector:[].concat(G(t.selector),G(e.selector)),ancestry:[].concat(G(t.ancestry),G(e.ancestry)),xpath:[].concat(G(t.xpath),G(e.xpath)),nodeIndexes:[].concat(G(t.nodeIndexes),G(e.nodeIndexes)),fromFrame:!0})},Xn.setRunOptions=function(e){var t=e.elementRef,r=e.absolutePaths;Wn.set(Kn,{elementRef:t,absolutePaths:r})};var Zn=Xn;var Jn=function(e,t,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==!1?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof Zr?[t]:fn(t),e.relatedNodes=[],t.forEach((function(t){if(t instanceof Zr&&(t=t.actualNode),t instanceof i.Node){var r=new Zn(t);e.relatedNodes.push(r)}})))}}};function Qn(e){return ea(e,new Map)}function ea(e,t){var r,n;if(null===e||"object"!==s(e))return e;if(null!==(r=i)&&void 0!==r&&r.Node&&e instanceof i.Node||null!==(n=i)&&void 0!==n&&n.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach((function(e){a.push(ea(e,t))})),a}var o={};for(var u in t.set(e,o),e)o[u]=ea(e[u],t);return o}var ta=new(ue(Vt()).CssSelectorParser);ta.registerSelectorPseudos("not"),ta.registerSelectorPseudos("is"),ta.registerNestingOperators(">"),ta.registerAttrEqualityMods("^","$","*","~");var ra=ta;function na(e,t){return pa(t).some((function(t){return ma(e,t)}))}function aa(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every((function(t){return e.hasClass(t.value)}))}(e,t)&&function(e,t){return!t.attributes||t.attributes.every((function(t){var r=e.attr(t.key);return null!==r&&t.test(r)}))}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(r=e,!((n=t).pseudos&&!n.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return ma(r,e)}));if("is"===e.name)return e.expressions.some((function(e){return ma(r,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var r,n}var oa,ia=(oa=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(oa,"\\")}),ua=/\\/g;function la(e){if(e)return e.map((function(e){var t,r,n=e.name.replace(ua,""),a=(e.value||"").replace(ua,"");switch(e.operator){case"^=":r=new RegExp("^"+ia(a));break;case"$=":r=new RegExp(ia(a)+"$");break;case"~=":r=new RegExp("(^|\\s)"+ia(a)+"(\\s|$)");break;case"|=":r=new RegExp("^"+ia(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:n,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}}))}function sa(e){if(e)return e.map((function(e){return{value:e=e.replace(ua,""),regexp:new RegExp("(^|\\s)"+ia(e)+"(\\s|$)")}}))}function ca(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=da(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function da(e){return e.map((function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:la(r.attrs),classes:sa(r.classNames),pseudos:ca(r.pseudos)}),r=r.rule;return t}))}function pa(e){var t=ra.parse(e);return da(t=t.selectors?t.selectors:[t])}function fa(e,t,r,n){if(!e)return!1;for(var a=Array.isArray(t)?t[r]:t,o=aa(e,a);!o&&n&&e.parent;)o=aa(e=e.parent,a);if(r>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&fa(e.parent,t,r-1," "===a.combinator)}return o}function ma(e,t,r){return fa(e,t,t.length-1,r)}var ha=function(e,t){for(;e;){if(na(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Da(){}function ga(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var va,ba,ya,Fa,wa=function(){var e,t=[],r=0,n=0,a=Da,o=!1,i=function(t){e=t,setTimeout((function(){null!=e&&Kr("Uncaught error (of queue)",e)}),1)},u=i;function l(e){return function(r){t[e]=r,(n-=1)||a===Da||(o=!0,a(t))}}function c(e){return a=Da,u(e),t}var d={defer:function(a){if("object"===s(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(ga(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++n,function(){for(var e=t.length;r<e;r++){var n=t[r];try{n.call(null,l(r),c)}catch(e){c(e)}}}(),d}},then:function(r){if(ga(r),a!==Da)throw new Error("queue `then` already set");return e||(a=r,n||(o=!0,a(t))),d},catch:function(t){if(ga(t),u!==i)throw new Error("queue `catch` already set");return e?(t(e),e=null):u=t,d},abort:c};return d},Ea=i.crypto||i.msCrypto;!ba&&Ea&&Ea.getRandomValues&&(ya=new Uint8Array(16),ba=function(){return Ea.getRandomValues(ya),ya}),ba||(Fa=new Array(16),ba=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),Fa[t]=e>>>((3&t)<<3)&255;return Fa});for(var Ca="function"==typeof i.Buffer?i.Buffer:Array,xa=[],Aa={},ka=0;ka<256;ka++)xa[ka]=(ka+256).toString(16).substr(1),Aa[xa[ka]]=ka;function Na(e,t){var r=t||0,n=xa;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var _a=ba(),Ta=[1|_a[0],_a[1],_a[2],_a[3],_a[4],_a[5]],Ba=16383&(_a[6]<<8|_a[7]),Ra=0,Sa=0;function Oa(e,t,r){var n=t&&r||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:Ba,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:Sa+1,l=i-Ra+(u-Sa)/1e4;if(l<0&&null==e.clockseq&&(o=o+1&16383),(l<0||i>Ra)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");Ra=i,Sa=u,Ba=o;var s=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[n++]=s>>>24&255,a[n++]=s>>>16&255,a[n++]=s>>>8&255,a[n++]=255&s;var c=i/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=255&c,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=o>>>8|128,a[n++]=255&o;for(var d=e.node||Ta,p=0;p<6;p++)a[n+p]=d[p];return t||Na(a)}function Ma(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new Ca(16):null,e=null);var a=(e=e||{}).random||(e.rng||ba)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[n+o]=a[o];return t||Na(a)}(va=Ma).v1=Oa,va.v4=Ma,va.parse=function(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){a<16&&(t[n+a++]=Aa[e])}));a<16;)t[n+a++]=0;return t},va.unparse=Na,va.BufferClass=Ca,c._uuid=Oa();var Ia=Ma,Pa=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function La(e){var t;try{t=JSON.parse(e)}catch(e){return}if(null!==(r=t)&&"object"===s(r)&&"string"==typeof r.channelId&&r.source===ja()){var r,n=t,a=n.topic,o=n.channelId,u=n.messageId,l=n.keepalive;return{topic:a,message:"object"===s(t.error)?function(e){var t=e.message||"Unknown error occurred",r=Pa.includes(e.name)?e.name:"Error",n=i[r]||Error;e.stack&&(t+="\n"+e.stack.replace(e.message,""));return new n(t)}(t.error):t.payload,messageId:u,channelId:o,keepalive:!!l}}}function ja(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function qa(e){Va(e),pn(i.parent===e,"Source of the response must be the parent window.")}function za(e){Va(e),pn(e.parent===i,"Respondable target must be a frame in the current window")}function Va(e){pn(i!==e,"Messages can not be sent to the same window.")}var $a={};var Ha=[];function Ua(){var e="".concat(Ma(),":").concat(Ma());return Ha.includes(e)?Ua():(Ha.push(e),e)}function Ga(e,t,r,n){if(r?qa(e):za(e),t.message instanceof Error&&!r)return c.log(t.message),!1;var a=function(e){var t=e.topic,r=e.channelId,n=e.message,a={channelId:r,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:ja()};return n instanceof Error?a.error={name:n.name,message:n.message,stack:n.stack}:a.payload=n,JSON.stringify(a)}(Y({messageId:Ua()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length)&&("function"==typeof n&&function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];pn(!$a[e],"A replyHandler already exists for this message channel."),$a[e]={replyHandler:t,sendToParent:r}}(t.channelId,n,r),o.forEach((function(t){try{e.postMessage(a,t)}catch(r){if(r instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw r}})),!0)}function Wa(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(n,a,o){Ga(e,{channelId:t,message:n,keepalive:a},r,o)}}function Ya(e,t){var r,n=e.origin,a=e.data,o=e.source;try{var u=La(a)||{},l=u.channelId,s=u.message,d=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(n)||(r=d,Ha.includes(r)||(Ha.push(r),0)))return;if(s instanceof Error&&o.parent!==i)return c.log(s),!1;try{if(u.topic){var p=Wa(o,l);qa(o),t(u,p)}else!function(e,t){var r=t.channelId,n=t.message,a=t.keepalive,o=function(e){return $a[e]}(r)||{},i=o.replyHandler,u=o.sendToParent;if(!i)return;u?qa(e):za(e);var l=Wa(e,r,u);!a&&r&&function(e){delete $a[e]}(r);try{i(n,a,l)}catch(e){c.log(e),l(e,a)}}(o,u)}catch(e){!function(e,t,r){if(!e.parent!==i)return c.log(t);try{Ga(e,{topic:null,channelId:r,message:t,messageId:Ua(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,l)}}catch(e){return c.log(e),!1}}var Ka,Xa,Za={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){Ya(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,r){return"function"==typeof i.addEventListener&&Ga(e,t,!1,r)}};function Ja(e){e.updateMessenger(Za)}var Qa={};function eo(e,t,r,n,a){var o={topic:t,message:r,channelId:"".concat(Ma(),":").concat(Ma()),keepalive:n};return Xa(e,o,a)}function to(e,t){var r=e.topic,n=e.message,a=e.keepalive,o=Qa[r];if(o)try{o(n,a,t)}catch(e){c.log(e),t(e,a)}}function ro(e,t,r,n){var a,o,i=e.contentWindow,u=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return Kr("Frame does not have a content window",e),void r(null);if(0!==u){var l=setTimeout((function(){l=setTimeout((function(){t.debug?n(ao("No response from frame",e)):r(null)}),0)}),u);eo(i,"axe.ping",null,void 0,(function(){clearTimeout(l),no(e,t,r,n)}))}else no(e,t,r,n)}function no(e,t,r,n){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,l=setTimeout((function(){n(ao("Axe in frame timed out",e))}),i);eo(u,"axe.start",t,void 0,(function(e){clearTimeout(l),e instanceof Error==!1?r(e):n(e)}))}function ao(e,t){var r;return c._tree&&(r=qn(t)),new Error(e+": "+(r||t))}eo.updateMessenger=function(e){var t=e.open,r=e.post;pn("function"==typeof t,"open callback must be a function"),pn("function"==typeof r,"post callback must be a function"),Ka&&Ka();var n=t(to);n?(pn("function"==typeof n,"open callback must return a cleanup function"),Ka=n):Ka=null,Xa=r},eo.subscribe=function(e,t){pn("function"==typeof t,"Subscriber callback must be a function"),pn(!Qa[e],"Topic ".concat(e," is already registered to.")),Qa[e]=t},eo.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},Ja(eo);var oo=null,io={update:function(e){pn("object"===s(e),"serializer must be an object"),oo=e},toSpec:function(e){return io.dqElmToSpec(new Zn(e))},dqElmToSpec:function(e,t){var r;return e instanceof Zn==!1?e:(t&&(e=function(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,o=!1!==t.selectors||r;return e=new Zn(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}(e,t)),"function"==typeof(null===(r=oo)||void 0===r?void 0:r.toSpec)?oo.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var r;return"function"==typeof(null===(r=oo)||void 0===r?void 0:r.mergeSpecs)?oo.mergeSpecs(e,t):Zn.mergeSpecs(e,t)},mapRawResults:function(e){return e.map((function(e){return Y({},e,{nodes:io.mapRawNodeResults(e.nodes)})}))},mapRawNodeResults:function(e){return null==e?void 0:e.map((function(e){var t=e.node,r=U(e,p);r.node=io.dqElmToSpec(t);for(var n=0,a=["any","all","none"];n<a.length;n++){var o=a[n];r[o]=r[o].map((function(e){var t=e.relatedNodes,r=U(e,f);return r.relatedNodes=t.map(io.dqElmToSpec),r}))}return r}))}},uo=io;var lo=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])};var so=function(e,t,r){if(Array.isArray(e))return e.find((function(e){return null!==e&&"object"===s(e)&&Object.hasOwn(e,t)&&e[t]===r}))};function co(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),n=0;n<r;n++){var a=null==e?void 0:e[n],o=null==t?void 0:t[n];if("number"!=typeof a||isNaN(a))return 0===n?1:-1;if("number"!=typeof o||isNaN(o))return 0===n?-1:1;if(a!==o)return a-o}return 0}var po=function(e,t){var r=[];return e.forEach((function(e){var t,n=(t=e)&&t.results?Array.isArray(t.results)?t.results.length?t.results:null:[t.results]:null;if(n&&n.length){var a=function(e){if(e.frameElement)return uo.toSpec(e.frameElement);if(e.frameSpec)return e.frameSpec;return null}(e);n.forEach((function(e){e.nodes&&a&&function(e,t,r){e.forEach((function(e){e.node=uo.mergeSpecs(e.node,r),lo(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return uo.mergeSpecs(e,r)}))}))}))}(e.nodes,0,a);var t=so(r,"id",e.id);t?e.nodes.length&&function(e,t){for(var r=t[0].node,n=0;n<e.length;n++){var a=e[n].node,o=co(a.nodeIndexes,r.nodeIndexes);if(o>0||0===o&&r.selector.length<a.selector.length)return void e.splice.apply(e,[n,0].concat(G(t)))}e.push.apply(e,G(t))}(t.nodes,e.nodes):r.push(e)}))}})),r.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return co(e.node.nodeIndexes,t.node.nodeIndexes)}))})),r};function fo(e,t,r,n,a,o){t=Y({},t,{elementRef:!1});var i=wa();e.frames.forEach((function(e){var a=e.node,o=U(e,m);i.defer((function(e,i){ro(a,{options:t,command:r,parameter:n,context:o},(function(t){return e(t?{results:t,frameElement:a}:null)}),i)}))})),i.then((function(e){a(po(e,t))})).catch(o)}function mo(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var ho=function e(){for(var t={},r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return n.forEach((function(r){if(r&&"object"===s(r)&&!Array.isArray(r))for(var n=0,a=Object.keys(r);n<a.length;n++){var o=a[n];!t.hasOwnProperty(o)||"object"!==s(r[o])||Array.isArray(t[o])?t[o]=r[o]:t[o]=e(t[o],r[o])}})),t};var Do=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(r){e[r]=null;try{e[r]=t[r](e)}catch(e){}}))},go=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];var vo=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(go.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1},bo={};ie(bo,{createGrid:function(){return vi},findElmsInContext:function(){return wo},findNearbyElms:function(){return ki},findUp:function(){return Co},findUpVirtual:function(){return Eo},focusDisabled:function(){return Oi},getComposedParent:function(){return Uo},getElementByReference:function(){return Li},getElementCoordinates:function(){return Wo},getElementStack:function(){return $i},getModalDialog:function(){return _i},getOverflowHiddenAncestors:function(){return ko},getRootNode:function(){return Fo},getScrollOffset:function(){return Go},getTabbableElements:function(){return Hi},getTargetRects:function(){return Yi},getTargetSize:function(){return Ki},getTextElementStack:function(){return Sl},getViewportSize:function(){return Yo},getVisibleChildTextRects:function(){return Rl},hasContent:function(){return jl},hasContentVirtual:function(){return Ll},hasLangText:function(){return ql},idrefs:function(){return Zi},insertedIntoFocusOrder:function(){return zl},isCurrentPageLink:function(){return Pi},isFocusable:function(){return Gi},isHTML5:function(){return Ul},isHiddenForEveryone:function(){return Vo},isHiddenWithCSS:function(){return Hl},isInTabOrder:function(){return Wi},isInTextBlock:function(){return Xl},isInert:function(){return Ti},isModalOpen:function(){return Zl},isMultiline:function(){return Jl},isNativelyFocusable:function(){return Ui},isNode:function(){return Ql},isOffscreen:function(){return Ko},isOpaque:function(){return Dp},isSkipLink:function(){return gp},isVisible:function(){return wp},isVisibleOnScreen:function(){return Zo},isVisibleToScreenReaders:function(){return Yu},isVisualContent:function(){return Ml},reduceToElementsBelowFloating:function(){return Ep},shadowElementsFromPoint:function(){return kp},urlPropsFromAttribute:function(){return Tp},visuallyContains:function(){return Cp},visuallyOverlaps:function(){return Bp},visuallySort:function(){return ji}});var yo=function(e){var t=e.getRootNode&&e.getRootNode()||l;return t===e&&(t=l),t},Fo=yo;var wo=function(e){var t,r=e.context,n=e.value,a=e.attr,o=e.elm,i=void 0===o?"":o,u=mn(n);return t=9===r.nodeType||11===r.nodeType?r:Fo(r),Array.from(t.querySelectorAll(i+"["+a+"="+u+"]"))};var Eo=function(e,t){var r;if(r=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest){var n=e.actualNode.closest(t);return n||null}do{(r=r.assignedSlot?r.assignedSlot:r.parentNode)&&11===r.nodeType&&(r=r.host)}while(r&&!yn(r,t)&&r!==l.documentElement);return r&&yn(r,t)?r:null};var Co=function(e,t){return Eo(Yn(e),t)};function xo(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var Ao=wn((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(Ao(e.parent))):t})),ko=Ao,No=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,_o=/(\w+)\((\d+)/;function To(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Bo(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Ro(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function So(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Oo(e){return"true"===e.attr("aria-hidden")}function Mo(e){return"0"===e.getComputedStylePropertyValue("opacity")}function Io(e){var t=Af(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===r||0===n)}function Po(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.boundingClientRect,r=ko(e);return!!r.length&&r.some((function(e){var r=e.boundingClientRect;return r.width<2||r.height<2||!xo(t,r)}))}function Lo(e){var t=e.getComputedStylePropertyValue("clip").match(No),r=e.getComputedStylePropertyValue("clip-path").match(_o);if(t&&5===t.length){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function jo(e,t){var r=ha(e,"map");if(!r)return!0;var n=r.attr("name");if(!n)return!0;var a=yo(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=sm(c._tree,'img[usemap="#'.concat(mn(n),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function qo(e){var t;if("details"!==(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName))return!1;if("summary"===e.props.nodeName&&e.parent.children.find((function(e){return"summary"===e.props.nodeName}))===e)return!1;return!e.parent.hasAttr("open")}var zo=[Bo,Ro,So,qo];function Vo(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=void 0!==n&&n;return e=jf(e).vNode,r?$o(e,a):Ho(e,a)}var $o=wn((function(e,t){return!!To(e)||!!e.actualNode&&(!!zo.some((function(r){return r(e,{isAncestor:t})}))||!e.actualNode.isConnected)})),Ho=wn((function(e,t){return!!$o(e,t)||!!e.parent&&Ho(e.parent,!0)}));var Uo=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null};var Go=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}};var Wo=function(e){var t=Go(l),r=t.left,n=t.top,a=e.getBoundingClientRect();return{top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}};var Yo=function(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var n=t.body;return{width:n.clientWidth,height:n.clientHeight}};var Ko=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=jf(e).domNode;if(t){var r,n=l.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(l.body||n).getPropertyValue("direction"),u=Wo(t);if(u.bottom<0&&(function(e,t){for(e=Uo(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=Uo(e)}return!0}(t,u.bottom)||"absolute"===a.position))return!0;if(0===u.left&&0===u.right)return!1;if("ltr"===o){if(u.right<=0)return!0}else if(r=Math.max(n.scrollWidth,Yo(i).width),u.left>=r)return!0;return!1}},Xo=[Mo,Io,Po,Lo,Ko];function Zo(e){return e=jf(e).vNode,Jo(e)}var Jo=wn((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!jo(e,Jo):!Vo(e,{skipAncestors:!0,isAncestor:t})&&((!e.actualNode||!Xo.some((function(r){return r(e,{isAncestor:t})})))&&(!e.parent||Jo(e.parent,!0)))}));function Qo(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,r,n-o,a-r)}function ei(e,t){var r=e.x,n=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return n>=a&&r<=o&&n<=i&&r>=u}var ti={};function ri(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return r>=n||a>=o?null:new i.DOMRect(r,a,n-r,o-a)}function ni(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new i.DOMPoint(t+n/2,r+a/2)}ie(ti,{getBoundingRect:function(){return Qo},getIntersectionRect:function(){return ri},getOffset:function(){return ii},getRectCenter:function(){return ni},hasVisualOverlap:function(){return si},isPointInRect:function(){return ei},rectHasMinimumSize:function(){return oi},rectsOverlap:function(){return xo},splitRects:function(){return ci}});var ai=.05;function oi(e,t){var r=t.width,n=t.height;return r+ai>=e&&n+ai>=e}function ii(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,n=Yi(e),a=Yi(t);if(!n.length||!a.length)return 0;var o,i=ni(n.reduce(Qo)),u=1/0,l=re(a);try{for(l.s();!(o=l.n()).done;){var s=o.value;if(ei(i,s))return 0;var c=li(i,ui(i,s));u=Math.min(u,c)}}catch(e){l.e(e)}finally{l.f()}if(oi(2*r,Ki(t)))return u;var d=li(i,ni(a.reduce(Qo)))-r;return Math.max(0,Math.min(u,d))}function ui(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function li(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function si(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return!(r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top)&&ji(e,t)>0}function ci(e,t){var r,n=[e],a=re(t);try{var o=function(){var e=r.value;n=n.reduce((function(t,r){return t.concat(function(e,t){var r=e.top,n=e.left,a=e.bottom,o=e.right,i=r<t.bottom&&a>t.top,u=n<t.right&&o>t.left,l=[];di(t.top,r,a)&&u&&l.push({top:r,left:n,bottom:t.top,right:o});di(t.right,n,o)&&i&&l.push({top:r,left:t.right,bottom:a,right:o});di(t.bottom,r,a)&&u&&l.push({top:t.bottom,right:o,bottom:a,left:n});di(t.left,n,o)&&i&&l.push({top:r,left:n,bottom:a,right:t.left});if(0===l.length){if(c=t,(s=e).top>=c.top&&s.left>=c.left&&s.bottom<=c.bottom&&s.right<=c.right)return[];l.push(e)}var s,c;return l.map(pi)}(r,e))}),[])};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return n}var di=function(e,t,r){return e>t&&e<r};function pi(e){return new i.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var fi=0,mi=.1,hi=.2,Di=.3,gi=0;function vi(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(Wn.get("gridCreated")&&!r)return Yr.gridSize;if(Wn.set("gridCreated",!0),!r){var n,a=Yn(l.documentElement);if(a||(a=new Op(l.documentElement)),gi=0,a._stackingOrder=[wi(fi,gi++,null)],null!==(n=t)&&void 0!==n||(t=new xi),Ci(t,a),Af(a.actualNode)){var o=new xi(a);a._subGrid=o}}for(var u=l.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),s=r?u.nextNode():u.currentNode;s;){var d=Yn(s);d&&d.parent?r=d.parent:s.assignedSlot?r=Yn(s.assignedSlot):s.parentElement?r=Yn(s.parentElement):s.parentNode&&Yn(s.parentNode)&&(r=Yn(s.parentNode)),d||(d=new c.VirtualNode(s,r)),d._stackingOrder=Fi(d,r,gi++);var p=Ei(d,r),f=p?p._subGrid:t;if(Af(d.actualNode)){var m=new xi(d);d._subGrid=m}var h=d.boundingClientRect;0!==h.width&&0!==h.height&&Zo(s)&&Ci(f,d),vo(s)&&vi(s.shadowRoot,f,d),s=u.nextNode()}return Yr.gridSize}function bi(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if("fixed"===r||"sticky"===r)return!0;if("auto"!==n&&"static"!==r)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var l=e.getComputedStylePropertyValue("will-change");if("transform"===l||"opacity"===l)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var s=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(s)||!("auto"===n||!yi(t))}function yi(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function Fi(e,t,r){var n=t._stackingOrder.slice();if(bi(e,t)){var a=n.findIndex((function(e){var t=e.stackLevel;return[fi,hi,Di].includes(t)}));-1!==a&&n.splice(a,n.length-a)}var o=function(e,t){var r=function(e,t){var r=e.getComputedStylePropertyValue("position");if("static"===r&&!yi(t))return"auto";return e.getComputedStylePropertyValue("z-index")}(e,t);if(!["auto","0"].includes(r))return parseInt(r);if("static"!==e.getComputedStylePropertyValue("position"))return Di;if("none"!==e.getComputedStylePropertyValue("float"))return hi;if(bi(e,t))return mi;return null}(e,t);return null!==o&&n.push(wi(o,r,e)),n}function wi(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function Ei(e,t){for(var r=null,n=[e];t;){if(Af(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=Yn(t.actualNode.parentElement||t.actualNode.parentNode)}return n.forEach((function(e){return e._scrollRegionParent=r})),r}function Ci(e,t){var r=ko(t);t.clientRects.forEach((function(n){var a,o=r.reduce((function(e,t){return e&&ri(e,t.boundingClientRect)}),n);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,(function(e){e.includes(t)||e.push(t)}))}}))}var xi=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;J(this,e),this.container=t,this.cells=[]}return ee(e,[{key:"toGridIndex",value:function(e){return Math.floor(e/Yr.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,r,n=e.x,a=e.y;pn(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(n);pn(ei({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(r=u[i-u._negativeIndex])&&void 0!==r?r:[]}},{key:"loopGridPosition",value:function(e,t){var r=e,n=r.left,a=r.right,o=r.top,i=r.bottom;this.boundaries&&(e=Qo(this.boundaries,e)),this.boundaries=e,Ai(this.cells,o,i,(function(e,r){Ai(e,n,a,(function(e,n){t(e,{row:r,col:n})}))}))}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),r=this.toGridIndex(r+o-1),n=this.toGridIndex(n+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,r-a,n-t)}}]),e}();function Ai(e,t,r,n){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var o=0;o<e._negativeIndex-t;o++)e.splice(0,0,[]);e._negativeIndex=t}for(var i=t-e._negativeIndex,u=r-e._negativeIndex,l=i;l<=u;l++){var s,c;null!==(c=e[s=l])&&void 0!==c||(e[s]=[]),n(e[l],l+e._negativeIndex)}}function ki(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(vi(),null===(t=e._grid)||void 0===t||null===(r=t.cells)||void 0===r||!r.length)return[];var a=e.boundingClientRect,o=e._grid,i=Ni(e),u=o.getGridPositionOfRect(a,n),l=[];return o.loopGridPosition(u,(function(t){var r,n=re(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;a&&a!==e&&!l.includes(a)&&i===Ni(a)&&l.push(a)}}catch(e){n.e(e)}finally{n.f()}})),l}var Ni=wn((function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||Ni(e.parent))})),_i=wn((function(){var e;if(!c._tree)return null;var t=Jf(c._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return l.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&Zo(e)}));if(!t.length)return null;var r=t.find((function(e){var t=e.boundingClientRect;return l.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)}));return r||(null!==(e=t.find((function(e){var t,r=null!==(t=function(e){vi();var t=c._tree[0]._grid,r=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(!t)return;for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var o=0;o<a.length;o++){var u=a[o];if(u)for(var l=0;l<u.length;l++){var s=u[l],d=ri(s.boundingClientRect,r);if("html"!==s.props.nodeName&&s!==e&&"none"!==s.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:s,rect:d}}}}}(e))&&void 0!==t?t:{},n=r.vNode,a=r.rect;return!!n&&!l.elementsFromPoint(a.left+1,a.top+1).includes(n.actualNode)})))&&void 0!==e?e:null)}));function Ti(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?Bi(e,n):Ri(e,n)}var Bi=wn((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var r=_i();if(r&&!mo(r,e))return!0}return!1})),Ri=wn((function(e,t){return!!Bi(e,t)||!!e.parent&&Ri(e.parent,!0)})),Si=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];var Oi=function(e){var t,r=jf(e).vNode;if(t=r.props.nodeName,Si.includes(t)&&r.hasAttr("disabled")||Ti(r))return!0;for(var n=r.parent,a=[],o=!1;n&&n.shadowId===r.shadowId&&!o&&(a.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){o=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(o=!0),n=n.parent}return a.forEach((function(e){return e._inDisabledFieldset=o})),!!o||"area"!==r.props.nodeName&&(!!r.actualNode&&Vo(r))},Mi=/^\/\#/,Ii=/^#[!/]/;function Pi(e){var t,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(Mi.test(r))return!0;var n=e.hash,a=e.protocol,o=e.hostname,u=e.port,l=e.pathname;if(Ii.test(n))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var s,c=i.location.origin+i.location.pathname;return s=o?"".concat(a,"//").concat(o).concat(u?":".concat(u):""):i.location.origin,(s+=l?("/"!==l[0]?"/":"")+l:i.location.pathname)===c}var Li=function(e,t){var r=e.getAttribute(t);if(!r)return null;if("href"===t&&!Pi(e))return null;-1!==r.indexOf("#")&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=l.getElementById(r);return n||((n=l.getElementsByName(r)).length?n[0]:null)};function ji(e,t){vi();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(void 0===t._stackingOrder[n])return-1;if(void 0===e._stackingOrder[n])return 1;if(t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return-1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,o=t.actualNode;if(a.getRootNode&&a.getRootNode()!==o.getRootNode()){for(var u=[];a;)u.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;o&&!u.find((function(e){return e.root===o.getRootNode()}));)o=o.getRootNode().host;if((a=u.find((function(e){return e.root===o.getRootNode()})).node)===o)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var l=i.Node,s=l.DOCUMENT_POSITION_FOLLOWING,c=l.DOCUMENT_POSITION_CONTAINS,d=l.DOCUMENT_POSITION_CONTAINED_BY,p=a.compareDocumentPosition(o),f=p&s?1:-1,m=p&c||p&d,h=qi(e),D=qi(t);return h===D||m?f:D-h}function qi(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:zi(e)?1:0}function zi(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=zi(e.parent);return e._isFloated=t,t}function Vi(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=ni(t),a=e.getCellFromPoint(n)||[],o=Math.floor(n.x),i=Math.floor(n.y),u=a.filter((function(e){return e.clientRects.some((function(e){var t=e.left,r=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&i<Math.floor(r+e.height)&&i>=Math.floor(r)}))})),s=e.container;return s&&(u=Vi(s._grid,s.boundingClientRect,!0).concat(u)),r||(u=u.sort(ji).map((function(e){return e.actualNode})).concat(l.documentElement).filter((function(e,t,r){return r.indexOf(e)===t}))),u}var $i=function(e){vi();var t=Yn(e),r=t._grid;return r?Vi(r,t.boundingClientRect):[]};var Hi=function(e){return sm(e,"*").filter((function(e){var t=e.isFocusable,r=e.actualNode.getAttribute("tabindex");return(r=r&&!isNaN(parseInt(r,10))?parseInt(r):null)?t&&r>=0:t}))};var Ui=function(e){var t=jf(e).vNode;if(!t||Oi(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!sm(t,"summary").length}return!1};function Gi(e){var t=jf(e).vNode;if(1!==t.props.nodeType)return!1;if(Oi(t))return!1;if(Ui(t))return!0;var r=t.attr("tabindex");return!(!r||isNaN(parseInt(r,10)))}function Wi(e){var t=jf(e).vNode;return 1===t.props.nodeType&&(!(parseInt(t.attr("tabindex",10))<=-1)&&Gi(t))}var Yi=wn((function(e){var t=e.boundingClientRect,r=ki(e).filter((function(t){return si(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return e.actualNode.contains(t.actualNode)&&!Wi(t)}(e,t)}));if(!r.length)return[t];var n=r.map((function(e){return e.boundingClientRect}));return ci(t,n)}));var Ki=wn((function(e,t){return function(e,t){return e.reduce((function(e,r){var n=oi(t,e);return n!==oi(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r}))}(Yi(e),t)}));var Xi={};ie(Xi,{accessibleText:function(){return Ji},accessibleTextVirtual:function(){return yl},autocomplete:function(){return Cl},formControlValue:function(){return ll},formControlValueMethods:function(){return il},hasUnicode:function(){return vl},isHumanInterpretable:function(){return El},isIconLigature:function(){return bl},isValidAutocomplete:function(){return xl},label:function(){return _l},labelText:function(){return dl},labelVirtual:function(){return Nl},nativeElementType:function(){return Tl},nativeTextAlternative:function(){return Dl},nativeTextMethods:function(){return hl},removeUnicode:function(){return wl},sanitize:function(){return vu},subtreeText:function(){return cl},titleText:function(){return Hu},unsupported:function(){return Wu},visible:function(){return kl},visibleTextNodes:function(){return Bl},visibleVirtual:function(){return Xu}});var Zi=function(e,t){e=e.actualNode||e;try{var r=Fo(e),n=[],a=e.getAttribute(t);if(a){a=Ip(a);for(var o=0;o<a.length;o++)n.push(r.getElementById(a[o]))}return n}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}};var Ji=function(e,t){return yl(Yn(e),t)};var Qi=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=jf(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||t.inLabelledByContext||t.inControlContext||!r.attr("aria-labelledby")?"":Zi(r,"aria-labelledby").filter((function(e){return e})).reduce((function(e,n){var a=Ji(n,Y({inLabelledByContext:!0,startNode:t.startNode||r},t));return e?"".concat(e," ").concat(a):a}),"")};function eu(e){var t=jf(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var tu={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},ru={alert:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"widget",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},nu={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},au={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},ou={ariaAttrs:tu,ariaRoles:Y({},ru,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:nu,cssColors:au},iu=Y({},ou);var uu=iu;var lu=function(e){var t=uu.ariaRoles[e];return!!t&&!!t.unsupported};var su=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=void 0!==n&&n,o=uu.ariaRoles[e],i=lu(e);return!(!o||a&&i)&&(!!r||"abstract"!==o.type)};var cu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(1!==(e=e instanceof Zr?e:Yn(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(r?Ip(o):[o]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&su(e,{allowAbstract:n})}))||null};var du=function(e){return Object.keys(uu.htmlElms).filter((function(t){var r=uu.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):!!r.variant&&(!(!r.variant.default||!r.variant.default.contentTypes)&&r.variant.default.contentTypes.includes(e))}))};var pu=function(){return Wn.get("globalAriaAttrs",(function(){return Object.keys(uu.ariaAttrs).filter((function(e){return uu.ariaAttrs[e].global}))}))};var fu=wn((function(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var o=r[n].cells;t[n]=t[n]||[];for(var i=0,u=0,l=o.length;u<l;u++)for(var s=0;s<o[u].colSpan;s++){for(var c=o[u].getAttribute("rowspan"),d=0===parseInt(c)||0===o[u].rowspan?r.length:o[u].rowSpan,p=0;p<d;p++){for(t[n+p]=t[n+p]||[];t[n+p][i];)i++;t[n+p][i]=o[u]}i++}}return t}));var mu=wn((function(e,t){var r,n;for(t||(t=fu(Co(e,"table"))),r=0;r<t.length;r++)if(t[r]&&-1!==(n=t[r].indexOf(e)))return{x:n,y:r}}));function hu(e){var t=jf(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),o=r.attr("role");if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===o)return"col";if("rowheader"===o)return"row";if("col"===a||"row"===a)return a;if("th"!==r.props.nodeName)return!1;if(!r.actualNode)return"auto";var i=fu(Co(n,"table")),u=mu(n,i);return i[u.y].every((function(e){return"TH"===e.nodeName.toUpperCase()}))?"col":i.map((function(e){return e[u.x]})).every((function(e){return e&&"TH"===e.nodeName.toUpperCase()}))?"row":"auto"}var Du=function(e){return-1!==["col","auto"].indexOf(hu(e))};var gu=function(e){return["row","auto"].includes(hu(e))};var vu=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},bu=function(){return Wn.get("sectioningElementSelector",(function(){return du("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , main:not([role]), [role=article], [role=complementary], [role=main], [role=navigation], [role=region]"}))};function yu(e){var t=vu(Qi(e)),r=vu(eu(e));return!(!t&&!r)}var Fu={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:"complementary",body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return ha(e,bu())?null:"contentinfo"},form:function(e){return yu(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return ha(e,bu())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),r=pu().find((function(t){return e.hasAttr(t)}));return!t||r||Gi(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var r=Zi(e.actualNode,"list").filter((function(e){return!!e}))[0];t=r&&"datalist"===r.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return yu(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=ha(e,"table"),r=cu(t);return["grid","treegrid"].includes(r)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return Du(e)?"columnheader":gu(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"};var wu=function(e,t){var r=s(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===r)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e};var Eu=function(e,t){return wu(!!yl(e),t)};var Cu=function(e,t){if("object"!==s(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(r){return wu(e(r),t[r])}))};var xu=function(e,t){return e=jf(e).vNode,Cu((function(t){return e.attr(t)}),t)};function Au(e,t){return!!t(e)}var ku=function(e,t){return wu(cu(e),t)};var Nu=function(e,t){return wu(Pu(e),t)};var _u=function(e,t){return e=jf(e).vNode,wu(e.props.nodeName,t)};var Tu=function(e,t){return e=jf(e).vNode,Cu((function(t){return e.props[t]}),t)};var Bu=function(e,t){return wu(Vu(e),t)},Ru={hasAccessibleName:Eu,attributes:xu,condition:Au,explicitRole:ku,implicitRole:Nu,nodeName:_u,properties:Tu,semanticRole:Bu};var Su=function e(t,r){return t=jf(t).vNode,Array.isArray(r)?r.some((function(r){return e(t,r)})):"string"==typeof r?na(t,r):Object.keys(r).every((function(e){if(!Ru[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var n=Ru[e],a=r[e];return n(t,a)}))};var Ou=function(e,t){return Su(e,t)};Ou.hasAccessibleName=Eu,Ou.attributes=xu,Ou.condition=Au,Ou.explicitRole=ku,Ou.fromDefinition=Su,Ou.fromFunction=Cu,Ou.fromPrimative=wu,Ou.implicitRole=Nu,Ou.nodeName=_u,Ou.properties=Tu,Ou.semanticRole=Bu;var Mu=Ou;var Iu=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,r=void 0!==t&&t,n=uu.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var a=n.variant,o=U(n,h);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],l=u.matches,s=U(u,D),c=Array.isArray(l)?l:[l],d=0;d<c.length&&r;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return n;if(Mu(e,l))for(var p in s)s.hasOwnProperty(p)&&(o[p]=s[p])}for(var f in a.default)a.default.hasOwnProperty(f)&&void 0===o[f]&&(o[f]=a.default[f]);return o};var Pu=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=e instanceof Zr?e:Yn(e);if(e=r.actualNode,!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=r.props.nodeName,a=Fu[n];return!a&&t?Iu(r).chromiumRole||null:"function"==typeof a?a(r):a||null},Lu={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function ju(e,t){var r=Lu[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=cu(e.parent,t);return["none","presentation"].includes(n)&&!zu(e.parent)?n:n?null:ju(e.parent,t)}function qu(e,t){var r=t.chromium,n=U(t,g),a=Pu(e,{chromium:r});if(!a)return null;var o=ju(e,n);return o||a}function zu(e){return pu().some((function(t){return e.hasAttr(t)}))||Gi(e)}var Vu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noPresentational,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,n=U(t,v),a=jf(e).vNode;if(1!==a.props.nodeType)return null;var o=cu(a,n);return o?["presentation","none"].includes(o)&&zu(a)?r?null:qu(a,n):o:r?null:qu(a,n)}(e,U(t,b));return r&&["presentation","none"].includes(n)?null:n},$u=["iframe"];var Hu=function(e){var t=jf(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Ou(t,$u)&&["none","presentation"].includes(Vu(t))?"":t.attr("title"):""};var Uu=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof Zr?e:Yn(e)).props.nodeType)return!1;var r=Vu(e),n=uu.ariaRoles[r];return!(!n||!n.nameFromContent)||!t&&(!n||["presentation","none"].includes(r))};var Gu=function(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Zi(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return c.utils.getNodeFromTree(e)}));return[].concat(G(r),G(n))}return G(r)},Wu={accessibleNameFromFieldValue:["progressbar"]};function Yu(e){return e=jf(e).vNode,Ku(e)}var Ku=wn((function(e,t){return!Oo(e)&&!Ti(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!jo(e,Ku):!Vo(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||Ku(e.parent,!0)))}));var Xu=function e(t,r,n){var a=jf(t).vNode,o=r?Yu:Zo,i=!t.actualNode||t.actualNode&&o(t),u=a.children.map((function(t){var a=t.props,o=a.nodeType,u=a.nodeValue;if(3===o){if(u&&i)return u}else if(!n)return e(t,r)})).join("");return vu(u)},Zu=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];var Ju=function(e){var t=(e=e instanceof Zr?e:Yn(e)).props.nodeName;return"textarea"===t||"input"===t&&!Zu.includes((e.attr("type")||"").toLowerCase())};var Qu=function(e){return"select"===(e=e instanceof Zr?e:Yn(e)).props.nodeName};var el=function(e){return"textbox"===cu(e)};var tl=function(e){return"listbox"===cu(e)};var rl=function(e){return"combobox"===cu(e)},nl=["progressbar","scrollbar","slider","spinbutton"];var al=function(e){var t=cu(e);return nl.includes(t)},ol=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],il={nativeTextboxValue:function(e){var t=jf(e).vNode;if(Ju(t))return t.props.value||"";return""},nativeSelectValue:function(e){var t=jf(e).vNode;if(!Qu(t))return"";var r=sm(t,"option"),n=r.filter((function(e){return e.props.selected}));n.length||n.push(r[0]);return n.map((function(e){return Xu(e)})).join(" ")||""},ariaTextboxValue:function(e){var t=jf(e),r=t.vNode,n=t.domNode;if(!el(r))return"";return!n||n&&!Vo(n)?Xu(r,!0):n.textContent},ariaListboxValue:ul,ariaComboboxValue:function(e,t){var r=jf(e).vNode;if(!rl(r))return"";var n=Gu(r).filter((function(e){return"listbox"===Vu(e)}))[0];return n?ul(n,t):""},ariaRangeValue:function(e){var t=jf(e).vNode;if(!al(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}};function ul(e,t){var r=jf(e).vNode;if(!tl(r))return"";var n=Gu(r).filter((function(e){return"option"===Vu(e)&&"true"===e.attr("aria-selected")}));return 0===n.length?"":yl(n[0],t)}var ll=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode,n=Wu.accessibleNameFromFieldValue||[],a=Vu(e);if(t.startNode===e||!ol.includes(a)||n.includes(a))return"";var o=Object.keys(il).map((function(e){return il[e]})).reduce((function(r,n){return r||n(e,t)}),"");return t.debug&&Kr(o||"{empty-value}",r,t),o};var sl=du("phrasing").concat(["#text"]);var cl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=yl.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,o=n.inControlContext,i=n.inLabelledByContext,u=Vu(e),l=Iu(e,{noMatchAccessibleName:!0}).contentTypes;return r(e,t)||1!==e.props.nodeType||null!=l&&l.includes("embedded")||ol.includes(u)?"":t.subtreeDescendant||t.inLabelledByContext||Uu(e,{strict:a})?(a||(t=Y({subtreeDescendant:!o&&!i},t)),Gu(e).reduce((function(e,r){return function(e,t,r){var n=t.props.nodeName,a=yl(t,r);if(!a)return e;sl.includes(n)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a));return e+a}(e,r,t)}),"")):""};var dl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=yl.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var n,a=Y({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return wo({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=ha(e,"label");return i?(n=[].concat(G(o),[i.actualNode])).sort(Lf):n=o,n.map((function(e){return Ji(e,a)})).filter((function(e){return""!==e})).join(" ")},pl={submit:"Submit",image:"Submit",reset:"Reset",button:""};function fl(e,t){return t.attr(e)||""}function ml(e,t,r){var n=t.actualNode,a=[e=e.toLowerCase(),n.nodeName.toLowerCase()].join(","),o=n.querySelector(a);return o&&o.nodeName.toLowerCase()===e?Ji(o,r):""}var hl={valueText:function(e){return e.actualNode.value||""},buttonDefaultText:function(e){var t=e.actualNode;return pl[t.type]||""},tableCaptionText:ml.bind(null,"caption"),figureText:ml.bind(null,"figcaption"),svgTitleText:ml.bind(null,"title"),fieldsetLegendText:ml.bind(null,"legend"),altText:fl.bind(null,"alt"),tableSummaryText:fl.bind(null,"summary"),titleText:Hu,subtreeText:cl,labelText:dl,singleSpace:function(){return" "},placeholderText:fl.bind(null,"placeholder")};function Dl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(Vu(e)))return"";var n=function(e){var t=Iu(e,{noMatchAccessibleName:!0});return(t.namingMethods||[]).map((function(e){return hl[e]}))}(e),a=n.reduce((function(r,n){return r||n(e,t)}),"");return t.debug&&c.log(a||"{empty-value}",r,t),a}var gl=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g};var vl=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,o=!1;return r&&(o||(o=/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g.test(e))),n&&(o||(o=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function bl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!vu(n)||vl(n,{emoji:!0,nonBmp:!0}))return!1;var a=Wn.get("canvasContext",(function(){return l.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),o=a.canvas,u=Wn.get("fonts",(function(){return{}})),s=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[s]||(u[s]={occurrences:0,numLigatures:0});var c=u[s];if(c.occurrences>=r){if(c.numLigatures/c.occurrences==1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,p="".concat(d,"px ").concat(s);a.font=p;var f=n.charAt(0),m=a.measureText(f).width;if(0===m)return c.numLigatures++,!0;if(m<30){var h=30/m;m*=h,p="".concat(d*=h,"px ").concat(s)}o.width=m,o.height=d,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(f,0,0);var D=new Uint32Array(a.getImageData(0,0,m,d).data.buffer);if(!D.some((function(e){return e})))return c.numLigatures++,!0;a.clearRect(0,0,m,d),a.fillText(n,0,0);var g=new Uint32Array(a.getImageData(0,0,m,d).data.buffer),v=D.reduce((function(e,t,r){return 0===t&&0===g[r]||0!==t&&0!==g[r]?e:++e}),0),b=n.split("").reduce((function(e,t){return e+a.measureText(t).width}),0),y=a.measureText(n).width;return v/D.length>=t&&1-y/b>=t&&(c.numLigatures++,!0)}function yl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){t.startNode||(t=Y({startNode:e},t));1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=Y({includeHidden:!Yu(e)},t));return t}(e,t),function(e,t){if(!e)return!1;if(1!==e.props.nodeType||t.includeHidden)return!1;return!Yu(e)}(e,t))return"";if(function(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(r=t.occurrenceThreshold)&&void 0!==r?r:t.occuranceThreshold;if(3!==e.props.nodeType||!n)return!1;return bl(e,a,o)}(e,t))return"";var r=[Qi,eu,Dl,ll,cl,Fl,Hu].reduce((function(r,n){return t.startNode===e&&(r=vu(r)),""!==r?r:n(e,t)}),"");return t.debug&&c.log(r||"{empty-value}",e.actualNode,t),r}function Fl(e){return 3!==e.props.nodeType?"":e.props.nodeValue}yl.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var wl=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26D3\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26F9(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC3\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC08\uDC26](?:\u200D\u2B1B)?|[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E\uDC70\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED7\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E[\uDDAF-\uDDB3\uDDBC\uDDBD])|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDD75(?:\uFE0F|\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3D\uDD3E\uDDB8\uDDB9\uDDCD-\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE88\uDE90-\uDEBD\uDEBF-\uDEC2\uDECE-\uDEDB\uDEE0-\uDEE8]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF-\uDDB3\uDDBC\uDDBD]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g,"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e};var El=function(e){if(!e.length)return 0;if(["x","i"].includes(e))return 0;var t=wl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return vu(t)?1:0},Cl={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};var xl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,n=void 0!==r&&r,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,u=void 0===i?[]:i,l=t.qualifiers,s=void 0===l?[]:l,c=t.standaloneTerms,d=void 0===c?[]:c,p=t.qualifiedTerms,f=void 0===p?[]:p;if(e=e.toLowerCase().trim(),(o=o.concat(Cl.stateTerms)).includes(e)||""===e)return!0;s=s.concat(Cl.qualifiers),u=u.concat(Cl.locations),d=d.concat(Cl.standaloneTerms),f=f.concat(Cl.qualifiedTerms);var m=e.split(/\s+/g);if("webauthn"===m[m.length-1]&&(m.pop(),0===m.length))return!1;if(!n&&(m[0].length>8&&"section-"===m[0].substr(0,8)&&m.shift(),u.includes(m[0])&&m.shift(),s.includes(m[0])&&(m.shift(),d=[]),1!==m.length))return!1;var h=m[m.length-1];return d.includes(h)||f.includes(h)};var Al=function(e){var t;return e.attr("aria-labelledby")&&(t=Zi(e.actualNode,"aria-labelledby").map((function(e){var t=Yn(e);return t?Xu(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=vu(t))?t:null};var kl=function(e,t,r){return e=Yn(e),Xu(e,t,r)};var Nl=function(e){var t,r;if(r=Al(e))return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=mn(e.attr("id"));if(r=(t=Fo(e.actualNode).querySelector('label[for="'+n+'"]'))&&kl(t,!0))return r}return(r=(t=ha(e,"label"))&&Xu(t,!0))||null};var _l=function(e){return e=Yn(e),Nl(e)},Tl=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}];var Bl=function e(t){var r=Zo(t),n=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?r&&n.push(t):n=n.concat(e(t))})),n},Rl=wn((function(e){var t=Yn(e),r=t.boundingClientRect,n=[],a=ko(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==vu(e.nodeValue)){var t=function(e){var t=l.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some((function(e){return!ei(ni(e),t)}))})(t,r)||n.push.apply(n,G(function(e,t){var r=[];return e.forEach((function(e){if(!(e.width<1||e.height<1)){var n=t.reduce((function(e,t){return e&&ri(e,t.boundingClientRect)}),e);n&&r.push(n)}})),r}(t,a)))}})),n.length?n:[r]}));var Sl=function(e){vi();var t=Yn(e)._grid;return t?Rl(e).map((function(e){return Vi(t,e)})):[]},Ol=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];var Ml=function(e){var t=jf(e).vNode,r=c.commons.aria.getExplicitRole(t);if(r)return-1!==Ol.indexOf(r);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},Il=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Pl(e){return!Il.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var Ll=function e(t,r,n){return Pl(t)||Ml(t.actualNode)||!n&&!!Al(t)||!r&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))};var jl=function(e,t,r){return e=Yn(e),Ll(e,t,r)};function ql(e){return!(void 0!==e.children&&!Pl(e))||(1===e.props.nodeType&&Ml(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&ql(e)&&!Vo(e)})))}var zl=function(e){return parseInt(e.getAttribute("tabindex"),10)>-1&&Gi(e)&&!Ui(e)};function Vl(e,t){var r=jf(e),n=r.vNode,a=r.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=$l(a,t)),n._isHiddenWithCSS):$l(a,t)}function $l(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=i.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var n=["hidden","collapse"],a=r.getPropertyValue("visibility");if(n.includes(a)&&!t)return!0;if(n.includes(a)&&t&&n.includes(t))return!0;var o=Uo(e);return!(!o||n.includes(a))&&Vl(o,a)}var Hl=Vl;var Ul=function(e){var t=e.doctype;return null!==t&&("html"===t.name&&!t.publicId&&!t.systemId)};var Gl=function(e){var t;(e instanceof Zr||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var r=uu.ariaRoles[e];return(null==r?void 0:r.type)||null};function Wl(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return Wl(e,t)}))}var Yl=["block","list-item","table","flex","grid","inline-block"];function Kl(e){var t=i.getComputedStyle(e).getPropertyValue("display");return Yl.includes(t)||"table-"===t.substr(0,6)}var Xl=function(e,t){if(Kl(e))return!1;var r=function(e){for(var t=Uo(e);t&&!Kl(t);)t=Uo(t);return Yn(t)}(e),n="",a="",o=0;return Wl(r,(function(t){if(2===o)return!1;if(3===t.nodeType&&(n+=t.nodeValue),1===t.nodeType){var r=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(r))0===o?(n="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===Gl(t))return a+=t.textContent,!1}}})),n=vu(n),null!=t&&t.noLengthCompare?0!==n.length:(a=vu(a),n.length>a.length)};var Zl=function(e){var t=(e=e||{}).modalPercent||.75;if(Wn.get("isModalOpen"))return Wn.get("isModalOpen");if(Jf(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",Zo).length)return Wn.set("isModalOpen",!0),!0;for(var r=Yo(i),n=r.width*t,a=r.height*t,o=(r.width-n)/2,u=(r.height-a)/2,d=[{x:o,y:u},{x:r.width-o,y:u},{x:r.width/2,y:r.height/2},{x:o,y:r.height-u},{x:r.width-o,y:r.height-u}].map((function(e){return Array.from(l.elementsFromPoint(e.x,e.y))})),p=function(e){var t=d[e].find((function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=n&&parseInt(t.height,10)>=a&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)}));if(t&&d.every((function(e){return e.includes(t)})))return Wn.set("isModalOpen",!0),{v:!0}},f=0;f<d.length;f++){var m=p(f);if("object"===s(m))return m.v}Wn.set("isModalOpen",void 0)};function Jl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n,a=0,o=0,i=re(r.getClientRects());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==o)return!0;a=u.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var Ql=function(e){return e instanceof i.Node},es="color.incompleteData",ts={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var r=Wn.get(es,(function(){return{}}));return t&&(r[e]=t),r[e]},get:function(e){var t=Wn.get(es);return null==t?void 0:t[e]},clear:function(){Wn.set(es,{})}},rs=ts;var ns=function(e,t){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return rs.set("bgColor","imgNode"),!0;var n=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==n;if(a){var o=/gradient/.test(n);rs.set("bgColor",o?"bgGradient":"bgImage")}return a},as={};ie(as,{Colorjs:function(){return tp},CssSelectorParser:function(){return os.CssSelectorParser},doT:function(){return is.default},emojiRegexText:function(){return gl},memoize:function(){return us.default}});var os=ue(Vt()),is=ue($t()),us=ue(Lt());function ls(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map((function(e){return[e]})));var n=t[0].length,a=t[0].map((function(e,r){return t.map((function(e){return e[r]}))})),o=e.map((function(e){return a.map((function(t){var r=0;if(!Array.isArray(e)){var n,a=re(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;r+=e*o}}catch(e){a.e(e)}finally{a.f()}return r}for(var i=0;i<e.length;i++)r+=e[i]*(t[i]||0);return r}))}));return 1===r&&(o=o[0]),1===n?o.map((function(e){return e[0]})):o}function ss(e){return"string"===cs(e)}function cs(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function ds(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return+e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function ps(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,r=e.match(/^([a-z]+)\((.+?)\)$/i);if(r){var n=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function(e,r){/%$/.test(r)?(r=new Number(r.slice(0,-1)/100)).type="<percentage>":/deg$/.test(r)?((r=new Number(+r.slice(0,-3))).type="<angle>",r.unit="deg"):t.test(r)&&((r=new Number(r)).type="<number>"),e.startsWith("/")&&((r=r instanceof Number?r:new Number(r)).alpha=!0),n.push(r)})),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:n}}}}function fs(e){return e[e.length-1]}function ms(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function hs(e,t,r){return(r-e)/(t-e)}function Ds(e,t,r){return ms(t[0],t[1],hs(e[0],e[1],r))}function gs(e){return e.map((function(e){return e.split("|").map((function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var r=new String(t[1]);return r.range=[+t[2],+t[3]],r}return e}))}))}var vs=Object.freeze({__proto__:null,isString:ss,type:cs,toPrecision:ds,parseFunction:ps,last:fs,interpolate:ms,interpolateInv:hs,mapRange:Ds,parseCoordGrammar:gs,multiplyMatrices:ls}),bs=function(){function e(){J(this,e)}return ee(e,[{key:"add",value:function(e,t,r){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),e}(),ys=new bs,Fs={gamut_mapping:"lch.c",precision:5,deltaE:"76"},ws={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function Es(e){return Array.isArray(e)?e:ws[e]}function Cs(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=Es(e),t=Es(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(ys.run("chromatic-adaptation-start",a),a.M||(a.W1===ws.D65&&a.W2===ws.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===ws.D50&&a.W2===ws.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),ys.run("chromatic-adaptation-end",a),a.M)return ls(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var xs=(e=new WeakSet,t=new WeakMap,o=new WeakSet,function(){function r(n){var a,i,u,l,s,c,d;J(this,r),j(this,o),j(this,e),L(this,t,{writable:!0,value:void 0}),this.id=n.id,this.name=n.name,this.base=n.base?r.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var p=null!==(a=n.coords)&&void 0!==a?a:this.base.coords;this.coords=p;var f=null!==(i=null!==(u=n.white)&&void 0!==u?u:this.base.white)&&void 0!==i?i:"D65";for(var m in this.white=Es(f),this.formats=null!==(l=n.formats)&&void 0!==l?l:{},this.formats){var h=this.formats[m];h.type||(h.type="function"),h.name||(h.name=m)}!n.cssId||null!==(s=this.formats.functions)&&void 0!==s&&s.color?null===(c=this.formats)||void 0===c||!c.color||null!==(d=this.formats)&&void 0!==d&&d.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,$(this,t,V(this,o,ks).call(this).reverse()),ys.run("colorspace-init-end",this)}return ee(r,[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,r=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var n=Object.values(this.coords);return e.every((function(e,t){var a=n[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=K(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-r)&&(void 0===u||e<=u+r)}return!0}))}},{key:"cssId",get:function(){var e,t;return(null===(e=this.formats.functions)||void 0===e||null===(t=e.color)||void 0===t?void 0:t.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===s(t)?t=V(this,e,As).call(this,t):(r="default"===t?Object.values(this.formats)[0]:this.formats[t])?r=V(this,e,As).call(this,r):null;var r}},{key:"to",value:function(e,n){if(1===arguments.length){var a=[e.space,e.coords];e=a[0],n=a[1]}if(this===(e=r.get(e)))return n;n=n.map((function(e){return Number.isNaN(e)?0:e}));for(var o,i,u=z(this,t),l=z(e,t),s=0;s<u.length&&u[s]===l[s];s++)o=u[s],i=s;if(!o)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var c=u.length-1;c>i;c--)n=u[c].toBase(n);for(var d=i+1;d<l.length;d++)n=l[d].fromBase(n);return n}},{key:"from",value:function(e,t){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],t=n[1]}return(e=r.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var r,n=this.coords[t],a=n.range||n.refRange;e.push(null!==(r=null==a?void 0:a.min)&&void 0!==r?r:0)}return e}}],[{key:"all",get:function(){return G(new Set(Object.values(r.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var r,n=re(t.aliases);try{for(n.s();!(r=n.n()).done;){var a=r.value;this.register(a,t)}}catch(e){n.e(e)}finally{n.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof r)return e;if("string"===cs(e)){var t=r.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var n=arguments.length,a=new Array(n>1?n-1:0),o=1;o<n;o++)a[o-1]=arguments[o];if(a.length)return r.get.apply(r,a);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var n,a,o=cs(e);if("string"===o)if(e.includes(".")){var i=K(e.split("."),2);n=i[0],a=i[1]}else n=void 0,a=e;else if(Array.isArray(e)){var u=K(e,2);n=u[0],a=u[1]}else n=e.space,a=e.coordId;if((n=r.get(n))||(n=t),!n)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(o=cs(a))||"string"===o&&a>=0){var l=Object.entries(n.coords)[a];if(l)return Y({space:n,id:l[0],index:a},l[1])}n=r.get(n);var s=a.toLowerCase(),c=0;for(var d in n.coords){var p,f=n.coords[d];if(d.toLowerCase()===s||(null===(p=f.name)||void 0===p?void 0:p.toLowerCase())===s)return Y({space:n,id:d,index:c},f);c++}throw new TypeError('No "'.concat(a,'" coordinate found in ').concat(n.name,". Its coordinates are: ").concat(Object.keys(n.coords).join(", ")))}}]),r}());function As(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=gs(e.coords);var t=Object.entries(this.coords).map((function(t,r){var n=K(t,2),a=(n[0],n[1]),o=e.coordGrammar[r][0],i=a.range||a.refRange,u=o.range,l="";return"<percentage>"==o?(u=[0,100],l="%"):"<angle>"==o&&(l="deg"),{fromRange:i,toRange:u,suffix:l}}));e.serializeCoords=function(e,r){return e.map((function(e,n){var a=t[n],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=Ds(o,i,e)),e=ds(e,r),u&&(e+=u),e}))}}return e}function ks(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var Ns=xs;le(Ns,"registry",{}),le(Ns,"DEFAULT_FORMAT",{type:"functions",name:"color"});var _s=new Ns({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),Ts=function(e){R(r,e);var t=O(r);function r(e){var n,a,o,i;(J(this,r),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=_s),e.toXYZ_M&&e.fromXYZ_M)&&(null!==(o=e.toBase)&&void 0!==o||(e.toBase=function(t){var r=ls(e.toXYZ_M,t);return a.white!==a.base.white&&(r=Cs(a.white,a.base.white,r)),r}),null!==(i=e.fromBase)&&void 0!==i||(e.fromBase=function(t){return t=Cs(a.base.white,a.white,t),ls(e.fromXYZ_M,t)}));return null!==(n=e.referred)&&void 0!==n||(e.referred="display"),a=t.call(this,e)}return ee(r)}(Ns);function Bs(e){var t,r={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(ys.run("parse-start",r),r.color)return r.color;if(r.parsed=ps(r.str),r.parsed){var n=function(){var e=r.parsed.name;if("color"===e){var t,n=r.parsed.args.shift(),a=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,o=re(Ns.all);try{for(o.s();!(t=o.n()).done;){var i,u=t.value,l=u.getFormat("color");if(l)if(n===l.id||null!==(i=l.ids)&&void 0!==i&&i.includes(n)){var c=function(){var e=Object.keys(u.coords).length,t=Array(e).fill(0);return t.forEach((function(e,n){return t[n]=r.parsed.args[n]||0})),{v:{v:{spaceId:u.id,coords:t,alpha:a}}}}();if("object"===s(c))return c.v}}}catch(e){o.e(e)}finally{o.f()}var d="";if(n in Ns.registry){var p,f,m,h=null===(p=Ns.registry[n].formats)||void 0===p||null===(f=p.functions)||void 0===f||null===(m=f.color)||void 0===m?void 0:m.id;h&&(d="Did you mean color(".concat(h,")?"))}throw new TypeError("Cannot parse color(".concat(n,"). ")+(d||"Missing a plugin?"))}var D,g=re(Ns.all);try{var v=function(){var t=D.value,n=t.getFormat(e);if(n&&"function"===n.type){var a=1;(n.lastAlpha||fs(r.parsed.args).alpha)&&(a=r.parsed.args.pop());var o=r.parsed.args;return n.coordGrammar&&Object.entries(t.coords).forEach((function(t,r){var a,i=K(t,2),u=i[0],l=i[1],s=n.coordGrammar[r],c=null===(a=o[r])||void 0===a?void 0:a.type;if(!(s=s.find((function(e){return e==c})))){var d=l.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(e,"()"))}var p=s.range;"<percentage>"===c&&(p||(p=[0,1]));var f=l.range||l.refRange;p&&f&&(o[r]=Ds(p,f,o[r]))})),{v:{v:{spaceId:t.id,coords:o,alpha:a}}}}};for(g.s();!(D=g.n()).done;){var b=v();if("object"===s(b))return b.v}}catch(e){g.e(e)}finally{g.f()}}();if("object"===s(n))return n.v}else{var a,o=re(Ns.all);try{for(o.s();!(a=o.n()).done;){var i=a.value;for(var u in i.formats){var l=i.formats[u];if("custom"===l.type&&(!l.test||l.test(r.str))){var c,d=l.parse(r.str);if(d)return null!==(c=d.alpha)&&void 0!==c||(d.alpha=1),d}}}}catch(e){o.e(e)}finally{o.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function Rs(e){if(!e)throw new TypeError("Empty color reference");ss(e)&&(e=Bs(e));var t=e.space||e.spaceId;return t instanceof Ns||(e.space=Ns.get(t)),void 0===e.alpha&&(e.alpha=1),e}function Ss(e,t){return(t=Ns.get(t)).from(e)}function Os(e,t){var r=Ns.resolveCoord(t,e.space),n=r.space,a=r.index;return Ss(e,n)[a]}function Ms(e,t,r){return t=Ns.get(t),e.coords=t.to(e.space,r),e}function Is(e,t,r){if(e=Rs(e),2===arguments.length&&"object"===cs(arguments[1])){var n=arguments[1];for(var a in n)Is(e,a,n[a])}else{"function"==typeof r&&(r=r(Os(e,t)));var o=Ns.resolveCoord(t,e.space),i=o.space,u=o.index,l=Ss(e,i);l[u]=r,Ms(e,i,l)}return e}var Ps=new Ns({id:"xyz-d50",name:"XYZ D50",white:"D50",base:_s,fromBase:function(e){return Cs(_s.white,"D50",e)},toBase:function(e){return Cs("D50",_s.white,e)},formats:{color:{}}}),Ls=216/24389,js=24/116,qs=24389/27,zs=ws.D50,Vs=new Ns({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:zs,base:Ps,fromBase:function(e){var t=e.map((function(e,t){return e/zs[t]})),r=t.map((function(e){return e>Ls?Math.cbrt(e):(qs*e+16)/116}));return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>js?Math.pow(t[0],3):(116*t[0]-16)/qs,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/qs,t[2]>js?Math.pow(t[2],3):(116*t[2]-16)/qs].map((function(e,t){return e*zs[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function $s(e){return(e%360+360)%360}var Hs=new Ns({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:Vs,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),$s(t)]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];return n<0&&(n=0),isNaN(a)&&(a=0),[r,n*Math.cos(a*Math.PI/180),n*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Us=Math.pow(25,7),Gs=Math.PI,Ws=180/Gs,Ys=Gs/180;function Ks(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.kL,a=void 0===n?1:n,o=r.kC,i=void 0===o?1:o,u=r.kH,l=void 0===u?1:u,s=K(Vs.from(e),3),c=s[0],d=s[1],p=s[2],f=Hs.from(Vs,[c,d,p])[1],m=K(Vs.from(t),3),h=m[0],D=m[1],g=m[2],v=Hs.from(Vs,[h,D,g])[1];f<0&&(f=0),v<0&&(v=0);var b=(f+v)/2,y=Math.pow(b,7),F=.5*(1-Math.sqrt(y/(y+Us))),w=(1+F)*d,E=(1+F)*D,C=Math.sqrt(Math.pow(w,2)+Math.pow(p,2)),x=Math.sqrt(Math.pow(E,2)+Math.pow(g,2)),A=0===w&&0===p?0:Math.atan2(p,w),k=0===E&&0===g?0:Math.atan2(g,E);A<0&&(A+=2*Gs),k<0&&(k+=2*Gs);var N,_=h-c,T=x-C,B=(k*=Ws)-(A*=Ws),R=A+k,S=Math.abs(B);C*x==0?N=0:S<=180?N=B:B>180?N=B-360:B<-180?N=B+360:console.log("the unthinkable has happened");var O,M=2*Math.sqrt(x*C)*Math.sin(N*Ys/2),I=(c+h)/2,P=(C+x)/2,L=Math.pow(P,7);O=C*x==0?R:S<=180?R/2:R<360?(R+360)/2:(R-360)/2;var j=Math.pow(I-50,2),q=1+.015*j/Math.sqrt(20+j),z=1+.045*P,V=1;V-=.17*Math.cos((O-30)*Ys),V+=.24*Math.cos(2*O*Ys),V+=.32*Math.cos((3*O+6)*Ys);var $=1+.015*P*(V-=.2*Math.cos((4*O-63)*Ys)),H=30*Math.exp(-1*Math.pow((O-275)/25,2)),U=2*Math.sqrt(L/(L+Us)),G=-1*Math.sin(2*H*Ys)*U,W=Math.pow(_/(a*q),2);return W+=Math.pow(T/(i*z),2),W+=Math.pow(M/(l*$),2),W+=G*(T/(i*z))*(M/(l*$)),Math.sqrt(W)}function Xs(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===r?75e-6:r;e=Rs(e),t=Ns.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:n})}function Zs(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function Js(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method,n=void 0===r?Fs.gamut_mapping:r,a=t.space,o=void 0===a?e.space:a;if(ss(arguments[1])&&(o=arguments[1]),Xs(e,o=Ns.get(o),{epsilon:0}))return e;var i=Qs(e,o);if("clip"!==n&&!Xs(e,o)){var u=Js(Zs(i),{method:"clip",space:o});if(Ks(e,u)>2){for(var l=Ns.resolveCoord(n),s=l.space,c=l.id,d=Qs(i,s),p=(l.range||l.refRange)[0],f=Os(d,c);f-p>.01;){var m=Zs(d);Ks(d,m=Js(m,{space:o,method:"clip"}))-2<.01?p=Os(d,c):f=Os(d,c),Is(d,c,(p+f)/2)}i=Qs(d,o)}else i=u}if("clip"===n||!Xs(i,o,{epsilon:0})){var h=Object.values(o.coords).map((function(e){return e.range||[]}));i.coords=i.coords.map((function(e,t){var r=K(h[t],2),n=r[0],a=r[1];return void 0!==n&&(e=Math.max(n,e)),void 0!==a&&(e=Math.min(e,a)),e}))}return o!==e.space&&(i=Qs(i,e.space)),e.coords=i.coords,e}function Qs(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=Rs(e);var n=(t=Ns.get(t)).from(e),a={space:t,coords:n,alpha:e.alpha};return r&&(a=Js(a)),a}function ec(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?Fs.precision:o,u=a.format,l=void 0===u?"default":u,s=a.inGamut,c=void 0===s||s,d=U(a,y),p=l;l=null!==(t=null!==(r=(e=Rs(e)).space.getFormat(l))&&void 0!==r?r:e.space.getFormat("default"))&&void 0!==t?t:Ns.DEFAULT_FORMAT,c||(c=l.toGamut);var f=e.coords;if(f=f.map((function(e){return e||0})),c&&!Xs(e)&&(f=Js(Zs(e),!0===c?void 0:c).coords),"custom"===l.type){if(d.precision=i,!l.serialize)throw new TypeError("format ".concat(p," can only be used to parse colors, not for serialization"));n=l.serialize(f,e.alpha,d)}else{var m=l.name||"color";l.serializeCoords?f=l.serializeCoords(f,i):null!==i&&(f=f.map((function(e){return ds(e,i)})));var h=G(f);if("color"===m){var D,g=l.id||(null===(D=l.ids)||void 0===D?void 0:D[0])||e.space.id;h.unshift(g)}var v=e.alpha;null!==i&&(v=ds(v,i));var b=e.alpha<1&&!l.noAlpha?"".concat(l.commas?",":" /"," ").concat(v):"";n="".concat(m,"(").concat(h.join(l.commas?", ":" ")).concat(b,")")}return n}Js.returns="color",Qs.returns="color";var tc=new Ts({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),rc=1.09929682680944,nc=.018053968510807,ac=new Ts({id:"rec2020",name:"REC.2020",base:tc,toBase:function(e){return e.map((function(e){return e<4.5*nc?e/4.5:Math.pow((e+rc-1)/rc,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=nc?rc*Math.pow(e,.45)-(rc-1):4.5*e}))},formats:{color:{}}}),oc=new Ts({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),ic=new Ts({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),uc={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},lc=Array(3).fill("<percentage> | <number>[0, 255]"),sc=Array(3).fill("<number>[0, 255]"),cc=new Ts({id:"srgb",name:"sRGB",base:ic,fromBase:function(e){return e.map((function(e){var t=e<0?-1:1,r=e*t;return r>.0031308?t*(1.055*Math.pow(r,1/2.4)-.055):12.92*e}))},toBase:function(e){return e.map((function(e){var t=e<0?-1:1,r=e*t;return r<.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)}))},formats:{rgb:{coords:lc},rgb_number:{name:"rgb",commas:!0,coords:sc,noAlpha:!0},color:{},rgba:{coords:lc,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:sc},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===r||r;t<1&&e.push(t),e=e.map((function(e){return Math.round(255*e)}));var a=n&&e.every((function(e){return e%17==0}));return"#"+e.map((function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")})).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=uc.black,t.alpha=0):t.coords=uc[e],t.coords)return t}}}}),dc=new Ts({id:"p3",name:"P3",base:oc,fromBase:cc.fromBase,toBase:cc.toBase,formats:{color:{id:"display-p3"}}});if(Fs.display_space=cc,"undefined"!=typeof CSS&&CSS.supports)for(var pc=0,fc=[Vs,ac,dc];pc<fc.length;pc++){var mc=fc[pc],hc=mc.getMinCoords(),Dc=ec({space:mc,coords:hc,alpha:1});if(CSS.supports("color",Dc)){Fs.display_space=mc;break}}function gc(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.space,n=void 0===r?Fs.display_space:r,a=U(t,F),o=ec(e,a);if("undefined"==typeof CSS||CSS.supports("color",o)||!Fs.display_space)(o=new String(o)).color=e;else{var i=Qs(e,n);(o=new String(ec(i,a))).color=i}return o}function vc(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",n=(r=Ns.get(r)).from(e),a=r.from(t);return Math.sqrt(n.reduce((function(e,t,r){var n=a[r];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)}),0))}function bc(e){return Os(e,[_s,"y"])}function yc(e,t){Is(e,[_s,"y"],t)}var Fc=Object.freeze({__proto__:null,getLuminance:bc,setLuminance:yc,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return bc(this)},set:function(e){yc(this,e)}})}});function wc(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function Ec(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}var Cc=216/24389,xc=24/116,Ac=24389/27,kc=ws.D65,Nc=new Ns({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:kc,base:_s,fromBase:function(e){var t=e.map((function(e,t){return e/kc[t]})),r=t.map((function(e){return e>Cc?Math.cbrt(e):(Ac*e+16)/116}));return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>xc?Math.pow(t[0],3):(116*t[0]-16)/Ac,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/Ac,t[2]>xc?Math.pow(t[2],3):(116*t[2]-16)/Ac].map((function(e,t){return e*kc[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),_c=.5*Math.pow(5,.5)+.5;var Tc=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=Rs(e),t=Rs(t);var r=Math.max(bc(e),0),n=Math.max(bc(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return(r+.05)/(n+.05)},contrastAPCA:function(e,t){var r,n,a,o;t=Rs(t),e=Rs(e);var i=K((t=Qs(t,"srgb")).coords,3);n=i[0],a=i[1],o=i[2];var u=.2126729*Ec(n)+.7151522*Ec(a)+.072175*Ec(o),l=K((e=Qs(e,"srgb")).coords,3);n=l[0],a=l[1],o=l[2];var s=.2126729*Ec(n)+.7151522*Ec(a)+.072175*Ec(o),c=wc(u),d=wc(s),p=d>c;return r=Math.abs(d-c)<5e-4?0:p?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(r)<.1?0:r>0?r-.027:r+.027)},contrastMichelson:function(e,t){e=Rs(e),t=Rs(t);var r=Math.max(bc(e),0),n=Math.max(bc(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}var o=r+n;return 0===o?0:(r-n)/o},contrastWeber:function(e,t){e=Rs(e),t=Rs(t);var r=Math.max(bc(e),0),n=Math.max(bc(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return 0===n?5e4:(r-n)/n},contrastLstar:function(e,t){e=Rs(e),t=Rs(t);var r=Os(e,[Vs,"l"]),n=Os(t,[Vs,"l"]);return Math.abs(r-n)},contrastDeltaPhi:function(e,t){e=Rs(e),t=Rs(t);var r=Os(e,[Nc,"l"]),n=Os(t,[Nc,"l"]),a=Math.abs(Math.pow(r,_c)-Math.pow(n,_c)),o=Math.pow(a,1/_c)*Math.SQRT2-40;return o<7.5?0:o}});function Bc(e){var t=K(Ss(e,_s),3),r=t[0],n=t[1],a=r+15*n+3*t[2];return[4*r/a,9*n/a]}function Rc(e){var t=K(Ss(e,_s),3),r=t[0],n=t[1],a=r+n+t[2];return[r/a,n/a]}var Sc=Object.freeze({__proto__:null,uv:Bc,xy:Rc,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return Bc(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return Rc(this)}})}});var Oc=Math.PI/180;var Mc=new Ns({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:_s,fromBase:function(e){return e.map((function(e){return Math.max(203*e,0)}))},toBase:function(e){return e.map((function(e){return Math.max(e/203,0)}))}}),Ic=1.15,Pc=.66,Lc=2610/Math.pow(2,14),jc=Math.pow(2,14)/2610,qc=3424/Math.pow(2,12),zc=2413/Math.pow(2,7),Vc=2392/Math.pow(2,7),$c=1.7*2523/Math.pow(2,5),Hc=Math.pow(2,5)/(1.7*2523),Uc=-.56,Gc=16295499532821565e-27,Wc=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Yc=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],Kc=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Xc=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Zc=new Ns({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:Mc,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=ls(Wc,[Ic*r-(Ic-1)*a,Pc*n-(Pc-1)*r,a]).map((function(e){var t=qc+zc*Math.pow(e/1e4,Lc),r=1+Vc*Math.pow(e/1e4,Lc);return Math.pow(t/r,$c)})),i=K(ls(Kc,o),3),u=i[0],l=i[1],s=i[2];return[(1+Uc)*u/(1+Uc*u)-Gc,l,s]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=ls(Xc,[(r+Gc)/(1+Uc-Uc*(r+Gc)),n,a]).map((function(e){var t=qc-Math.pow(e,Hc),r=Vc*Math.pow(e,Hc)-zc;return 1e4*Math.pow(t/r,jc)})),i=K(ls(Yc,o),3),u=i[0],l=i[1],s=i[2],c=(u+(Ic-1)*s)/Ic;return[c,(l+(Pc-1)*c)/Pc,s]},formats:{color:{}}}),Jc=new Ns({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Zc,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),$s(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}});var Qc=.8359375,ed=2413/128,td=18.6875,rd=2610/16384,nd=2523/32,ad=16384/2610,od=32/2523,id=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],ud=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],ld=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],sd=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],cd=new Ns({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:Mc,fromBase:function(e){return function(e){var t=e.map((function(e){var t=Qc+ed*Math.pow(e/1e4,rd),r=1+td*Math.pow(e/1e4,rd);return Math.pow(t/r,nd)}));return ls(ud,t)}(ls(id,e))},toBase:function(e){var t=function(e){var t=ls(ld,e),r=t.map((function(e){var t=Math.max(Math.pow(e,od)-Qc,0),r=ed-td*Math.pow(e,od);return 1e4*Math.pow(t/r,ad)}));return r}(e);return ls(sd,t)},formats:{color:{}}});var dd=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],pd=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],fd=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],md=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],hd=new Ns({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:_s,fromBase:function(e){var t=ls(dd,e).map((function(e){return Math.cbrt(e)}));return ls(fd,t)},toBase:function(e){var t=ls(md,e).map((function(e){return Math.pow(e,3)}));return ls(pd,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});var Dd=Object.freeze({__proto__:null,deltaE76:function(e,t){return vc(e,t,"lab")},deltaECMC:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.l,a=void 0===n?2:n,o=r.c,i=void 0===o?1:o,u=K(Vs.from(e),3),l=u[0],s=u[1],c=u[2],d=K(Hs.from(Vs,[l,s,c]),3),p=d[1],f=d[2],m=K(Vs.from(t),3),h=m[0],D=m[1],g=m[2],v=Hs.from(Vs,[h,D,g])[1];p<0&&(p=0),v<0&&(v=0);var b=l-h,y=p-v,F=s-D,w=c-g,E=Math.pow(F,2)+Math.pow(w,2)-Math.pow(y,2),C=.511;l>=16&&(C=.040975*l/(1+.01765*l));var x,A=.0638*p/(1+.0131*p)+.638;Number.isNaN(f)&&(f=0),x=f>=164&&f<=345?.56+Math.abs(.2*Math.cos((f+168)*Oc)):.36+Math.abs(.4*Math.cos((f+35)*Oc));var k=Math.pow(p,4),N=Math.sqrt(k/(k+1900)),_=A*(N*x+1-N),T=Math.pow(b/(a*C),2);return T+=Math.pow(y/(i*A),2),T+=E/Math.pow(_,2),Math.sqrt(T)},deltaE2000:Ks,deltaEJz:function(e,t){var r=K(Jc.from(e),3),n=r[0],a=r[1],o=r[2],i=K(Jc.from(t),3),u=i[0],l=i[1],s=i[2],c=n-u,d=a-l;Number.isNaN(o)&&Number.isNaN(s)?(o=0,s=0):Number.isNaN(o)?o=s:Number.isNaN(s)&&(s=o);var p=o-s,f=2*Math.sqrt(a*l)*Math.sin(p/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(f,2))},deltaEITP:function(e,t){var r=K(cd.from(e),3),n=r[0],a=r[1],o=r[2],i=K(cd.from(t),3),u=i[0],l=i[1],s=i[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(a-l,2)+Math.pow(o-s,2))},deltaEOK:function(e,t){var r=K(hd.from(e),3),n=r[0],a=r[1],o=r[2],i=K(hd.from(t),3),u=n-i[0],l=a-i[1],s=o-i[2];return Math.sqrt(Math.pow(u,2)+Math.pow(l,2)+Math.pow(s,2))}});function gd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ss(r)&&(r={method:r});var n=r,a=n.method,o=void 0===a?Fs.deltaE:a,i=U(n,E);for(var u in e=Rs(e),t=Rs(t),Dd)if("deltae"+o.toLowerCase()===u.toLowerCase())return Dd[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var vd=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Is(e,[Ns.get("oklch","lch"),"l"],(function(e){return e*(1+t)}))},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return Is(e,[Ns.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function bd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[Rs(e),Rs(t)];if(e=a[0],t=a[1],"object"===cs(r)){var o=[.5,r];r=o[0],n=o[1]}var i=n;return Fd(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(r)}function yd(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(wd(e)){n=t;var a=K((r=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=n,i=o.maxDeltaE,u=o.deltaEMethod,l=o.steps,s=void 0===l?2:l,c=o.maxSteps,d=void 0===c?1e3:c,p=U(o,C);if(!r){var f=[Rs(e),Rs(t)];r=Fd(e=f[0],t=f[1],p)}var m=gd(e,t),h=i>0?Math.max(s,Math.ceil(m/i)+1):s,D=[];if(void 0!==d&&(h=Math.min(h,d)),1===h)D=[{p:.5,color:r(.5)}];else{var g=1/(h-1);D=Array.from({length:h},(function(e,t){var n=t*g;return{p:n,color:r(n)}}))}if(i>0)for(var v=D.reduce((function(e,t,r){if(0===r)return 0;var n=gd(t.color,D[r-1].color,u);return Math.max(e,n)}),0);v>i;){v=0;for(var b=1;b<D.length&&D.length<d;b++){var y=D[b-1],F=D[b],w=(F.p+y.p)/2,E=r(w);v=Math.max(v,gd(E,y.color),gd(E,F.color)),D.splice(b,0,{p:w,color:r(w)}),b++}}return D=D.map((function(e){return e.color}))}function Fd(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(wd(e)){var n=e,a=t;return Fd.apply(void 0,G(n.rangeArgs.colors).concat([Y({},n.rangeArgs.options,a)]))}var o=r.space,i=r.outputSpace,u=r.progression,l=r.premultiplied;e=Rs(e),t=Rs(t),e=Zs(e),t=Zs(t);var s={colors:[e,t],options:r};if(o=o?Ns.get(o):Ns.registry[Fs.interpolationSpace]||e.space,i=i?Ns.get(i):o,e=Qs(e,o),t=Qs(t,o),e=Js(e),t=Js(t),o.coords.h&&"angle"===o.coords.h.type){var c=r.hue=r.hue||"shorter",d=[o,"h"],p=[Os(e,d),Os(t,d)],f=p[0],m=p[1],h=function(e,t){if("raw"===e)return t;var r=K(t.map($s),2),n=r[0],a=r[1],o=a-n;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(n+=360):"longer"===e?-180<o&&o<180&&(o>0?a+=360:n+=360):"shorter"===e&&(o>180?n+=360:o<-180&&(a+=360)),[n,a]}(c,[f,m]),D=K(h,2);f=D[0],m=D[1],Is(e,d,f),Is(t,d,m)}return l&&(e.coords=e.coords.map((function(t){return t*e.alpha})),t.coords=t.coords.map((function(e){return e*t.alpha}))),Object.assign((function(r){r=u?u(r):r;var n=e.coords.map((function(e,n){return ms(e,t.coords[n],r)})),a=ms(e.alpha,t.alpha,r),s={space:o,coords:n,alpha:a};return l&&(s.coords=s.coords.map((function(e){return e/a}))),i!==o&&(s=Qs(s,i)),s}),{rangeArgs:s})}function wd(e){return"function"===cs(e)&&!!e.rangeArgs}Fs.interpolationSpace="lab";var Ed=Object.freeze({__proto__:null,mix:bd,steps:yd,range:Fd,isRange:wd,register:function(e){e.defineFunction("mix",bd,{returns:"color"}),e.defineFunction("range",Fd,{returns:"function<color>"}),e.defineFunction("steps",yd,{returns:"array<color>"})}}),Cd=new Ns({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:cc,fromBase:function(e){var t=Math.max.apply(Math,G(e)),r=Math.min.apply(Math,G(e)),n=K(e,3),a=n[0],o=n[1],i=n[2],u=NaN,l=0,s=(r+t)/2,c=t-r;if(0!==c){switch(l=0===s||1===s?0:(t-s)/Math.min(s,1-s),t){case a:u=(o-i)/c+(o<i?6:0);break;case o:u=(i-a)/c+2;break;case i:u=(a-o)/c+4}u*=60}return[u,100*l,100*s]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];function o(e){var t=(e+r/30)%12,o=n*Math.min(a,1-a);return a-o*Math.max(-1,Math.min(t-3,9-t,1))}return(r%=360)<0&&(r+=360),n/=100,a/=100,[o(0),o(8),o(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),xd=new Ns({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:Cd,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)+(n/=100)*Math.min(a,1-a);return[r,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)*(1-(n/=100)/2);return[r,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),Ad=new Ns({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:xd,fromBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2];return[r,a*(100-n)/100,100-a]},toBase:function(e){var t=K(e,3),r=t[0],n=t[1],a=t[2],o=(n/=100)+(a/=100);if(o>=1)return[r,0,100*(n/o)];var i=1-a;return[r,100*(0===i?0:1-n/i),100*i]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),kd=new Ts({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),Nd=new Ts({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:kd,toBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)}))},fromBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)}))},formats:{color:{id:"a98-rgb"}}}),_d=new Ts({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:Ps,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),Td=1/512,Bd=new Ts({id:"prophoto",name:"ProPhoto",base:_d,toBase:function(e){return e.map((function(e){return e<.03125?e/16:Math.pow(e,1.8)}))},fromBase:function(e){return e.map((function(e){return e>=Td?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),Rd=new Ns({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:hd,fromBase:function(e){var t,r=K(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),$s(t)]},toBase:function(e){var t,r,n=K(e,3),a=n[0],o=n[1],i=n[2];return isNaN(i)?(t=0,r=0):(t=o*Math.cos(i*Math.PI/180),r=o*Math.sin(i*Math.PI/180)),[a,t,r]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Sd=2610/Math.pow(2,14),Od=Math.pow(2,14)/2610,Md=2523/Math.pow(2,5),Id=Math.pow(2,5)/2523,Pd=3424/Math.pow(2,12),Ld=2413/Math.pow(2,7),jd=2392/Math.pow(2,7),qd=new Ts({id:"rec2100pq",name:"REC.2100-PQ",base:tc,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,Id)-Pd,0)/(Ld-jd*Math.pow(e,Id)),Od)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),r=Pd+Ld*Math.pow(t,Sd),n=1+jd*Math.pow(t,Sd);return Math.pow(r/n,Md)}))},formats:{color:{id:"rec2100-pq"}}}),zd=.17883277,Vd=.28466892,$d=.55991073,Hd=3.7743,Ud=new Ts({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:tc,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*Hd:Math.exp((e-$d)/zd+Vd)/12*Hd}))},fromBase:function(e){return e.map((function(e){return(e/=Hd)<=1/12?Math.sqrt(3*e):zd*Math.log(12*e-Vd)+$d}))},formats:{color:{id:"rec2100-hlg"}}}),Gd={};function Wd(e){var t=e.id;e.toCone_M,e.fromCone_M;Gd[t]=arguments[0]}function Yd(e,t){var r=Gd[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],n=K(ls(r.toCone_M,e),3),a=n[0],o=n[1],i=n[2],u=K(ls(r.toCone_M,t),3),l=ls([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],r.toCone_M);return ls(r.fromCone_M,l)}ys.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=Yd(e.W1,e.W2,e.options.method))})),ys.add("chromatic-adaptation-end",(function(e){e.M||(e.M=Yd(e.W1,e.W2,e.options.method))})),Wd({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Wd({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),Wd({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),Wd({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(ws,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),ws.ACES=[.32168/.33767,1,.34065/.33767];var Kd=new Ts({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:ws.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),Xd=Math.pow(2,-16),Zd=-.35828683,Jd=(Math.log2(65504)+9.72)/17.52,Qd=new Ts({id:"acescc",name:"ACEScc",coords:{r:{range:[Zd,Jd],name:"Red"},g:{range:[Zd,Jd],name:"Green"},b:{range:[Zd,Jd],name:"Blue"}},referred:"scene",base:Kd,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-Xd):e<Jd?Math.pow(2,17.52*e-9.72):65504}))},fromBase:function(e){return e.map((function(e){return e<=0?(Math.log2(Xd)+9.72)/17.52:e<Xd?(Math.log2(Xd+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52}))},formats:{color:{}}}),ep=Object.freeze({__proto__:null,XYZ_D65:_s,XYZ_D50:Ps,XYZ_ABS_D65:Mc,Lab_D65:Nc,Lab:Vs,LCH:Hs,sRGB_Linear:ic,sRGB:cc,HSL:Cd,HWB:Ad,HSV:xd,P3_Linear:oc,P3:dc,A98RGB_Linear:kd,A98RGB:Nd,ProPhoto_Linear:_d,ProPhoto:Bd,REC_2020_Linear:tc,REC_2020:ac,OKLab:hd,OKLCH:Rd,Jzazbz:Zc,JzCzHz:Jc,ICTCP:cd,REC_2100_PQ:qd,REC_2100_HLG:Ud,ACEScg:Kd,ACEScc:Qd}),tp=(S=new WeakMap,function(){function e(){var t,r,n,a,o=this;J(this,e),L(this,S,{writable:!0,value:void 0});for(var i=arguments.length,u=new Array(i),l=0;l<i;l++)u[l]=arguments[l];1===u.length&&(t=Rs(u[0])),t?(r=t.space||t.spaceId,n=t.coords,a=t.alpha):(r=u[0],n=u[1],a=u[2]),$(this,S,Ns.get(r)),this.coords=n?n.slice():[0,0,0],this.alpha=a<1?a:1;for(var s=0;s<this.coords.length;s++)"NaN"===this.coords[s]&&(this.coords[s]=NaN);var c=function(e){Object.defineProperty(o,e,{get:function(){return o.get(e)},set:function(t){return o.set(e,t)}})};for(var d in z(this,S).coords)c(d)}return ee(e,[{key:"space",get:function(){return z(this,S)}},{key:"spaceId",get:function(){return z(this,S).id}},{key:"clone",value:function(){return new e(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];var a=gc.apply(void 0,[this].concat(r));return a.color=new e(a.color),a}}],[{key:"get",value:function(t){if(t instanceof e)return t;for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];return B(e,[t].concat(n))}},{key:"defineFunction",value:function(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:r,a=n.instance,o=void 0===a||a,i=n.returns,u=function(){var t=r.apply(void 0,arguments);if("color"===i)t=e.get(t);else if("function<color>"===i){var n=t;t=function(){var t=n.apply(void 0,arguments);return e.get(t)},Object.assign(t,n)}else"array<color>"===i&&(t=t.map((function(t){return e.get(t)})));return t};t in e||(e[t]=u),o&&(e.prototype[t]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return u.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(t){for(var r in t)e.defineFunction(r,t[r],t[r])}},{key:"extend",value:function(t){if(t.register)t.register(e);else for(var r in t)e.defineFunction(r,t[r])}}]),e}());tp.defineFunctions({get:Os,getAll:Ss,set:Is,setAll:Ms,to:Qs,equals:function(e,t){return e=Rs(e),t=Rs(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((function(e,r){return e===t.coords[r]}))},inGamut:Xs,toGamut:Js,distance:vc,toString:ec}),Object.assign(tp,{util:vs,hooks:ys,WHITES:ws,Space:Ns,spaces:Ns.registry,parse:Bs,defaults:Fs});for(var rp=0,np=Object.keys(ep);rp<np.length;rp++){var ap=np[rp];Ns.register(ep[ap])}for(var op in Ns.registry)ip(op,Ns.registry[op]);function ip(e,t){Object.keys(t.coords),Object.values(t.coords).map((function(e){return e.name}));var r=e.replace(/-/g,"_");Object.defineProperty(tp.prototype,r,{get:function(){var r=this,n=this.getAll(e);return"undefined"==typeof Proxy?n:new Proxy(n,{has:function(e,r){try{return Ns.resolveCoord([t,r]),!0}catch(e){}return Reflect.has(e,r)},get:function(e,r,n){if(r&&"symbol"!==s(r)&&!(r in e)){var a=Ns.resolveCoord([t,r]).index;if(a>=0)return e[a]}return Reflect.get(e,r,n)},set:function(n,a,o,i){if(a&&"symbol"!==s(a)&&!(a in n)||a>=0){var u=Ns.resolveCoord([t,a]).index;if(u>=0)return n[u]=o,r.setAll(e,n),!0}return Reflect.set(n,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}ys.add("colorspace-init-end",(function(e){var t;ip(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){ip(t,e)}))})),tp.extend(Dd),tp.extend({deltaE:gd}),tp.extend(vd),tp.extend({contrast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};ss(r)&&(r={algorithm:r});var n=r,a=n.algorithm,o=U(n,w);if(!a){var i=Object.keys(Tc).map((function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var u in e=Rs(e),t=Rs(t),Tc)if("contrast"+a.toLowerCase()===u.toLowerCase())return Tc[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),tp.extend(Sc),tp.extend(Fc),tp.extend(Ed),tp.extend(Tc);var up=ue(Ht()),lp=ue(Ut()),sp=(ue(Gt()),ue(Gr()));"hasOwn"in Object||(Object.hasOwn=sp.default),is.default.templateSettings.strip=!1,"Promise"in i||up.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=lp.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce}));var cp=/^#[0-9a-f]{3,8}$/i,dp=/hsl\(\s*([\d.]+)(rad|turn)/,pp=function(){function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;J(this,e),this.red=t,this.green=r,this.blue=n,this.alpha=a}return ee(e,[{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?r:"0"+r)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(dp,(function(e,t,r){var n=t+r;switch(r){case"rad":return e.replace(n,180*t/Math.PI);case"turn":return e.replace(n,360*t)}}));try{var t=new tp(e).to("srgb");this.red=Math.round(255*mp(t.r,0,1)),this.green=Math.round(255*mp(t.g,0,1)),this.blue=Math.round(255*mp(t.b,0,1)),this.alpha=+t.alpha}catch(t){throw new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(cp)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.red/255,t=this.green/255,r=this.blue/255;return.2126*(e<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))}}]),e}(),fp=pp;function mp(e,t,r){return Math.min(Math.max(t,e),r)}var hp=function(e){var t=new fp;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t};var Dp=function(e){var t=i.getComputedStyle(e);return ns(e,t)||1===hp(t).alpha};function gp(e){if(!e.href)return!1;var t=Wn.get("firstPageLink",vp);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function vp(){return(i.location.origin?sm(c._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!Pi(e.actualNode)})):sm(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var bp=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,yp=/(\w+)\((\d+)/;function Fp(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof Zr?e:Yn(e);e=a?a.actualNode:e;var o="_isVisible"+(t?"ScreenReader":""),u=null!==(n=i.Node)&&void 0!==n?n:{},l=u.DOCUMENT_NODE,s=u.DOCUMENT_FRAGMENT_NODE,d=a?a.props.nodeType:e.nodeType,p=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&void 0!==a[o])return a[o];if(d===l)return!0;if(["style","script","noscript","template"].includes(p))return!1;if((e&&d===s&&(e=e.host),t)&&"true"===(a?a.attr("aria-hidden"):e.getAttribute("aria-hidden")))return!1;if(!e){var f=a.parent,m=!0;return f&&(m=Fp(f,t,!0)),a&&(a[o]=m),m}var h=i.getComputedStyle(e,null);if(null===h)return!1;if("area"===p)return function(e,t,r){var n=Co(e,"map");if(!n)return!1;var a=n.getAttribute("name");if(!a)return!1;var o=Fo(e);if(!o||9!==o.nodeType)return!1;var i=sm(c._tree,'img[usemap="#'.concat(mn(a),'"]'));return!(!i||!i.length)&&i.some((function(e){return Fp(e.actualNode,t,r)}))}(e,t,r);if("none"===h.getPropertyValue("display"))return!1;var D=parseInt(h.getPropertyValue("height")),g=parseInt(h.getPropertyValue("width")),v=Af(e),b=v&&0===D,y=v&&0===g,F="absolute"===h.getPropertyValue("position")&&(D<2||g<2)&&"hidden"===h.getPropertyValue("overflow");if(!t&&(function(e){var t=e.getPropertyValue("clip").match(bp),r=e.getPropertyValue("clip-path").match(yp);if(t&&5===t.length){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(h)||"0"===h.getPropertyValue("opacity")||b||y||F))return!1;if(!r&&("hidden"===h.getPropertyValue("visibility")||!t&&Ko(e)))return!1;var w=e.assignedSlot?e.assignedSlot:e.parentNode,E=!1;return w&&(E=Fp(w,t,!0)),a&&(a[o]=E),E}var wp=Fp;var Ep=function(e,t){for(var r=["fixed","sticky"],n=[],a=!1,o=0;o<e.length;++o){var u=e[o];u===t&&(a=!0);var l=i.getComputedStyle(u);a||-1===r.indexOf(l.position)?n.push(u):n=[]}return n};function Cp(e,t){var r=xp(t);do{var n=xp(e);if(n===r||n===t)return Ap(e,t);e=n}while(e);return!1}function xp(e){for(var t=Yn(e).parent;t;){if(Af(t.actualNode))return t.actualNode;t=t.parent}}function Ap(e,t){var r=i.getComputedStyle(t),n=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var a=Array.from(e.getClientRects()),o=t.getBoundingClientRect(),u={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(n)||t instanceof i.HTMLHtmlElement)&&(u.width=t.scrollWidth,u.height=t.scrollHeight),1===a.length&&"hidden"===n&&"nowrap"===r.getPropertyValue("white-space")&&(a[0]=u),a.some((function(e){return!(Math.ceil(e.left)<Math.floor(u.left)||Math.ceil(e.top)<Math.floor(u.top)||Math.floor(e.left+e.width)>Math.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))}))}var kp=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,r)||[]).filter((function(e){return Fo(e)===n})).reduce((function(n,o){if(vo(o)){var i=e(t,r,o.shadowRoot,a+1);(n=n.concat(i)).length&&Cp(n[0],o)&&n.push(o)}else n.push(o);return n}),[])};function Np(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=K(r[n].split("="),2),o=a[0],i=a[1],u=void 0===i?"":i;t[decodeURIComponent(o)]=decodeURIComponent(u)}return t}function _p(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===K(t,1)[0]?"":e:""}var Tp=function(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;["A","AREA"].includes(r)&&!e.ownerSVGElement||((n=l.createElement("a")).href=e.getAttribute(t));var a,o=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=function(e){var t=e.split("/").pop();if(!t||-1===t.indexOf("."))return{pathname:e,filename:""};return{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}(/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname)),u=i.pathname,s=i.filename;return{protocol:o,hostname:n.hostname,port:(a=n.port,["443","80"].includes(a)?"":a),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:Np(n.search),hash:_p(n.hash),filename:s}}};var Bp=function(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,o=n-t.scrollTop,u=n-t.scrollTop+t.scrollHeight,l=a-t.scrollLeft,s=a-t.scrollLeft+t.scrollWidth;if(e.left>s&&e.left>r.right||e.top>u&&e.top>r.bottom||e.right<l&&e.right<r.left||e.bottom<o&&e.bottom<r.top)return!1;var c=i.getComputedStyle(t);return!(e.left>r.right||e.top>r.bottom)||("scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement)},Rp=0,Sp=function(e){R(r,e);var t=O(r);function r(e,n,a){var o;if(J(this,r),(o=t.call(this)).shadowId=a,o.children=[],o.actualNode=e,o.parent=n,n||(Rp=0),o.nodeIndex=Rp++,o._isHidden=null,o._cache={},o._isXHTML=En(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var i=e.getAttribute("type");i=o._isXHTML?i:(i||"").toLowerCase(),Fm().includes(i)||(i="text"),o._type=i}return Wn.get("nodeMap")&&Wn.get("nodeMap").set(e,M(o)),o}return ee(r,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,r=e.nodeName,n=e.id,a=e.multiple,o=e.nodeValue,i=e.value,u=e.selected,l=e.checked,s=e.indeterminate;this._cache.props={nodeType:t,nodeName:this._isXHTML?r:r.toLowerCase(),id:n,type:this._type,multiple:a,nodeValue:o,value:i,selected:u,checked:l,indeterminate:s}}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map((function(e){return e.name})));return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Gi(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=Hi(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(e){return e.width>0}))),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}]),r}(Zr),Op=Sp;var Mp,Ip=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},Pp=" [idsMap]";function Lp(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,o=0;o<t.length;o++)if(t[o].length>1&&t[o].some((function(e){return jp(e)})))return;var i=new Set;t.forEach((function(e){var t,r=function(e,t,r){var n=e[e.length-1],a=null,o=e.length>1||!!n.pseudos||!!n.classes;if(jp(n))a=t["*"];else{if(n.id){var i;if(!t[Pp]||!Object.hasOwn(t[Pp],n.id)||null===(i=t[Pp][n.id])||void 0===i||!i.length)return;a=t[Pp][n.id].filter((function(e){return e.shadowId===r}))}if(n.tag&&"*"!==n.tag){var u;if(null===(u=t[n.tag])||void 0===u||!u.length)return;var l=t[n.tag];a=a?qp(l,a):l}if(n.classes){var s;if(null===(s=t["[class]"])||void 0===s||!s.length)return;var c=t["[class]"];a=a?qp(c,a):c}if(n.attributes)for(var d=0;d<n.attributes.length;d++){var p,f=n.attributes[d];if("attrValue"===f.type&&(o=!0),null===(p=t["[".concat(f.key,"]")])||void 0===p||!p.length)return;var m=t["[".concat(f.key,"]")];a=a?qp(m,a):m}}return{nodes:a,isComplexSelector:o}}(e,n,a);null==r||null===(t=r.nodes)||void 0===t||t.forEach((function(t){r.isComplexSelector&&!ma(t,e)||i.add(t)}))}));var u=[];return i.forEach((function(e){return u.push(e)})),r&&(u=u.filter(r)),u.sort((function(e,t){return e.nodeIndex-t.nodeIndex}))}}function jp(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function qp(e,t){return e.filter((function(e){return t.includes(e)}))}function zp(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t)}function Vp(e,t){1===e.props.nodeType&&(zp(e.props.nodeName,e,t),zp("*",e,t),e.attrNames.forEach((function(r){"id"===r&&(t[Pp]=t[Pp]||{},Ip(e.attr(r)).forEach((function(r){zp(r,e,t[Pp])}))),zp("[".concat(r,"]"),e,t)})))}function $p(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:l.documentElement,t=arguments.length>1?arguments[1]:void 0;Mp=!1;var r={};Wn.set("nodeMap",new WeakMap),Wn.set("selectorMap",r);var n=Up(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Mp,n}function Hp(e,t,r){var n=new Op(e,t,r);return Vp(n,Wn.get("selectorMap")),n}function Up(e,t,r){var n,a,o;function u(e,r,n){var a=Up(r,t,n);return a&&(e=e.concat(a)),e}if(e.documentElement&&(e=e.documentElement),o=e.nodeName.toLowerCase(),vo(e))return Mp=!0,n=Hp(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=a.reduce((function(e,t){return u(e,t,n)}),[]),[n];if("content"===o&&"function"==typeof e.getDistributedNodes)return(a=Array.from(e.getDistributedNodes())).reduce((function(e,t){return u(e,t,r)}),[]);if("slot"===o&&"function"==typeof e.assignedNodes){(a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e));i.getComputedStyle(e);return a.reduce((function(e,t){return u(e,t,r)}),[])}return 1===e.nodeType?(n=Hp(e,r,t),a=Array.from(e.childNodes),n.children=a.reduce((function(e,t){return u(e,t,n)}),[]),[n]):3===e.nodeType?[Hp(e,r)]:void 0}var Gp=function(e){return e?e.trim().split("-")[0].toLowerCase():""};var Wp=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map((function(e){if(t[e].length){var r=c._audit.data.failureSummaries[e];return r&&"function"==typeof r.failureMessage?r.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\n\n")};function Yp(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var Kp=Yr.resultGroups;function Xp(e,t){var r=c.utils.aggregateResult(e);return Kp.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(r[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])})),r[e]=(r[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map((function(e){if("object"===s(e.node)){var r=Zp(e.node,t);Object.assign(e,r)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach((function(r){Array.isArray(e[r])&&e[r].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return Zp(e,t)}))}))}))}(e,t),e}))),Kp.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),r}function Zp(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=uo.dqElmToSpec(e,t);var r,n,a,o,i,u={};c._audit.noHtml?u.html=null:u.html=null!==(r=e.source)&&void 0!==r?r:"Undefined";t.elementRef&&!e.fromFrame&&(u.element=null!==(n=e.element)&&void 0!==n?n:null);(!1!==t.selectors||e.fromFrame)&&(u.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]);t.ancestry&&(u.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]);t.xpath&&(u.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]);return u}var Jp=/\$\{\s?data\s?\}/g;function Qp(e,t){if("string"==typeof t)return e.replace(Jp,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=void 0===t[r]?"":String(t[r]);e=e.replace(n,a)}return e}var ef=function e(t,r){if(t){if(Array.isArray(r))return r.values=r.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?Qp(1===r.length?t.singular:t.plural,r):Qp(t,r);if("string"==typeof t)return Qp(t,r);if("string"==typeof r)return Qp(t[r],r);var n=t.default||Yp();return r&&r.messageKey&&t[r.messageKey]&&(n=t[r.messageKey]),e(n,r)}};var tf=function(e,t,r){var n=c._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return ef(n.messages[t],r)};var rf=function(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};function nf(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===s(t)?t:"object"!==s(r)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:af(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function af(e){if(!e.navigator||"object"!==s(e.navigator))return{};var t,r=e.navigator,n=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:r.userAgent,windowWidth:a,windowHeight:n,orientationAngle:i,orientationType:u}}function of(e,t){var r=t.focusable,n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&uf(e),size:lf(e),page:n}}function uf(e){var t=e.getAttribute("tabindex");if(!t)return!0;var r=parseInt(t,10);return isNaN(r)||r>=0}function lf(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r}return{width:t,height:r}}function sf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];gf(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=cf(e[r]);n&&t.push(n)}return t}function cf(e){return e instanceof i.Node?e:"string"==typeof e?[e]:(ff(e)?(!function(e){vf(Array.isArray(e.fromFrames),"fromFrames property must be an array"),vf(e.fromFrames.every((function(e){return!bf(e,"fromFrames")})),"Invalid context; fromFrames selector must be appended, rather than nested"),vf(!bf(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):mf(e)&&(e=[e]),function(e){if(!Array.isArray(e))return;var t,r=[],n=re(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(mf(a)&&(hf(a),a=a.fromShadowDom),"string"!=typeof a&&!Df(a))return;r.push(a)}}catch(e){n.e(e)}finally{n.f()}return r}(e))}function df(e){return["include","exclude"].some((function(t){return bf(e,t)&&pf(e[t])}))}function pf(e){return"string"==typeof e||e instanceof i.Node||ff(e)||mf(e)||gf(e)}function ff(e){return bf(e,"fromFrames")}function mf(e){return bf(e,"fromShadowDom")}function hf(e){vf(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),vf(e.fromShadowDom.every((function(e){return!bf(e,"fromFrames")})),"shadow selector must be inside fromFrame instead"),vf(e.fromShadowDom.every((function(e){return!bf(e,"fromShadowDom")})),"fromShadowDom selector must be appended, rather than nested")}function Df(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function gf(e){return e&&"object"===s(e)&&"number"==typeof e.length&&e instanceof i.Node==!1}function vf(e,t){pn(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function bf(e,t){return!(!e||"object"!==s(e))&&Object.prototype.hasOwnProperty.call(e,t)}function yf(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var o=e[t][n];if(o instanceof i.Node)o.documentElement instanceof i.Node?r.push(e.flatTree[0]):r.push(Yn(o));else if(o&&o.length)if(o.length>1)Ff(e,t,o);else{var u=bm(o[0]);r.push.apply(r,G(u.map((function(e){return Yn(e)}))))}}return r.filter((function(e){return e}))}function Ff(e,t,r){e.frames=e.frames||[],bm(r.shift()).forEach((function(n){var a=e.frames.find((function(e){return e.node===n}));a||(a=of(n,e),e.frames.push(a)),a[t].push(r)}))}function wf(e,t){var r,n,a,o,u,c=this;e=Qn(e),this.frames=[],this.page="boolean"==typeof(null===(r=e)||void 0===r?void 0:r.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(n=e)||void 0===n?void 0:n.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===s(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(df(e)){var t=" must be used inside include or exclude. It should not be on the same object.";vf(!bf(e,"fromFrames"),"fromFrames"+t),vf(!bf(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!pf(e))return{include:[l],exclude:[]};e={include:e,exclude:[]}}var r=sf(e.include);return 0===r.length&&r.push(l),{include:r,exclude:sf(e.exclude)}}(e),this.flatTree=null!=t?t:$p(function(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var o=n[a];if(o instanceof i.Element)return o.ownerDocument.documentElement;if(o instanceof i.Document)return o.documentElement}return l.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=yf(this,"include"),this.exclude=yf(this,"exclude"),mm("frame, iframe",this).forEach((function(e){Mf(e,c)&&function(e,t){if(!Yu(t)||so(e.frames,"node",t))return;e.frames.push(of(t,e))}(c,e.actualNode)})),void 0===this.page&&(this.page=1===(u=this.include).length&&u[0].actualNode===l.documentElement,this.frames.forEach((function(e){e.page=c.page}))),function(e){if(0===e.include.length&&0===e.frames.length){var t=eo.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(Lf)}function Ef(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new wf(e).frames.map((function(e){var t=e.node,r=U(e,x);return r.initiator=!1,{frameSelector:Vn(t),frameContext:r}}))}function Cf(e){var t=c._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function xf(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var Af=wn((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=i.getComputedStyle(e),o=xf(a,"overflow-x"),u=xf(a,"overflow-y");return r&&o||n&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}));function kf(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var r=Af(t);return r&&e.push(r),e.concat(kf(t))}),[])}var Nf=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(kf(l.body))};function _f(){return Qn(uu)}var Tf,Bf=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=void 0!==n&&n,o=t.shadowId,i=t.root,u=t.priority,l=t.isLink,s=void 0!==l&&l,c=e.createElement("style");if(s){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:u}}};var Rf=function(e){if(Tf&&Tf.parentNode)return void 0===Tf.styleSheet?Tf.appendChild(l.createTextNode(e)):Tf.styleSheet.cssText+=e,Tf;if(e){var t=l.head||l.getElementsByTagName("head")[0];return(Tf=l.createElement("style")).type="text/css",void 0===Tf.styleSheet?Tf.appendChild(l.createTextNode(e)):Tf.styleSheet.cssText=e,t.appendChild(Tf),Tf}};var Sf=function e(t,r){var n=Yn(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),n&&null!==n._isHidden)return n._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!r&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return n&&(n._isHidden=o),o};var Of=function(e){var t,r,n=null!==(t=null===(r=e.props)||void 0===r?void 0:r.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!uu.htmlElms[n]};function Mf(e,t){var r=t.include,n=void 0===r?[]:r,a=t.exclude,o=void 0===a?[]:a,i=n.filter((function(t){return mo(t,e)}));if(0===i.length)return!1;var u=o.filter((function(t){return mo(t,e)}));if(0===u.length)return!0;var l=If(i);return mo(If(u),l)}function If(e){var t,r,n=re(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;t&&mo(a,t)||(t=a)}}catch(e){n.e(e)}finally{n.f()}return t}function Pf(e,t){return e.length===t.length&&e.every((function(e,r){var n=t[r];return Array.isArray(e)?e.length===n.length&&e.every((function(e,t){return n[t]===e})):e===n}))}var Lf=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function jf(e){return e instanceof Zr?{vNode:e,domNode:e.actualNode}:{vNode:Yn(e),domNode:e}}var qf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter((function(e){return 3===e.type}));if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=i.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!n.includes(e)})).map((function(e,a){var o=[].concat(G(r),[a]),i=/^https?:\/\/|^\/\//i.test(e);return Gf(e,t,o,n,i)})),l=o.filter((function(e){return 3!==e.type}));return l.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:l.map((function(e){return e.cssText})).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)};var zf=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?qf(e,t,r,n,a):Gf(e.href,t,r,n,!0)};var Vf,$f,Hf,Uf,Gf=function(e,t,r,n,a){return n.push(e),new Promise((function(t,r){var n=new i.XMLHttpRequest;n.open("GET",e),n.timeout=Yr.preload.timeout,n.addEventListener("error",r),n.addEventListener("timeout",r),n.addEventListener("loadend",(function(e){if(e.loaded&&n.responseText)return t(n.responseText);r(n.responseText)})),n.send()})).then((function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return zf(o.sheet,t,r,n,o.isCrossOrigin)}))},Wf=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=null,r=e();return{start:function(){this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end"),this.logMeasures("axe")},auditStart:function(){this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end"),this.logMeasures()},mark:function(e){i.performance&&void 0!==i.performance.mark&&i.performance.mark(e)},measure:function(e,t,r){i.performance&&void 0!==i.performance.measure&&i.performance.measure(e,t,r)},logMeasures:function(e){function t(e){Kr("Measure "+e.name+" took "+e.duration+"ms")}if(i.performance&&void 0!==i.performance.getEntriesByType)for(var r=i.performance.getEntriesByName("mark_axe_start")[0],n=i.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=r.startTime})),a=0;a<n.length;++a){var o=n[a];if(o.name===e)return void t(o);t(o)}},timeElapsed:function(){return e()-r},reset:function(){t||(t=e()),r=e()}}}(),Yf=Wf;function Kf(){if(l.elementsFromPoint)return l.elementsFromPoint;if(l.msElementsFromPoint)return l.msElementsFromPoint;var e,t=((e=l.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),r=t?"pointer-events":"visibility",n=t?"none":"hidden",a=l.createElement("style");return a.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,i,u,s=[],c=[];for(l.head.appendChild(a);(o=l.elementFromPoint(e,t))&&-1===s.indexOf(o);)s.push(o),c.push({value:o.style.getPropertyValue(r),priority:o.style.getPropertyPriority(r)}),o.style.setProperty(r,n,"important");for(s.indexOf(l.documentElement)<s.length-1&&(s.splice(s.indexOf(l.documentElement),1),s.push(l.documentElement)),i=c.length;u=c[--i];)s[i].style.setProperty(r,u.value?u.value:"",u.priority);return l.head.removeChild(a),s}}"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,r=Object(this),n=r.length>>>0,a=arguments[1],o=0;o<n;o++)if(t=r[o],e.call(a,t,o,r))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r,n=Object(this),a=n.length>>>0,o=0;o<a;o++)if(r=n[o],e.call(t,r,o,n))return o;return-1}}),"function"==typeof i.addEventListener&&(l.elementsFromPoint=Kf()),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),r=parseInt(t.length,10)||0;if(0===r)return!1;var n,a,o=parseInt(arguments[1],10)||0;for(o>=0?n=o:(n=r+o)<0&&(n=0);n<r;){if(e===(a=t[n])||e!=e&&a!=a)return!0;n++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),r=t.length>>>0,n=arguments.length>=2?arguments[1]:void 0,a=0;a<r;a++)if(a in t&&e.call(n,t[a],a,t))return!0;return!1}}),Array.from||Object.defineProperty(Array,"from",{value:(Vf=Object.prototype.toString,$f=function(e){return"function"==typeof e||"[object Function]"===Vf.call(e)},Hf=Math.pow(2,53)-1,Uf=function(e){var t=function(e){var t=Number(e);return isNaN(t)?0:0!==t&&isFinite(t)?(t>0?1:-1)*Math.floor(Math.abs(t)):t}(e);return Math.min(Math.max(t,0),Hf)},function(e){var t=Object(e);if(null==e)throw new TypeError("Array.from requires an array-like object - not null or undefined");var r,n=arguments.length>1?arguments[1]:void 0;if(void 0!==n){if(!$f(n))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var a,o=Uf(t.length),i=$f(this)?Object(new this(o)):new Array(o),u=0;u<o;)a=t[u],i[u]=n?void 0===r?n(a,u):n.call(r,a,u):a,u+=1;return i.length=o,i})}),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,(function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r}),[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Xf=function(e,t){return e.concat(t).filter((function(e,t,r){return r.indexOf(e)===t}))};function Zf(e,t,r,n,a){var o=a||{};return o.vNodes=e,o.vNodesIndex=0,o.anyLevel=t,o.thisLevel=r,o.parentShadowId=n,o}var Jf=function(e,t,r){e=Array.isArray(e)?e:[e];var n=pa(t),a=Lp(e,n,r);return a||function(e,t,r){for(var n=Wn.get("qsa.recycledLocalVariables",(function(){return[]})),a=[],o=Zf(Array.isArray(e)?e:[e],t,null,e[0].shadowId,n.pop()),i=[];o.vNodesIndex<o.vNodes.length;){for(var u,l,s=o.vNodes[o.vNodesIndex++],c=null,d=null,p=((null===(u=o.anyLevel)||void 0===u?void 0:u.length)||0)+((null===(l=o.thisLevel)||void 0===l?void 0:l.length)||0),f=!1,m=0;m<p;m++){var h,D,g,v=m<((null===(h=o.anyLevel)||void 0===h?void 0:h.length)||0)?o.anyLevel[m]:o.thisLevel[m-((null===(D=o.anyLevel)||void 0===D?void 0:D.length)||0)];if((!v[0].id||s.shadowId===o.parentShadowId)&&ma(s,v[0]))if(1===v.length)f||r&&!r(s)||(i.push(s),f=!0);else{var b=v.slice(1);if(!1===[" ",">"].includes(b[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+v[1].combinator);">"===b[0].combinator?(c=c||[]).push(b):(d=d||[]).push(b)}v[0].id&&s.shadowId!==o.parentShadowId||null===(g=o.anyLevel)||void 0===g||!g.includes(v)||(d=d||[]).push(v)}for(s.children&&s.children.length&&(a.push(o),o=Zf(s.children,d,c,s.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop()}return i}(e,n,r)};var Qf=function(e){var t=e.treeRoot,r=function(e){var t=[],r=Jf(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:yo(e.actualNode)}}));return Xf(r,[])}(void 0===t?c._tree[0]:t);if(!r.length)return Promise.resolve();var n=l.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var r=[];return e.forEach((function(e,n){var a=e.rootNode,o=e.shadowId,i=function(e,t,r){var n;n=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(tm).reduce((function(r,n){var a=n.nodeName.toUpperCase(),o="STYLE"===a?n.textContent:n,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&r.push(i.sheet),r}),[])}(e,r):function(e){return Array.from(e.styleSheets).filter((function(e){return!!e.media&&rm(e.media.mediaText)}))}(e);return function(e){var t=[];return e.filter((function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)}))}(n)}(a,o,t);if(!i)return Promise.all(r);var u=n+1,l={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},s=[],c=Promise.all(i.map((function(e,t){return zf(e,l,[u,t],s)})));r.push(c)})),Promise.all(r)}(r,Bf(n)).then((function(e){return em(e)}))};function em(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(em(t)):e.concat(t)}),[])}function tm(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a="LINK"===t&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&rm(e.media)}function rm(e){return!e||!e.toUpperCase().includes("PRINT")}var nm=function(e){var t=e.treeRoot,r=void 0===t?c._tree[0]:t,n=Jf(r,"video, audio",(function(e){var t=e.actualNode;return t.hasAttribute("src")?!!t.getAttribute("src"):!(Array.from(t.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0)}));return Promise.all(n.map((function(e){var t,r=e.actualNode;return t=r,new Promise((function(e){function r(){t.removeEventListener("loadedmetadata",r),e(t)}t.readyState>0&&e(t),t.addEventListener("loadedmetadata",r)}))})))};function am(e){var t={cssom:Qf,media:nm};return om(e)?new Promise((function(r,n){var a=im(e),o=a.assets,i=a.timeout,u=setTimeout((function(){return n(new Error("Preload assets timed out."))}),i);Promise.all(o.map((function(r){return t[r](e).then((function(e){return function(e,t,r){return(t=te(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},r,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return Y({},e,t)}),{});clearTimeout(u),r(t)})).catch((function(e){clearTimeout(u),n(e)}))})):Promise.resolve()}function om(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===s(t)&&Array.isArray(t.assets)));var t}function im(e){var t=Yr.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every((function(e){return r.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=Xf(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function um(e){var t=c._audit.data.checks||{},r=c._audit.data.rules||{},n=so(c._audit.rules,"id",e.id)||{};e.tags=Qn(n.tags||[]);var a=lm(t,!0,n),o=lm(t,!1,n);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),Do(e,Qn(r[e.id]||{}))}function lm(e,t,r){return function(n){var a=e[n.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,r.reviewOnFail||void 0!==n.result?i.message=n.result===t?o.pass:o.fail:("object"!==s(o.incomplete)||Array.isArray(n.data)||(i.message=function(e,t){function r(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:Yp()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:r(t);try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch(n){return"string"==typeof e.missingData?t.incomplete[e.missingData]:r(t)}}(n.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=ef(i.message,n.data)),Do(n,i)}}var sm=function(e,t){return Jf(e,t)};function cm(e,t){var r,n,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=(n=Array.isArray(n)?n:[n]).concat(a.filter((function(e){return-1===r.indexOf(e)})))):(r=Array.isArray(t)?t:[t],n=a.filter((function(e){return-1===r.indexOf(e)}))),!!(r.some((function(t){return-1!==e.tags.indexOf(t)}))||0===r.length&&!1!==e.enabled)&&n.every((function(t){return-1===e.tags.indexOf(t)}))}var dm=function(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===n.type?-1!==n.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===n.type&&n.values?cm(e,n.values):cm(e,[]))};function pm(e,t){if(!t)return e;var r=e.cloneNode(!1),n=bn(r);if(1===r.nodeType){var a=r.outerHTML;r=Wn.get(a,(function(){return fm(r,n,e,t)}))}else r=fm(r,n,e,t);return Array.from(e.childNodes).forEach((function(e){r.appendChild(pm(e,t))})),r}function fm(e,t,r,n){return t?(e=l.createElement(e.nodeName),Array.from(t).forEach((function(t){(function(e,t,r){if(void 0===r[t])return!1;if(!0===r[t])return!0;return yn(e,r[t])})(r,t.name,n)||e.setAttribute(t.name,t.value)})),e):e}function mm(e,t){var r,n=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a<o;a++){var i=c._selectCache[a];if(i.selector===e)return i.result}for(var u=t.include.reduce((function(e,t){return e.length&&mo(e[e.length-1],t)||e.push(t),e}),[]),l=function(e){if(!e.exclude||0===e.exclude.length)return null;return function(t){return Mf(t,e)}}(t),s=0;s<u.length;s++){r=u[s],n=hm(n,Jf(r,e,l))}return c._selectCache&&c._selectCache.push({selector:e,result:n}),n}function hm(e,t){if(0===e.length)return t;if(e.length<t.length){var r=e;e=t,t=r}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}var Dm=function(e){e.forEach((function(e){return function(e,t,r){if(e===i)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r}(e.elm,e.top,e.left)}))};function gm(e){return vm(Array.isArray(e)?G(e):[e],l)}function vm(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return 0===e.length?n:null!=n&&n.shadowRoot?vm(e,n.shadowRoot):null}function bm(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,r=Array.isArray(e)?G(e):[e];return 0===e.length?[]:ym(r,t)}function ym(e,t){var r,n=Z(r=e)||W(r)||ne(r)||X(),a=n[0],o=n.slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,l=[],s=re(i);try{for(s.s();!(u=s.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&l.push.apply(l,G(ym(o,c.shadowRoot)))}}catch(e){s.e(e)}finally{s.f()}return l}var Fm=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},wm=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],,[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,,1,,1,1,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,,,1,,1,,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,,,1,1,,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],,[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,,,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],,[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,,,,,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,,,1,,,,,1],[,,1,,,,,,,1,,,1,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],,[,1,,,,,,,,1,1,1,1,1,,1,1,,,,1,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,,1,,1,1,1,,,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,,,1],[,1,,,,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,,,,,1,,,,,1,,,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Em(e){e=Array.isArray(e)?e:wm;var t=[];return e.forEach((function(e,r){var n=String.fromCharCode(r+96).replace("`","");Array.isArray(e)?t=t.concat(Em(e).map((function(e){return n+e}))):t.push(n)})),t}var Cm=function(e){for(var t=wm;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){if(!(t=t[e.charCodeAt(r)-96]))return!1}return!0},xm=function(e){R(r,e);var t=O(r);function r(e){var n,a,o,i;return J(this,r),(n=t.call(this))._props=function(e){var t,r,n,a=null!==(t=e.nodeName)&&void 0!==t?t:km[e.nodeType],o=null!==(r=null!==(n=e.nodeType)&&void 0!==n?n:Am[e.nodeName])&&void 0!==r?r:1;pn("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),pn("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var i=null;"input"===a&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),Fm().includes(i)||(i="text"));var u=Y({},e,{nodeType:o,nodeName:a});i&&(u.type=i);return delete u.attributes,Object.freeze(u)}(e),n._attrs=(a=e.attributes,o=void 0===a?{}:a,i={htmlFor:"for",className:"class"},Object.keys(o).reduce((function(e,t){var r=o[t];return pn("object"!==s(r)||null===r,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==r&&(e[i[t]||t]=null!==r?String(r):null),e}),{})),n}return ee(r,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}]),r}(Zr),Am={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},km={};Object.keys(Am).forEach((function(e){km[Am[e]]=e}));var Nm=xm;var _m,Tm=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var r=c.utils.queue(),n=[];Object.keys(c.plugins).forEach((function(e){r.defer((function(t){var r=function(e){n.push(e),t()};try{c.plugins[e].cleanup(t,r)}catch(e){r(e)}}))}));var a=c.utils.getFlattenedTree(l.body);c.utils.querySelectorAll(a,"iframe, frame").forEach((function(e){r.defer((function(t,r){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,r)}))})),r.then((function(r){0===n.length?e(r):t(n)})).catch(t)},Bm={};function Rm(e){return Bm.hasOwnProperty(e)}function Sm(e){return"string"==typeof e&&Bm[e]?Bm[e]:"function"==typeof e?e:_m}var Om=function(e){var t;if(!(t=c._audit))throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=K(r.split("-"),2),a=n[0],o=n[1],i=K(a.split(".").map(Number),3),u=i[0],l=i[1],s=i[2],d=K(c.version.split("-"),2),p=d[0],f=d[1],m=K(p.split(".").map(Number),3),h=m[0],D=m[1],g=m[2];if(u!==h||D<l||D===l&&g<s||u===h&&l===D&&s===g&&o&&o!==f)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(c.version))}if(e.reporter&&("function"==typeof e.reporter||Rm(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var v,b=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));b.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===b.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(v=e.standards,Object.keys(iu).forEach((function(e){v[e]&&(iu[e]=ho(iu[e],v[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(Yr.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}};var Mm=function(e){var t=(e=e||[]).length?c._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):c._audit.rules,r=c._audit.data.rules||{};return t.map((function(e){var t=r[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}}))},Im={};ie(Im,{allowedAttr:function(){return Pm},arialabelText:function(){return eu},arialabelledbyText:function(){return Qi},getAccessibleRefs:function(){return qm},getElementUnallowedRoles:function(){return Hm},getExplicitRole:function(){return cu},getImplicitRole:function(){return Pu},getOwnedVirtual:function(){return Gu},getRole:function(){return Vu},getRoleType:function(){return Gl},getRolesByType:function(){return Gm},getRolesWithNameFromContents:function(){return Ym},implicitNodes:function(){return Qm},implicitRole:function(){return Pu},isAccessibleRef:function(){return eh},isAriaRoleAllowedOnElement:function(){return zm},isComboboxPopup:function(){return th},isUnsupportedRole:function(){return lu},isValidRole:function(){return su},label:function(){return nh},labelVirtual:function(){return Al},lookupTable:function(){return Jm},namedFromContents:function(){return Uu},requiredAttr:function(){return ah},requiredContext:function(){return oh},requiredOwned:function(){return ih},validateAttr:function(){return lh},validateAttrValue:function(){return uh}});var Pm=function(e){var t=uu.ariaRoles[e],r=G(pu());return t?(t.allowedAttrs&&r.push.apply(r,G(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,G(t.requiredAttrs)),r):r},Lm=/^idrefs?$/;function jm(e,t,r){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e])}for(var a=0;a<r.length;++a){var o=r[a],i=vu(e.getAttribute(o)||"");if(i){var u,l=re(Ip(i));try{for(l.s();!(u=l.n()).done;){var s=u.value;t.has(s)?t.get(s).push(e):t.set(s,[e])}}catch(e){l.e(e)}finally{l.f()}}}}for(var c=0;c<e.childNodes.length;c++)1===e.childNodes[c].nodeType&&jm(e.childNodes[c],t,r)}var qm=function(e){var t;e=e.actualNode||e;var r=Fo(e);r=r.documentElement||r;var n=Wn.get("idRefsByRoot",(function(){return new Map})),a=n.get(r);return a||(a=new Map,n.set(r,a),jm(r,a,Object.keys(uu.ariaAttrs).filter((function(e){var t=uu.ariaAttrs[e].type;return Lm.test(t)})))),null!==(t=a.get(e.id))&&void 0!==t?t:[]};var zm=function(e,t){var r=e instanceof Zr?e:Yn(e),n=Pu(r),a=Iu(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==n&&!!a.allowedRoles},Vm=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],$m={header:"banner",footer:"contentinfo"};var Hm=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=jf(e).vNode;if(!Of(r))return[];var n=r.props.nodeName,a=Pu(r)||$m[n];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=Ip(e.attr("role").toLowerCase());t=t.concat(r)}return t.filter((function(e){return su(e)}))}(r).filter((function(e){return!function(e,t,r,n){if(r&&e===n)return!0;if(Vm.includes(e)&&Gl(e)!==n)return!1;return zm(t,e)}(e,r,t,a)}))};var Um=function(e){return Object.keys(uu.ariaRoles).filter((function(t){return uu.ariaRoles[t].type===e}))};var Gm=function(e){return Um(e)};var Wm=function(){return Wn.get("ariaRolesNameFromContent",(function(){return Object.keys(uu.ariaRoles).filter((function(e){return uu.ariaRoles[e].nameFromContent}))}))};var Ym=function(){return Wm()},Km=function(e){return null===e},Xm=function(e){return null!==e},Zm={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};Zm.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Xm}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Xm}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Xm}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Xm}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Xm}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Xm}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Xm}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Xm}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Xm}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:Xm}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Zm.implicitHtmlRole=Fu,Zm.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Xm}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Xm}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Zm.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Km}},{nodeName:"img",attributes:{alt:Km}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Zm.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||(!t.href.length||r)},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,n=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:n},IMG:function(e){var t=e.node,r=e.role,n=e.out;switch(t.alt){case null:return n;case"":return"presentation"===r||"none"===r;default:return"presentation"!==r&&"none"!==r}},INPUT:function(e){var t=e.node,r=e.role,n=e.out;switch(t.type){case"button":case"image":return n;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||n;case"radio":return"menuitemradio"===r;case"text":return"combobox"===r||"searchbox"===r||"spinbutton"===r;case"tel":return"combobox"===r||"spinbutton"===r;case"url":case"search":case"email":return"combobox"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||r},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}},Zm.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var Jm=Zm;var Qm=function(e){var t=null,r=Jm.role[e];return r&&r.implicit&&(t=Qn(r.implicit)),t};var eh=function(e){return!!qm(e).length};function th(e){var t,r=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,n=Vu(e);if(null!==(t=r)&&void 0!==t||(r=tu["aria-haspopup"].values),!r.includes(n))return!1;var a=function(e){for(;e=e.parent;)if(null!==Vu(e,{noPresentational:!0}))return e;return null}(e);if(rh(a))return!0;var o=e.props.id;if(!o)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var i=yo(e.actualNode).querySelectorAll('[aria-owns~="'.concat(o,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(o,'"][role~="combobox"]:not(select)'));return Array.from(i).some(rh)}var rh=function(e){return e&&"combobox"===Vu(e)};var nh=function(e){return e=Yn(e),Al(e)};var ah=function(e){var t=uu.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?G(t.requiredAttrs):[]};var oh=function(e){var t=uu.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?G(t.requiredContext):null};var ih=function(e){var t=uu.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?G(t.requiredOwned):null};var uh=function(e,t){var r,n,a=(e=e instanceof Zr?e:Yn(e)).attr(t),o=uu.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(n=Ip(a)).reduce((function(e,t){return e&&o.values.includes(t)}),0!==n.length);case"idref":try{var i=Fo(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Zi(e,t).some((function(e){return!!e}));case"string":return""!==a.trim();case"decimal":return!(!(r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}};var lh=function(e){return!!uu.ariaAttrs[e]};var sh=function(e,t,r){var n=Ip(r.attr("role")).filter((function(e){return"abstract"===Gl(e)}));return n.length>0&&(this.data(n),!0)};var ch=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=void 0===n||n,o=t.ignoredTags,i=void 0===o?[]:o,u=r.props.nodeName;if(i.map((function(e){return e.toLowerCase()})).includes(u))return!0;var l=Hm(r,a);if(l.length){if(this.data(l),!Yu(r))return;return!1}return!0};function dh(e,t,r){var n=r.props,a=n.nodeName,o=n.type,i=function(e){if(!e)return"";if(e=e.toLowerCase(),["mixed","true"].includes(e))return e;return"false"}(r.attr("aria-checked"));if("input"!==a||"checkbox"!==o||!i)return!0;var u=function(e){if(e.props.indeterminate)return"mixed";return e.props.checked?"true":"false"}(r);return i===u||(this.data({messageKey:"checkbox",checkState:u}),!1)}function ph(e){var t,r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==n||null===(r=n.filter)||void 0===r?void 0:r.call(n,(function(e){return a.hasAttr(e)})))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(!e.parent)return;return ha(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&Vu(i);if(!u||"treegrid"===u)return!0;var l="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:l,invalidAttrs:o,ownerRole:u}),!1}var fh={row:ph,checkbox:dh};var mh=function(e,t,r){return"true"!==r.attr("aria-hidden")};var hh=function(e,t,r){var n=r.attr("aria-level");if(!(parseInt(n,10)>6))return!0};var Dh={};function gh(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Ll(t,!1,!0)}function vh(e,t,r,n){var a=cu(e);if(r||(r=oh(a)),!r)return null;for(var o=r.includes("group"),i=n?e:e.parent;i;){var u=Vu(i,{noPresentational:!0});if(u){if("group"!==u||!o)return r.includes(u)?null:r;t.includes(a)&&r.push(a),r=r.filter((function(e){return"group"!==e})),i=i.parent}else i=i.parent}return r}ie(Dh,{getAriaRolesByType:function(){return Um},getAriaRolesSupportingNameFromContent:function(){return Wm},getElementSpec:function(){return Iu},getElementsByContentType:function(){return du},getGlobalAriaAttrs:function(){return pu},implicitHtmlRoles:function(){return Fu}});var bh=function(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=vh(r,n);if(!a)return!0;var o=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=mn(e.getAttribute("id"));(r=Fo(e).querySelector("[aria-owns~=".concat(n,"]")))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,u=o.length;i<u;i++)if(!(a=vh(Yn(o[i]),n,a,!0)))return!0;return this.data(a),!1};var yh=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Vu(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(r)||!(!r||"presentation"===r||"none"===r)&&void 0};var Fh=function(e,t,r){var n=r.attrNames.filter((function(t){var r=uu.ariaAttrs[t];if(!lh(t))return!1;var n=r.unsupported;return"object"!==s(n)?!!n:!Mu(e,n.exceptions)}));return!!n.length&&(this.data(n),!0)};var wh=function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach((function(e){-1===t.indexOf(e)&&a.test(e)&&!lh(e)&&n.push(e)})),!n.length||(this.data(n),!1)};var Eh=function(e,t,r){var n=Ip(r.attr("role"));return!(n.length<=1)&&(!function(e,t){return!Pu(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(r,n)||void 0)};var Ch=function(e,t,r){var n=pu().filter((function(e){return r.hasAttr(e)}));return this.data(n),n.length>0};var xh=function(e){var t=e.getAttribute("role");if(null===t)return!1;var r=Gl(t);return"widget"===r||"composite"===r};var Ah=function(e,t,r){var n=Ip(r.attr("role"));return!!n.every((function(e){return!su(e,{allowAbstract:!0})}))&&(this.data(n),!0)};var kh=function(e,t,r){return Gi(r)};var Nh=function(e,t,r){var n,a,o=Vu(r,{noImplicit:!0});this.data(o);try{n=vu(dl(r)).toLowerCase(),a=vu(yl(r)).toLowerCase()}catch(e){return}return!(!a&&!n)&&(!((a||!n)&&a.includes(n))&&void 0)};var _h=function(e,t,r){var n=Vu(r,{dpub:!0,fallback:!0}),a=lu(n);return a&&this.data(n),a},Th={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Bh={application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,form:!0,main:!0,navigation:!0,region:!0,search:!1};var Rh=function(e,t){return function(e,t){var r=cu(e);return r&&(Bh[r]||t.roles.includes(r))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return Th[t]||!1}(e)},Sh={};ie(Sh,{Color:function(){return fp},centerPointOfRect:function(){return Oh},elementHasImage:function(){return ns},elementIsDistinct:function(){return Ih},filteredRectStack:function(){return Lh},flattenColors:function(){return zh},flattenShadowColors:function(){return Vh},getBackgroundColor:function(){return oD},getBackgroundStack:function(){return $h},getContrast:function(){return lD},getForegroundColor:function(){return sD},getOwnBackgroundColor:function(){return hp},getRectStack:function(){return Ph},getStackingContext:function(){return eD},getStrokeColorsFromShadows:function(){return Kh},getTextShadowColors:function(){return Jh},hasValidContrastRatio:function(){return dD},incompleteData:function(){return rs},parseTextShadows:function(){return Zh},stackingContextToColor:function(){return tD}});var Oh=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function Mh(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var Ih=function(e,t){var r=i.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var n=new fp;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha}),!1))return!0;var n=i.getComputedStyle(t);if(Mh(r)[0]!==Mh(n)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)}),!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==n.getPropertyValue("text-decoration")),a};var Ph=function(e){var t=$i(e),r=Sl(e);return!r||r.length<=1?[t]:r.some((function(e){return void 0===e}))?null:(r.splice(0,0,t),r)};var Lh=function(e){var t=Ph(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var r,n=t.shift();return t.forEach((function(a,o){if(0!==o){var i=t[o-1],u=t[o];r=i.every((function(e,t){return e===u[t]}))||n.includes(e)}})),r?t[0]:(rs.set("bgColor","elmPartiallyObscuring"),null)}return rs.set("bgColor","outsideViewport"),null};var jh={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t}};function qh(e,t,r,n,a){return t*(1-n)*e+t*n*jh[a](r/255,e/255)*255+(1-t)*n*r}var zh=function(e,t){var r,n,a,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal",i=qh(e.red,e.alpha,t.red,t.alpha,o),u=qh(e.green,e.alpha,t.green,t.alpha,o),l=qh(e.blue,e.alpha,t.blue,t.alpha,o),s=(r=e.alpha+t.alpha*(1-e.alpha),n=0,a=1,Math.min(Math.max(n,r),a));if(0===s)return new fp(i,u,l,s);var c=Math.round(i/s),d=Math.round(u/s),p=Math.round(l/s);return new fp(c,d,p,s)};function Vh(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new fp(n,a,o,i)}function $h(e){for(var t=Sl(e).map((function(t){return t=function(e){var t=e.indexOf(l.body),r=e,n=hp(i.getComputedStyle(l.documentElement));if(t>1&&0===n.alpha&&!ns(l.documentElement)){t>1&&(r.splice(t,1),r.push(l.body));var a=r.indexOf(l.documentElement);a>0&&(r.splice(a,1),r.push(l.documentElement))}return r}(t=Ep(t,e))})),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return rs.set("bgColor","bgOverlap"),null;if(0!==r&&!Hh(n,t[0]))return rs.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function Hh(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}var Uh=.54,Gh=.5,Wh=1.5,Yh=["top","right","bottom","left"];function Kh(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,r=void 0!==t&&t,n=function(e){var t,r={},n=re(e);try{for(n.s();!(t=n.n()).done;){var a,o=t.value,i=o.colorStr,u=o.pixels;null!==(a=r[i])&&void 0!==a||(r[i]={top:[],right:[],bottom:[],left:[]});var l=r[i],s=K(u,2),c=s[0],d=s[1];c>Gh?l.right.push(c):-c>Gh&&l.left.push(-c),d>Gh?l.bottom.push(d):-d>Gh&&l.top.push(-d)}}catch(e){n.e(e)}finally{n.f()}return r}(e),a=Object.entries(n).map((function(e){var t=K(e,2),r=t[0],n=t[1],a=Yh.filter((function(e){return 0!==n[e].length})).length;return{colorStr:r,sides:n,edgeCount:a}}));return!r&&a.some((function(e){var t=e.edgeCount;return t>1&&t<4}))?null:a.map(Xh).filter((function(e){return null!==e}))}function Xh(e){var t=e.colorStr,r=e.sides;if(4!==e.edgeCount)return null;var n=new fp;n.parseString(t);var a=0,o=!0;return Yh.forEach((function(e){a+=r[e].length/4,o&&(o=r[e].every((function(e){return e>Wh})))})),o||(n.alpha=1-Math.pow(Uh,a)),n}function Zh(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return[];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),o=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)pn(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){pn(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==r[0])throw new Error("Unable to process text-shadows: ".concat(r));pn(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim()}}return n.forEach((function(e){var t=e.pixels;2===t.length&&t.push(0)})),n}function Jh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,o=[],u=i.getComputedStyle(e),l=u.getPropertyValue("text-shadow");if("none"===l)return o;var s=u.getPropertyValue("font-size"),c=parseInt(s);pn(!1===isNaN(c),"Unable to determine font-size value ".concat(s));var d,p=[],f=re(Zh(l));try{for(f.s();!(d=f.n()).done;){var m=d.value,h=m.colorStr||u.getPropertyValue("color"),D=K(m.pixels,3),g=D[0],v=D[1],b=D[2],y=void 0===b?0:b;if(!(n&&y>=c*n))if(r&&y<c*r)p.push({colorStr:h,pixels:m.pixels});else{if(p.length>0){var F=Kh(p,{ignoreEdgeCount:a});if(null===F)return null;o.push.apply(o,G(F)),p.splice(0,p.length)}var w=Qh({colorStr:h,offsetX:g,offsetY:v,blurRadius:y,fontSize:c});o.push(w)}}}catch(e){f.e(e)}finally{f.f()}if(p.length>0){var E=Kh(p,{ignoreEdgeCount:a});if(null===E)return null;o.push.apply(o,G(E))}return o}function Qh(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,o=e.fontSize;if(r>a||n>a)return new fp(0,0,0,0);var i=new fp;return i.parseString(t),i.alpha*=function(e,t){if(0===e)return 1;var r=e/t;return.185/(r+.4)}(a,o),i}function eD(e,t){var r,n=Yn(e);if(n._stackingContext)return n._stackingContext;var a=[],o=new Map;return(t=null!==(r=t)&&void 0!==r?r:$h(e)).forEach((function(e){var t,r=Yn(e),n=function(e){var t=new fp;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(r),i=r._stackingOrder.filter((function(e){return!!e.vNode}));i.forEach((function(e,t){var r,n=e.vNode,u=null===(r=i[t-1])||void 0===r?void 0:r.vNode,l=aD(o,n,u);0!==t||o.get(n)||a.unshift(l),o.set(n,l)}));var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,l=aD(o,r,u);i.length||a.unshift(l),l.bgColor=n})),n._stackingContext=a,a}function tD(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=e.descendants.reduce(rD,nD()),a=zh(n,e.bgColor,e.descendants[0].blendMode);return a.alpha*=e.opacity,{color:a,blendMode:e.blendMode}}function rD(e,t){var r;r=e instanceof fp?e:tD(e).color;var n=tD(t).color;return zh(n,r,t.blendMode)}function nD(e,t){var r,n;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(r=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==r?r:1),bgColor:new fp(0,0,0,0),blendMode:(n=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),n||void 0),descendants:[]}}function aD(e,t,r){var n,a=e.get(r),o=null!==(n=e.get(t))&&void 0!==n?n:nD(t,a);return a&&r!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function oD(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=Yn(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,G(a.bgElms)),rs.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,r){var n,a,o=$h(e);if(!o)return null;var u=Rl(e),s=null!==(n=Jh(e,{minRatio:r,ignoreEdgeCount:!0}))&&void 0!==n?n:[];s.length&&(s=[{color:s.reduce(Vh)}]);for(var c=0;c<o.length;c++){var d=o[c],p=i.getComputedStyle(d);if(ns(d,p))return t.push(d),null;var f=hp(p);if(0!==f.alpha){if("inline"!==p.getPropertyValue("display")&&!iD(d,u))return t.push(d),rs.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),1===f.alpha)break}}var m=eD(e,o);s=m.map(tD).concat(s);var h=function(e,t){var r=[];if(!t){var n=l.documentElement,a=l.body,o=i.getComputedStyle(n),u=i.getComputedStyle(a),s=hp(o),c=hp(u),d=0!==c.alpha&&iD(a,e.getBoundingClientRect());(0!==c.alpha&&0===s.alpha||d&&1!==c.alpha)&&r.unshift({color:c,blendMode:uD(u.getPropertyValue("mix-blend-mode"))}),0!==s.alpha&&(!d||d&&1!==c.alpha)&&r.unshift({color:s,blendMode:uD(o.getPropertyValue("mix-blend-mode"))})}return r}(e,o.includes(l.body));if((a=s).unshift.apply(a,G(h)),0===s.length)return new fp(255,255,255,1);var D=s.reduce((function(e,t){return zh(t.color,e.color instanceof fp?e.color:e,t.blendMode)}));return zh(D.color instanceof fp?D.color:D,new fp(255,255,255,1))}(e,t,r);return n._cache.getBackgroundColor={bgColor:o,bgElms:t,incompleteData:rs.get("bgColor")},o}function iD(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,o=i.getComputedStyle(e).getPropertyValue("overflow");return(["scroll","auto"].includes(o)||e instanceof i.HTMLHtmlElement)&&(n=r.left+e.scrollWidth,a=r.top+e.scrollHeight),t.every((function(e){return e.top>=r.top&&e.bottom<=a&&e.left>=r.left&&e.right<=n}))}function uD(e){return e||void 0}var lD=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=zh(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};function sD(e,t,r){for(var n,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=i.getComputedStyle(e),u=[function(){return function(e,t){var r=t.textStrokeEmMin,n=void 0===r?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||i<n)return null;var u=e.getPropertyValue("-webkit-text-stroke-color");return(new fp).parseString(u)}(o,a)},function(){return function(e){return(new fp).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(o)},function(){return Jh(e,{minRatio:0})}],l=[],s=0,c=u;s<c.length;s++){var d=(0,c[s])();if(d&&(l=l.concat(d),1===d.alpha))break}var p=l.reduce((function(e,t){return zh(e,t)}));if(null!==(n=r)&&void 0!==n||(r=oD(e,[])),null===r){var f=rs.get("bgColor");return rs.set("fgColor",f),null}var m=eD(e),h=cD(m,e);return zh(function(e,t,r){for(;t;){var n;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(n=t.ancestor)||void 0===n?void 0:n.descendants)||r;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var o=a.map(tD);if(o.length){var i=o.reduce((function(e,t){return zh(t.color,e.color instanceof fp?e.color:e)}),{color:new fp(0,0,0,0),blendMode:"normal"});e=zh(e,i),t=t.ancestor}else t=t.ancestor}}return e}(p,h,m),new fp(255,255,255,1))}function cD(e,t){var r,n=re(e);try{for(n.s();!(r=n.n()).done;){var a,o=r.value;if((null===(a=o.vNode)||void 0===a?void 0:a.actualNode)===t)return o;var i=cD(o.descendants,t);if(i)return i}}catch(e){n.e(e)}finally{n.f()}}var dD=function(e,t,r,n){var a=lD(e,t),o=n&&Math.ceil(72*r)/96<14||!n&&Math.ceil(72*r)/96<18?4.5:3;return{isValid:a>o,contrastRatio:a,expectedContrastRatio:o}};var pD=wn((function(e,t){var r=i.getComputedStyle(e,t),n=function(e,t){return r.getPropertyValue(e)===t};if(n("content","none")||n("display","none")||n("visibility","hidden")||!1===n("position","absolute"))return 0;if(0===hp(r).alpha&&n("background-image","none"))return 0;var a=fD(r.getPropertyValue("width")),o=fD(r.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value}));function fD(e){var t=K(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),r=t[1],n=void 0===r?"":r,a=t[2],o=void 0===a?"":a;return{value:parseFloat(n),unit:o.toLowerCase()}}function mD(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var hD=["block","list-item","table","flex","grid","inline-block"];function DD(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==hD.indexOf(t)||"table-"===t.substr(0,6)}var gD=function(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(DD(e))return!1;for(var a=Uo(e);a&&1===a.nodeType&&!DD(a);)a=Uo(a);if(a){this.relatedNodes([a]);var o=sD(e),i=sD(a),u=oD(e),l=oD(a),s=o&&i?mD(o,i):void 0;if(s&&(s=Math.floor(100*s)/100),s&&s>=r)return!0;var c=u&&l?mD(u,l):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=r)return!0;if(!c){var d,p=null!==(d=rs.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:p}),void rs.clear()}if(s)return!(!n||1!==s||1!==c)||(1===s&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:l?l.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:s,requiredContrastRatio:r,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}},vD=["block","list-item","table","flex","grid","inline-block"];function bD(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==vD.indexOf(t)||"table-"===t.substr(0,6)}var yD=function(e,t,r){if("input"!==r.props.nodeName)return!0;var n=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===s(t)&&Object.keys(t).forEach((function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])}));var i=r.attr("autocomplete").split(/\s+/g).map((function(e){return e.toLowerCase()})),u=i[i.length-1];if(Cl.stateTerms.includes(u))return!0;var l=o[u],c=r.hasAttr("type")?vu(r.attr("type")).toLowerCase():"text";return c=Fm().includes(c)?c:"text",void 0===l?"text"===c:l.includes(c)};var FD=function(e,t,r){var n=r.attr("autocomplete")||"";return xl(n,t)};var wD=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var n=r.attr(t.attribute);return!!vu(n)||(this.data({messageKey:"emptyAttr"}),!1)};var ED=function(e){return e.some((function(e){return!0===e.result}))&&e.forEach((function(e){e.result=!0})),e};var CD=function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Zl())return!0;var n=Jf(r,t.selector,(function(e){return Yu(e)}));return this.relatedNodes(n.map((function(e){return e.actualNode}))),n.length>0};var xD=function(e,t,r){return Mu(r,t.matcher)};var AD=function(e){return e.filter((function(e){return"ignored"!==e.data}))};var kD=function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(!Wn.get(n)){Wn.set(n,!0);var a=Jf(c._tree[0],t.selector,(function(e){return Yu(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!Eo(e,t.nativeScopeFilter)}))),"string"==typeof t.role&&(a=a.filter((function(e){return Vu(e)===t.role}))),this.relatedNodes(a.filter((function(e){return e!==r})).map((function(e){return e.actualNode}))),a.length<=1}this.data("ignored")};var ND=function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var r=e.data.toUpperCase();return t[r]?(t[r].relatedNodes.push(e.relatedNodes[0]),!1):(t[r]=e,e.relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))};var _D=function(e,t,r){return Vo(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0};var TD=function(e,t,r){var n=r.tabbableElements;return!!n&&n.filter((function(e){return e!==r})).length>0};var BD=function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return n.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!Zl())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t}))&&void 0};var RD=function(e,t,r){return!(!r.hasAttr("contenteditable")||!function e(t){var n=t.attr("contenteditable");if("true"===n||""===n)return!0;if("false"===n)return!1;var a=ha(r.parent,"[contenteditable]");if(!a)return!1;return e(a)}(r))||Wi(r)};var SD=function(e,t,r){var n=r.tabbableElements.map((function(e){return e.actualNode}));return!n||!n.length||(!Zl()||void this.relatedNodes(n))};var OD=function(e,t,r){var n=r.attr("tabindex");if(!(Gi(r)&&n>-1))return!1;try{return!yl(r)}catch(e){return}};var MD=function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return!n.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!Zl())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t}))&&void 0};function ID(e){if(Wi(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some((function(e){return ID(e)}))}var PD=function(e){var t=Um("landmark"),r=Uo(e),n=Vu(e);for(this.data({role:n});r;){var a=r.getAttribute("role");if(a||"FORM"===r.nodeName.toUpperCase()||(a=Pu(r)),a&&t.includes(a)&&("main"!==a||"complementary"!==n))return!1;r=Uo(r)}return!0};function LD(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach((function(e){"widget"===Gl(e)&&Gi(e)?t.push(e):t.push.apply(t,G(LD(e)))})),t}function jD(e){var t=parseInt(e.attr("tabindex"),10);return!isNaN(t)&&t<0}var qD=function(e,t,r){var n=parseInt(r.attr("tabindex"),10);return!!isNaN(n)||n<=0};var zD=function(e,t,r){var n=r.attr("alt");return"string"==typeof n&&/^\s+$/.test(n)};var VD=function(e,t,r){if(["none","presentation"].includes(Vu(r)))return!1;var n=ha(r,t.parentSelector);if(!n)return!1;var a=Xu(n,!0).toLowerCase();return""!==a&&a===yl(r).toLowerCase()};var $D=function(e,t,r){var n=this;if(!r.attr("id"))return!1;if(r.actualNode){var a=Fo(r.actualNode),o=mn(r.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some((function(e){if(Zo(e)){var t=vu(Ji(e,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}};var HD=function(e,t,r){var n=Nl(r),a=e.getAttribute("title");return!!n&&(a||(a="",e.getAttribute("aria-describedby")&&(a=Zi(e,"aria-describedby").map((function(e){return e?Ji(e):""})).join(""))),vu(a)===vu(n))};var UD=function(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=Fo(e),a=mn(e.getAttribute("id")),o=n.querySelector('label[for="'.concat(a,'"]'));if(o&&!Yu(o)){var i;try{i=yl(r).trim()}catch(e){return}return""===i}}return!1};var GD=function(e,t,r){try{var n=ha(r,"label");if(n){var a=vu(yl(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}};function WD(e,t){var r=YD(t),n=YD(e);return!(!r||!n)&&r.includes(n)}function YD(e){var t=wl(e,{emoji:!0,nonBmp:!0,punctuations:!0});return vu(t)}var KD=function(e,t,r){var n,a=null==t?void 0:t.pixelThreshold,o=null!==(n=null==t?void 0:t.occurrenceThreshold)&&void 0!==n?n:null==t?void 0:t.occuranceThreshold,i=Ji(e).toLowerCase();if(!(El(i)<1)){var u=vu(cl(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:a,occurrenceThreshold:o})).toLowerCase();return!u||(El(u)<1?!!WD(u,i)||void 0:WD(u,i))}};var XD=function(e){var t=mn(e.getAttribute("id")),r=e.parentNode,n=Fo(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter((function(e){return!Vo(e)})));r;)"LABEL"===r.nodeName.toUpperCase()&&-1===a.indexOf(r)&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var o=a.filter((function(e){return Yu(e)}));if(o.length>1)return;return!Zi(e,"aria-labelledby").includes(o[0])&&void 0}return!1};var ZD=function(e,t,r){var n=Nl(r),a=Hu(r),o=r.attr("aria-describedby");return!(n||!a&&!o)};var JD=function(e){var t=[];return e.filter((function(e){var r=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return r?(r.result=!1,r.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))};var QD=function(e,t,r){var n=Vu(e),a=yl(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),!0};function eg(e){return""!==(e||"").trim()}var tg=function(e,t,r){var n=void 0!==l&&En(l);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&eg(r.attr("xml:lang"))&&!eg(r.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return eg(r.attr(e))}))||(this.data({messageKey:"noLang"}),!1)};var rg=function(e,t,r){var n=[];return t.attributes.forEach((function(e){var a=r.attr(e);if("string"==typeof a){var o=Gp(a),i=t.value?!t.value.map(Gp).includes(o):!Cm(o);(""!==o&&i||""!==a&&!vu(a))&&n.push(e+'="'+r.attr(e)+'"')}})),!!n.length&&(!("html"!==r.props.nodeName&&!ql(r))&&(this.data(n),!0))};var ng=function(e,t,r){return Gp(r.attr("lang"))===Gp(r.attr("xml:lang"))};var ag=function(e){var t=Uo(e),r=t.nodeName.toUpperCase(),n=cu(t);return"DIV"===r&&["presentation","none",null].includes(n)&&(r=(t=Uo(t)).nodeName.toUpperCase(),n=cu(t)),"DL"===r&&!(n&&!["presentation","none","list"].includes(n))};function og(e,t,r){var n=r.validRoles,a=void 0===n?[]:n,o=r.validNodeNames,i=void 0===o?[]:o,u=e.props,l=u.nodeName,s=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(3===s&&""!==c.trim())return d+"#text";if(1!==s||!Yu(e))return!1;var p=cu(e);return p?!a.includes(p)&&d+"[role=".concat(p,"]"):!i.includes(l)&&d+l}function ig(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}var ug=function(e,t,r){var n=!1,a=!1,o=!0,i=[],u=[],l=[];return r.children.forEach((function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&Yu(t)){o=!1;var r="LI"===t.nodeName.toUpperCase(),s=Vu(e),c="listitem"===s;r||c||i.push(t),r&&!c&&(u.push(t),l.includes(s)||l.push(s)),c&&(a=!0)}}else n=!0})),n||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:l.join(", ")}),!0)};var lg=function(e,t,r){var n=r.children;if(!n||!n.length)return!1;for(var a,o=!1,i=!1,u=0;u<n.length;u++){if("DT"===(a=n[u].props.nodeName.toUpperCase())&&(o=!0),o&&"DD"===a)return!1;"DD"===a&&(i=!0)}return o||i};var sg=function(e,t,r){return!sm(r,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0};var cg=function(e){var t={};return e.filter((function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var r=e.node.ancestry.flat(1/0).join(" > ");return t[r]=e,!0}var n=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[n]&&(t[n].result=!0),!1}))};var dg=function(e,t){return!t.isViolation&&void 0};var pg=function(e,t){if(e.duration){var r=t.allowedDuration,n=void 0===r?3:r;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(!t)return;return K(t,2)[1].split(",").map((function(e){return/:/.test(e)?function(e){var t=e.split(":"),r=0,n=1;for(;t.length>0;)r+=n*parseInt(t.pop(),10),n*=60;return parseFloat(r)}(e):parseFloat(e)}))}(e.currentSrc);if(!t)return Math.abs(e.duration-(e.currentTime||0));if(1===t.length)return Math.abs(e.duration-t[0]);return Math.abs(t[1]-t[0])}(e)<=n&&!e.hasAttribute("loop")||!!e.hasAttribute("controls")}console.warn("axe.utils.preloadMedia did not load metadata")};var fg=function(e,t,r,n){var a=(n||{}).cssom,o=void 0===a?void 0:a,i=(t||{}).degreeThreshold,u=void 0===i?0:i;if(o&&o.length){for(var l=!1,s=[],c=o.reduce((function(e,t){var r=t.sheet,n=t.root,a=t.shadowId,o=a||"topDocument";if(e[o]||(e[o]={root:n,rules:[]}),!r||!r.cssRules)return e;var i=Array.from(r.cssRules);return e[o].rules=e[o].rules.concat(i),e}),{}),d=function(){var e=f[p],t=c[e],r=t.root,n=t.rules.filter(m);if(!n.length)return"continue";n.forEach((function(e){var t=e.cssRules;Array.from(t).forEach((function(e){var t=function(e){var t=e.selectorText,r=e.style;if(!t||r.length<=0)return!1;var n=r.transform||r.webkitTransform||r.msTransform||!1;if(!n&&!r.rotate)return!1;var a=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var r=K(t,3),n=r[1],a=r[2];return h(n,a)}(n),o=h("rotate",r.rotate),i=a+o;if(!i)return!1;if(i=Math.abs(i),Math.abs(i-180)%180<=u)return!1;return Math.abs(i-90)%90<=u}(e);if(t&&"HTML"!==e.selectorText.toUpperCase()){var n=Array.from(r.querySelectorAll(e.selectorText))||[];s=s.concat(n)}l=l||t}))}))},p=0,f=Object.keys(c);p<f.length;p++)d();return!l||(s.length&&this.relatedNodes(s),!1)}function m(e){var t=e.type,r=e.cssText;return 4===t&&(/orientation:\s*landscape/i.test(r)||/orientation:\s*portrait/i.test(r))}function h(e,t){switch(e){case"rotate":case"rotateZ":return D(t);case"rotate3d":var r=K(t.split(",").map((function(e){return e.trim()})),4),n=r[2],a=r[3];if(0===parseInt(n))return;return D(a);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var r=K(t,2),n=r[0],a=r[1];return g(Math.atan2(parseFloat(a),parseFloat(n)))}var o=parseFloat(t[8]),i=Math.asin(o),u=Math.cos(i);return g(Math.acos(parseFloat(t[0])/u))}(t);default:return 0}}function D(e){var t=K(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var r,n=parseFloat(e.replace(t,""));switch(t){case"rad":return g(n);case"grad":return function(e){(e%=400)<0&&(e+=400);return Math.round(e/400*360)}(n);case"turn":return r=n,Math.round(360/(1/r));default:return parseInt(n)}}function g(e){return Math.round(e*(180/Math.PI))}};var mg=function(e,t,r){var n=t||{},a=n.scaleMinimum,o=void 0===a?2:a,i=n.lowerBound,u=void 0!==i&&i,l=r.attr("content")||"";if(!l)return!0;var s=l.split(/[;,]/).reduce((function(e,t){var r=t.trim();if(!r)return e;var n=K(r.split("="),2),a=n[0],o=n[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),u=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===u&&(u=1),"maximum-scale"===i&&parseFloat(u)<0||(e[i]=u),e}),{});if(u&&s["maximum-scale"]&&parseFloat(s["maximum-scale"])<u)return!0;if(!u&&"no"===s["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(s["user-scalable"]);return!u&&s["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(s["maximum-scale"]&&parseFloat(s["maximum-scale"])<o)||(this.data("maximum-scale"),!1)};function hg(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function Dg(e){return e.getComputedStylePropertyValue("pointer-events")}function gg(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function vg(e,t){return e.actualNode.contains(t.actualNode)&&!Wi(t)}function bg(e){return e.map((function(e){return e.actualNode}))}function yg(e,t){var r,n=null===(r=t.data)||void 0===r?void 0:r.headingOrder,a=wg(t.node.ancestry,1);if(!n)return e;var o=n.map((function(e){return function(e,t){var r=t.concat(e.ancestry);return Y({},e,{ancestry:r})}(e,a)})),i=function(e,t){for(;t.length;){var r=Fg(e,t);if(-1!==r)return r;t=wg(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,G(o)):e.splice.apply(e,[i,0].concat(G(o))),e}function Fg(e,t){return e.findIndex((function(e){return Pf(e.ancestry,t)}))}function wg(e,t){return e.slice(0,e.length-t)}function Eg(e){var t=Vu(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),o=K(e.props.nodeName.match(/h(\d)/)||[],2)[1];return r?o&&!n?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}var Cg=function(){var e=Wn.get("headingOrder");if(e)return!0;var t=Jf(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",Yu);return e=t.map((function(e){return{ancestry:[Vn(e.actualNode)],level:Eg(e)}})),this.data({headingOrder:e}),Wn.set("headingOrder",t),!0};function xg(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);return r.length===n.length&&r.every((function(r){var n=e[r],a=t[r];return s(n)===s(a)&&("object"===s(n)||"object"===s(a)?xg(n,a):n===a)}))}var Ag=function(e){if(e.length<2)return e;for(var t=e.filter((function(e){return void 0!==e.result})),r=[],n={},a=function(e){var a,o=t[e],i=o.data,u=i.name,l=i.urlProps;if(n[u])return"continue";var s=t.filter((function(t,r){return t.data.name===u&&r!==e})),c=s.every((function(e){return xg(e.data.urlProps,l)}));s.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,G(s.map((function(e){return e.relatedNodes[0]})))),n[u]=s,r.push(o)},o=0;o<t.length;o++)a(o);return r},kg={};ie(kg,{aria:function(){return Im},color:function(){return Sh},dom:function(){return bo},forms:function(){return Ng},matches:function(){return Mu},math:function(){return ti},standards:function(){return Dh},table:function(){return Bg},text:function(){return Xi},utils:function(){return Jr}});var Ng={};ie(Ng,{isAriaCombobox:function(){return rl},isAriaListbox:function(){return tl},isAriaRange:function(){return al},isAriaTextbox:function(){return el},isDisabled:function(){return Tg},isNativeSelect:function(){return Qu},isNativeTextbox:function(){return Ju}});var _g=["fieldset","button","select","input","textarea"];var Tg=function e(t){var r=t._isDisabled;if("boolean"==typeof r)return r;var n=t.props.nodeName,a=t.attr("aria-disabled");return r=!(!_g.includes(n)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=r,r},Bg={};ie(Bg,{getAllCells:function(){return Rg},getCellPosition:function(){return mu},getHeaders:function(){return Og},getScope:function(){return hu},isColumnHeader:function(){return Du},isDataCell:function(){return Mg},isDataTable:function(){return Ig},isHeader:function(){return Pg},isRowHeader:function(){return gu},toArray:function(){return fu},toGrid:function(){return fu},traverse:function(){return jg}});var Rg=function(e){var t,r,n,a,o=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)o.push(e.rows[t].cells[r]);return o};function Sg(e,t,r){for(var n,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?gu:Du,i=r[t.y][t.x],u=i.colSpan-1,l=i.getAttribute("rowspan"),s=(0===parseInt(l)||0===i.rowspan?r.length:i.rowSpan)-1,d=t.y+s,p=t.x+u,f="row"===e?t.y:0,m="row"===e?0:t.x,h=[],D=d;D>=f&&!n;D--)for(var g=p;g>=m;g--){var v=r[D]?r[D][g]:void 0;if(v){var b=c.utils.getNodeFromTree(v);if(b[a]){n=b[a];break}h.push(v)}}return n=(n||[]).concat(h.filter(o)),h.forEach((function(e){c.utils.getNodeFromTree(e)[a]=n})),n}var Og=function(e,t){if(e.getAttribute("headers")){var r=Zi(e,"headers");if(r.filter((function(e){return e})).length)return r}t||(t=fu(Co(e,"table")));var n=mu(e,t),a=Sg("row",n,t),o=Sg("col",n,t);return[].concat(a,o).reverse()};var Mg=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=e.getAttribute("role");return su(t)?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()};var Ig=function(e){var t=(e.getAttribute("role")||"").toLowerCase();if(("presentation"===t||"none"===t)&&!Gi(e))return!1;if("true"===e.getAttribute("contenteditable")||Co(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===Gl(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r<n;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var a,o,u=0,l=e.rows.length,s=!1,c=0;c<l;c++)for(var d=0,p=(a=e.rows[c]).cells.length;d<p;d++){if("TH"===(o=a.cells[d]).nodeName.toUpperCase())return!0;if(s||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(s=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes((o.getAttribute("role")||"").toLowerCase()))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;u++}if(e.getElementsByTagName("table").length)return!1;if(l<2)return!1;var f,m,h=e.rows[Math.ceil(l/2)];if(1===h.cells.length&&1===h.cells[0].colSpan)return!1;if(h.cells.length>=5)return!0;if(s)return!0;for(c=0;c<l;c++){if(a=e.rows[c],f&&f!==i.getComputedStyle(a).getPropertyValue("background-color"))return!0;if(f=i.getComputedStyle(a).getPropertyValue("background-color"),m&&m!==i.getComputedStyle(a).getPropertyValue("background-image"))return!0;m=i.getComputedStyle(a).getPropertyValue("background-image")}return l>=20||!(Wo(e).width>.95*Yo(i).width)&&(!(u<10)&&!e.querySelector("object, embed, iframe, applet"))};var Pg=function(e){if(Du(e)||gu(e))return!0;if(e.getAttribute("id")){var t=mn(e.getAttribute("id"));return!!l.querySelector('[headers~="'.concat(t,'"]'))}return!1};function Lg(e,t,r,n){var a,o=r[t.y]?r[t.y][t.x]:void 0;return o?"function"==typeof n&&!0===(a=n(o,t,r))?[o]:((a=Lg(e,{x:t.x+e.x,y:t.y+e.y},r,n)).unshift(o),a):[]}var jg=function(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return Lg(e,{x:t.x+e.x,y:t.y+e.y},r,n)};var qg=function(e,t,r){var n=Xi.accessibleTextVirtual(r),a=Xi.sanitize(Xi.removeUnicode(n,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var o={name:a,urlProps:bo.urlPropsFromAttribute(e,"href")};return this.data(o),this.relatedNodes([e]),!0}};var zg=function(e,t,r){return sm(r,"a[href]").some((function(e){return/^#[^/!]/.test(e.attr("href"))}))},Vg=/[;,\s]/,$g=/^[0-9.]+$/;function Hg(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function Ug(e){var t=i.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,n=e.children[a].textContent.trim()}while(""===n&&a+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:Hg(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:"italic"===t.getPropertyValue("font-style")}}function Gg(e,t,r){return r.reduce((function(r,n){return r||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)}),!1)}var Wg=function(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e),o=(t=t||{}).margins||[],i=n.slice(a+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),u=n.slice(0,a).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),l=Ug(e),s=i?Ug(i):null,c=u?Ug(u):null,d=t.passLength,p=t.failLength,f=e.textContent.trim().length,m=null==i?void 0:i.textContent.trim().length;if(f>m*d)return!0;if(!s||!Gg(l,s,o))return!0;var h=Eo(r,"blockquote");return!!(h&&"BLOCKQUOTE"===h.nodeName.toUpperCase()||c&&!Gg(l,c,o)||f>m*p)&&void 0};var Yg=function(e){var t=e.filter((function(e){return e.data.isIframe}));return e.forEach((function(e){if(!e.result&&1!==e.node.ancestry.length){var r,n=e.node.ancestry.slice(0,-1),a=re(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(Pf(n,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}})),t.forEach((function(e){e.result||(e.result=!0)})),e},Kg=["alert","log","status"];function Xg(e,t){var r=e.actualNode;if("button"===Vu(e)||function(e,t){var r=e.actualNode,n=Vu(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),o=Um("landmark");if(["assertive","polite"].includes(a)||Kg.includes(n))return!0;if(o.includes(n))return!0;if(t.regionMatcher&&Mu(e,t.regionMatcher))return!0;return!1}(e,t)||["iframe","frame"].includes(e.props.nodeName)||gp(e.actualNode)&&Li(e.actualNode,"href")||!Yu(r)){for(var n=e;n;)n._hasRegionDescendant=!0,n=n.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return r!==l.body&&jl(r,!0)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return Xg(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}var Zg=function(e){var t=Li(e,"href");return!!t&&(Yu(t)||void 0)};var Jg=function(e){var t={};return e.forEach((function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0})),e.forEach((function(e){e.result=!!t[e.data]})),e};var Qg=function(e,t,r){var n=vu(r.attr("title")).toLowerCase();return this.data(n),!0};var ev=function(e){var t=[];return e.filter((function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)}))};var tv=function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=Fo(e),n=Array.from(r.querySelectorAll('[id="'.concat(mn(t),'"]'))).filter((function(t){return t!==e}));return n.length&&this.relatedNodes(n),this.data(t),0===n.length};var rv=function(e,t,r){return!!vu(eu(r))};var nv=function(e,t,r){try{return!!vu(Qi(r))}catch(e){return}};var av=function(e,t){var r=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}));return!(r.length>0)||(this.data(r),!1)};var ov=function(){var e=l.title;return!!vu(e)};var iv=function(){};var uv=function(e,t,r){var n=r.props.nodeName;return!!["img","input","area"].includes(n)&&r.hasAttr("alt")};var lv=function(e){return Zo(e)};var sv=function(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),o=r.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==n||!["submit","reset"].includes(a))&&null===o};var cv=function(e,t,r){if(r.children){var n=r.children.find((function(e){return"title"===e.props.nodeName}));if(!n)return this.data({messageKey:"noTitle"}),!1;try{if(""===cl(n,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}};var dv=function(e){var t=fu(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1||r.reduce((function(e,t,n){return e||t!==r[n+1]&&void 0!==r[n+1]}),!1)};var pv=function(e){return!Ul(l)||"TH"===e.nodeName.toUpperCase()},fv=function(e,t,r){if(void 0===r.children)return;var n=r.attr("summary"),a=r.children.find(mv),o=!!a&&vu(cl(a));if(!o||!n)return!1;return vu(n).toLowerCase()===vu(o).toLowerCase()};function mv(e){return"caption"===e.props.nodeName}var hv=function(e,t){var r=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(r)};var Dv=function(e){var t=[],r=Rg(e),n=fu(e);return r.forEach((function(e){jl(e)&&Mg(e)&&!nh(e)&&(Og(e,n).some((function(e){return null!==e&&!!jl(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)};var gv=function(e){var t=Rg(e),r=this,n=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(n=n.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(n=n.concat(r.split(/\s+/)))}));var a=t.filter((function(e){return""!==vu(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(e.getAttribute("role")))})),o=fu(e),i=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!n.includes(e.getAttribute("id"))){var t=mu(e,o),a=!1;Du(e)&&(a=jg("down",t,o).find((function(t){return!Du(t)&&Og(t,o).includes(e)}))),!a&&gu(e)&&(a=jg("right",t,o).find((function(t){return!gu(t)&&Og(t,o).includes(e)}))),a||r.relatedNodes(e),i=i&&a}})),!!i||void 0};var vv=function(e,t,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Ll(r)){var n=i.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var a=Uo(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0};var bv=function(e,t){var r=/^aria-/,n=t.attrNames;if(n.length)for(var a=0,o=n.length;a<o;a++)if(r.test(n[a]))return!0;return!1};var yv=function(e,t){return null!==cu(t,{dpub:!0,fallback:!0})};var Fv=function(e,t){var r=/^aria-/;return t.attrNames.some((function(e){return r.test(e)}))};function wv(e){return!e||"true"!==e.getAttribute("aria-hidden")&&wv(Uo(e))}var Ev=function(e){return wv(Uo(e))};var Cv=function(e,t){var r=cu(t,{dpub:!0});return!!ih(r)};var xv=function(e,t){var r=cu(t);return!!oh(r)};var Av=function(e,t){var r=t.attr("autocomplete");if(!r||""===vu(r))return!1;var n=t.props.nodeName;if(!1===["textarea","input","select"].includes(n))return!1;if("input"===n&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var a=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===a.toLowerCase())return!1;var o=t.attr("role"),i=t.attr("tabindex");if("-1"===i&&o){var u=uu.ariaRoles[o];if(void 0===u||"widget"!==u.type)return!1}return!("-1"===i&&t.actualNode&&!Zo(t)&&!Yu(t))};var kv=function(e,t,r){return r.initiator};var Nv=function(e,t,r){return!kv(e,t,r)||!!e.querySelector("a[href]")};var _v=function(e,t){var r=t.props,n=r.nodeName,a=r.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(Tg(t)||Ti(t))return!1;if(["input","select","textarea"].includes(n)){var o=i.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var s=e.getBoundingClientRect();if(s={top:s.top,bottom:s.bottom,left:s.left+u,right:s.right+u},!Bp(s,e))return!1}return!0}var c=Eo(t,"label");if("label"===n||c){var d=c||e,p=c?Yn(c):t;if(d.htmlFor){var f=Fo(d).getElementById(d.htmlFor),m=f&&Yn(f);if(m&&Tg(m))return!1}var h=sm(p,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(h&&Tg(h))return!1}for(var D=[],g=t;g;){if(g.props.id){var v=qm(g).filter((function(e){return Ip(e.getAttribute("aria-labelledby")||"").includes(g.props.id)})).map((function(e){return Yn(e)}));D.push.apply(D,G(v))}g=g.parent}if(D.length>0&&D.every(Tg))return!1;if(!function(e){var t=Xu(e,!1,!0);if(""===t||""===wl(t,Tv))return!1;return e.children.some((function(e){return"#text"===e.props.nodeName&&!bl(e)}))}(t))return!1;for(var b=l.createRange(),y=t.children,F=0;F<y.length;F++){var w=y[F];3===w.actualNode.nodeType&&""!==vu(w.actualNode.nodeValue)&&b.selectNodeContents(w.actualNode)}for(var E=b.getClientRects(),C=0;C<E.length;C++)if(Bp(E[C],e))return!0;return!1},Tv={emoji:!0,nonBmp:!1,punctuations:!0};var Bv=function(e){if(Ig(e)){var t=fu(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1};var Rv=function(e){return Ig(e)};var Sv=function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(mn(t),'"]'),n=Array.from(Fo(e).querySelectorAll(r));return!eh(e)&&n.some(Gi)};var Ov=function(e){return eh(e)};var Mv=function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(mn(t),'"]'),n=Array.from(Fo(e).querySelectorAll(r));return!eh(e)&&n.every((function(e){return!Gi(e)}))};var Iv=function(e,t,r){var n,a;return!r.initiator&&!r.focusable&&(null===(n=r.size)||void 0===n?void 0:n.width)*(null===(a=r.size)||void 0===a?void 0:a.height)>1};var Pv=function(e){var t=e.getAttribute("title");return!!vu(t)};var Lv=function(e,t){return null!==Pu(t,{chromium:!0})};var jv=function(e,t){try{return"svg"===t.props.nodeName||!!ha(t,"svg")}catch(e){return!1}};var qv=function(e,t){return!jv(e,t)};var zv=function(e,t){if(!!!yl(t))return!1;var r=Vu(e);return!r||"link"===r};var Vv=function(e){return zl(e)};var $v=function(e,t){var r=Vu(e);return!!r&&(!!Um("widget").includes(r)&&(!!Wm().includes(r)&&(!(!vu(eu(t))&&!vu(Qi(e)))&&!!vu(Xu(t)))))};var Hv=function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var r=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)};var Uv=function(e,t){return e.hasAttribute("role")||!Eo(t,"article, aside, main, nav, section")},Gv=["article","aside","main","nav","section"].join(",");var Wv=function(e){return!Ig(e)&&!Gi(e)};var Yv=function(e){var t=vu(e.innerText),r=e.getAttribute("role");return(!r||"link"===r)&&(!!t&&(!!Zo(e)&&Xl(e)))};var Kv=function(e,t){var r=Vu(t);return!!r&&!!uu.ariaRoles[r].childrenPresentational};var Xv=function(e){return!!e.currentSrc&&(!e.hasAttribute("paused")&&!e.hasAttribute("muted"))};var Zv=function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()};var Jv=function(e,t){var r=cu(t);return!(r&&!["none","presentation"].includes(r))||!(!(ru[r]||{}).accessibleNameRequired&&!Gi(t))};var Qv=function(e,t){var r=Iu(t).namingMethods;return(!r||0===r.length)&&(("combobox"!==cu(t)||!sm(t,'input:not([type="hidden"])').length)&&!th(t,{popupRoles:["listbox"]}))};var eb=function(e,t){var r=parseInt(t.attr("tabindex"),10);return isNaN(r)||r>=0};var tb=function(e,t){return!t.attr("role")};var rb=function(e,t){return"html"!==t.props.nodeName};function nb(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),0===r.getClientRects().length}var ab=function(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim();return!(0===r.length||(r.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter((function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()})).length};var ob=function(e,t){return null!==Pu(t,{chromiumRoles:!0})};var ib=function(e){return gp(e)&&Ko(e)};var ub=[function(e,t){return lb(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!jv(e,t)},function(e,t){return Gi(t)},function(e,t){return Wi(t)||!sb(t)},function(e){return!Xl(e,{noLengthCompare:!0})}];function lb(e){return"widget"===Gl(e)}var sb=wn((function e(t){return!(null==t||!t.parent)&&(!(!lb(t.parent)||!Wi(t.parent))||e(t.parent))}));var cb={"abstractrole-evaluate":sh,"accesskeys-after":ND,"accesskeys-evaluate":_D,"alt-space-value-evaluate":zD,"aria-allowed-attr-evaluate":function(e,t,r){var n=[],a=Vu(r),o=Pm(a);Array.isArray(t[a])&&(o=Xf(t[a].concat(o)));var i,u=re(r.attrNames);try{for(u.s();!(i=u.n()).done;){var l=i.value;lh(l)&&!o.includes(l)&&n.push(l)}}catch(e){u.e(e)}finally{u.f()}return!n.length||(this.data(n.map((function(e){return e+'="'+r.attr(e)+'"'}))),!(a||Of(r)||Gi(r))&&void 0)},"aria-allowed-attr-matches":bv,"aria-allowed-role-evaluate":ch,"aria-allowed-role-matches":yv,"aria-busy-evaluate":function(e,t,r){return"true"===r.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,r){var n=Vu(r);return!fh[n]||fh[n].call(this,e,t,r)},"aria-conditional-checkbox-attr-evaluate":dh,"aria-conditional-row-attr-evaluate":ph,"aria-errormessage-evaluate":function(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),o=r.attr("aria-invalid");return!r.hasAttr("aria-invalid")||"false"===o||(-1!==t.indexOf(n)||!a||(this.data(Ip(n)),function(e){if(""===e.trim())return uu.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&Zi(r,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:Ip(e)})}return t?Yu(t)?"alert"===t.getAttribute("role")||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||Ip(r.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:Ip(e)}),!1):void 0}.call(this,n)))},"aria-has-attr-matches":Fv,"aria-hidden-body-evaluate":mh,"aria-hidden-focus-matches":Ev,"aria-label-evaluate":rv,"aria-labelledby-evaluate":nv,"aria-level-evaluate":hh,"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=r.props.nodeName,o=Vu(r,{chromium:!0}),i=function(e,t,r){var n=uu.ariaRoles[e];if(n)return n.prohibitedAttrs||[];if(e||r.includes(t))return[];return["aria-label","aria-labelledby"]}(o,a,n).filter((function(e){return!!r.attrNames.includes(e)&&""!==vu(r.attr(e))}));if(0===i.length)return!1;var u=r.hasAttr("role")?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var l=cl(r,{subtreeDescendant:!0});return""===vu(l)||void 0},"aria-required-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=cu(r),a=r.attrNames,o=ah(n);if(Array.isArray(t[n])&&(o=Xf(t[n],o)),!n||!a.length||!o.length)return!0;if(function(e,t){return"separator"===t&&!Gi(e)}(r,n)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(r,n))return!0;var i=Iu(r),u=o.filter((function(e){return!r.attr(e)&&!function(e,t){var r;return void 0!==(null===(r=e.implicitAttrs)||void 0===r?void 0:r[t])}(i,e)}));return!u.length||(this.data(u),!1)},"aria-required-children-evaluate":function(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=cu(r,{dpub:!0}),o=ih(a);if(null===o)return!0;var i=function(e,t){var r,n=[],a=Gu(e),o=function(){if(3===r.props.nodeType&&n.push({vNode:r,role:null}),1!==r.props.nodeType||!Yu(r))return"continue";var e=Vu(r,{noPresentational:!0}),o=function(e){return pu().find((function(t){return e.hasAttr(t)}))}(r),i=!!o||Gi(r);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some((function(t){return t===e})))a.push.apply(a,G(r.children));else if(e||i){var u=o||"tabindex";n.push({role:e,attr:u,vNode:r})}};for(;r=a.shift();)o();return n}(r,o),u=i.filter((function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)}));return u.length?(this.relatedNodes(u.map((function(e){return e.vNode}))),this.data({messageKey:"unallowed",values:u.map((function(e){return function(e,t){var r=e.props,n=r.nodeName;if(3===r.nodeType)return"#text";var a=cu(e,{dpub:!0});if(a)return"[role=".concat(a,"]");if(t)return n+"[".concat(t,"]");return n}(e.vNode,e.attr)})).filter((function(e,t,r){return r.indexOf(e)===t})).join(", ")}),!1):!!function(e,t){return t.some((function(t){var r=t.role;return r&&e.includes(r)}))}(o,i)||(this.data(o),!(!n.includes(a)||i.some(gh))&&void 0)},"aria-required-children-matches":Cv,"aria-required-parent-evaluate":bh,"aria-required-parent-matches":xv,"aria-roledescription-evaluate":yh,"aria-unsupported-attr-evaluate":Fh,"aria-valid-attr-evaluate":wh,"aria-valid-attr-value-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],l={"aria-controls":function(){return"false"!==r.attr("aria-expanded")&&"false"!==r.attr("aria-selected")},"aria-current":function(e){e||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==r.attr("aria-expanded")},"aria-describedby":function(e){e||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return r.attrNames.forEach((function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var s,c=r.attr(e);try{s=uh(r,e)}catch(t){return n="".concat(e,'="').concat(c,'"'),void(a="idrefs")}l[e]&&!l[e](s)||s||(""!==c||function(e){var t;return"string"===(null===(t=uu.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(n=e,a="empty"))}})),o.length?(this.data(o),!1):!n||void this.data({messageKey:a,needsReview:n})},"attr-non-space-content-evaluate":wD,"autocomplete-appropriate-evaluate":yD,"autocomplete-matches":Av,"autocomplete-valid-evaluate":FD,"avoid-inline-spacing-evaluate":av,"braille-label-equivalent-evaluate":function(e,t,r){var n;if(!(null!==(n=r.attr("aria-braillelabel"))&&void 0!==n?n:"").trim())return!0;try{return""!==vu(yl(r))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,r){var n,a=null!==(n=r.attr("aria-brailleroledescription"))&&void 0!==n?n:"";if(""===vu(a))return!0;var o=r.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==vu(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":Nv,"caption-evaluate":sg,"caption-faked-evaluate":dv,"color-contrast-evaluate":function(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,l=t.boldTextPt,s=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,p=t.pseudoSizeThreshold;if(!Zo(e))return this.data({messageKey:"hidden"}),!0;var f=Xu(r,!1,!0);if(n&&function(e){var t={nonBmp:!0},r=vl(e,t),n=""===vu(wl(e,t));return r&&n}(f))this.data({messageKey:"nonBmp"});else{var m=i.getComputedStyle(e),h=parseFloat(m.getPropertyValue("font-size")),D=m.getPropertyValue("font-weight"),g=parseFloat(D)>=u||"bold"===D,v=Math.ceil(72*h)/96,b=g&&v<l||!g&&v<s?c.normal:c.large,y=b.expected,F=b.minThreshold,w=b.maxThreshold,E=function(e,t){var r=t.pseudoSizeThreshold,n=void 0===r?.25:r,a=t.ignorePseudo,o=void 0!==a&&a;if(o)return;var i=e.boundingClientRect,u=i.width*i.height*n;do{if(pD(e.actualNode,":before")+pD(e.actualNode,":after")>u)return e}while(e=e.parent)}(r,{ignorePseudo:o,pseudoSizeThreshold:p});if(E)return this.data({fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:g?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:y+":1"}),void this.relatedNodes(E.actualNode);var C=Jh(e,{minRatio:.001,maxRatio:d});if(null!==C){var x=[],A=oD(e,x,d),k=sD(e,!1,A,t),N=null,_=null,T=null;if(0===C.length)N=lD(A,k);else if(k&&A){T=[].concat(G(C),[A]).reduce(Vh);var B=lD(A,k),R=lD(A,T),S=lD(T,k);(N=Math.max(B,R,S))!==B&&(_=R>S?"shadowOnBgColor":"fgOnShadowColor")}var O=N>y;if("number"==typeof F&&("number"!=typeof N||N<F)||"number"==typeof w&&("number"!=typeof N||N>w))return this.data({contrastRatio:N}),!0;var M,I=Math.floor(100*N)/100;null===A?M=rs.get("bgColor"):O||(M=_);var P=1===I,L=1===f.length;return P?M=rs.set("bgColor","equalRatio"):O||!L||a||(M="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:A?A.toHexString():void 0,contrastRatio:I,fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:g?"bold":"normal",messageKey:M,expectedContrastRatio:y+":1",shadowColor:T?T.toHexString():void 0}),null===k||null===A||P||L&&!a&&!O?(M=null,rs.clear(),void this.relatedNodes(x)):(O||this.relatedNodes(x),O)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":_v,"css-orientation-lock-evaluate":fg,"data-table-large-matches":Bv,"data-table-matches":Rv,"deprecatedrole-evaluate":function(e,t,r){var n=Vu(r,{dpub:!0,fallback:!0}),a=uu.ariaRoles[n];return!(null==a||!a.deprecated)&&(this.data(n),!0)},"dlitem-evaluate":ag,"doc-has-title-evaluate":ov,"duplicate-id-active-matches":Sv,"duplicate-id-after":ev,"duplicate-id-aria-matches":Ov,"duplicate-id-evaluate":tv,"duplicate-id-misc-matches":Mv,"duplicate-img-label-evaluate":VD,"exists-evaluate":iv,"explicit-evaluate":$D,"fallbackrole-evaluate":Eh,"focusable-content-evaluate":TD,"focusable-disabled-evaluate":BD,"focusable-element-evaluate":RD,"focusable-modal-open-evaluate":SD,"focusable-no-name-evaluate":OD,"focusable-not-tabbable-evaluate":MD,"frame-focusable-content-evaluate":function(e,t,r){if(r.children)try{return!r.children.some((function(e){return ID(e)}))}catch(e){return}},"frame-focusable-content-matches":Iv,"frame-tested-after":cg,"frame-tested-evaluate":dg,"frame-title-has-text-matches":Pv,"has-alt-evaluate":uv,"has-descendant-after":ED,"has-descendant-evaluate":CD,"has-global-aria-attribute-evaluate":Ch,"has-implicit-chromium-role-matches":Lv,"has-lang-evaluate":tg,"has-text-content-evaluate":function(e,t,r){try{return""!==vu(cl(r))}catch(e){return}},"has-widget-role-evaluate":xh,"heading-matches":function(e,t){return"heading"===Vu(t)},"heading-order-after":function(e){var t=function(e){e=G(e),e.sort((function(e,t){var r=e.node,n=t.node;return r.ancestry.length-n.ancestry.length}));var t=e.reduce(yg,[]);return t.filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var r,n,a,o,i=Fg(t,e.node.ancestry),u=null!==(r=null===(n=t[i])||void 0===n?void 0:n.level)&&void 0!==r?r:-1,l=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;if(0===i)return!0;if(-1===u)return;return u-l<=1}(e,t)})),e},"heading-order-evaluate":Cg,"help-same-as-label-evaluate":HD,"hidden-content-evaluate":vv,"hidden-explicit-label-evaluate":UD,"html-namespace-matches":qv,"html5-scope-evaluate":pv,"identical-links-same-purpose-after":Ag,"identical-links-same-purpose-evaluate":qg,"identical-links-same-purpose-matches":zv,"implicit-evaluate":GD,"inline-style-property-evaluate":function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,o=t.maxValue,u=t.normalValue,l=void 0===u?0:u,s=t.noImportant,c=t.multiLineOnly;if(!s&&"important"!==e.style.getPropertyPriority(r)||c&&!Jl(e))return!0;var d={};"number"==typeof a&&(d.minValue=a),"number"==typeof o&&(d.maxValue=o);var p=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(p))return this.data(Y({value:p},d)),!0;var f=function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,o=i.getComputedStyle(e),u=o.getPropertyValue(r);if("normal"===u)return a;var l=parseFloat(u);if(n)return l;var s=parseFloat(o.getPropertyValue("font-size")),c=Math.round(l/s*100)/100;if(isNaN(c))return u;return c}(e,{absoluteValues:n,cssProperty:r,normalValue:l});return this.data(Y({value:f},d)),"number"==typeof f?("number"!=typeof a||f>=a)&&("number"!=typeof o||f<=o):void 0},"inserted-into-focus-order-matches":Vv,"internal-link-present-evaluate":zg,"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var o,i=ig(r.children);i.length;){var u,l=i.shift(),s=l.vChild,c=l.nested;if(!t.divGroups||c||("div"!==(o=s).props.nodeName||null!==cu(o))){var d=og(s,c,t);d&&(a.includes(d)||a.push(d),1===(null==s||null===(u=s.actualNode)||void 0===u?void 0:u.nodeType)&&n.push(s.actualNode))}else{if(!s.children)return;var p=ig(s.children,!0);i.push.apply(i,G(p))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":Ah,"is-element-focusable-evaluate":kh,"is-initiator-matches":kv,"is-on-screen-evaluate":lv,"is-visible-matches":function(e){return Zo(e)},"is-visible-on-screen-matches":function(e,t){return Zo(t)},"label-content-name-mismatch-evaluate":KD,"label-content-name-mismatch-matches":$v,"label-matches":Hv,"landmark-has-body-context-matches":Uv,"landmark-is-top-level-evaluate":PD,"landmark-is-unique-after":JD,"landmark-is-unique-evaluate":QD,"landmark-unique-matches":function(e,t){return function(e){var t=Um("landmark"),r=Vu(e);if(!r)return!1;var n=e.props.nodeName;if("header"===n||"footer"===n)return!ha(e,Gv);if("section"===n||"form"===n){return!!yl(e)}return t.indexOf(r)>=0||"region"===r}(t)&&Yu(t)},"layout-table-matches":Wv,"link-in-text-block-evaluate":gD,"link-in-text-block-matches":Yv,"link-in-text-block-style-evaluate":function(e){if(bD(e))return!1;for(var t=Uo(e);t&&1===t.nodeType&&!bD(t);)t=Uo(t);if(t){if(this.relatedNodes([t]),Ih(e,t))return!0;if(!function(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t];if("none"!==i.getComputedStyle(e,":".concat(n)).getPropertyValue("content"))return!0}return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,o=cu(n);return!!["presentation","none","list"].includes(o)||(o&&su(o)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":xD,"meta-refresh-evaluate":function(e,t,r){var n=t||{},a=n.minDelay,o=n.maxDelay,i=K((r.attr("content")||"").trim().split(Vg),1)[0];if(!i.match($g))return!0;var u=parseFloat(i);return this.data({redirectDelay:u}),"number"==typeof a&&u<=t.minDelay||"number"==typeof o&&u>t.maxDelay},"meta-viewport-scale-evaluate":mg,"multiple-label-evaluate":XD,"nested-interactive-matches":Kv,"no-autoplay-audio-evaluate":pg,"no-autoplay-audio-matches":Xv,"no-empty-role-matches":Zv,"no-explicit-name-required-matches":Jv,"no-focusable-content-evaluate":function(e,t,r){if(r.children)try{var n=LD(r);if(!n.length)return!0;var a=n.filter(jD);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":Nh,"no-naming-method-matches":Qv,"no-negative-tabindex-matches":eb,"no-role-matches":tb,"non-empty-if-present-evaluate":sv,"not-html-matches":rb,"object-is-loaded-matches":function(e,t){return[Jv,nb].every((function(r){return r(e,t)}))},"only-dlitems-evaluate":function(e,t,r){var n=["definition","term","list"],a=r.children.reduce((function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===Vu(r)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&Yu(r)){var o=cu(r);("DT"!==a&&"DD"!==a||o)&&(n.includes(o)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e}),{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":ug,"p-as-heading-evaluate":Wg,"p-as-heading-matches":ab,"page-no-duplicate-after":AD,"page-no-duplicate-evaluate":kD,"presentation-role-conflict-matches":ob,"presentational-role-evaluate":function(e,t,r){var n=cu(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var a=Vu(r);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(n))return!1;var o,i=pu().some((function(e){return r.hasAttr(e)})),u=Gi(r);return o=i&&!u?"globalAria":!i&&u?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":Yg,"region-evaluate":function(e,t,r){return this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)}),!Wn.get("regionlessNodes",(function(){return function(e){var t=Xg(c._tree[0],e).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==l.body;)e=e.parent;return e})).filter((function(e,t,r){return r.indexOf(e)===t}));return t}(t)})).includes(r)},"same-caption-summary-evaluate":fv,"scope-value-evaluate":hv,"scrollable-region-focusable-matches":function(e,t){return void 0!==Af(e,13)&&!1===th(t)&&sm(t,"*").some((function(e){return Ll(e,!0,!0)}))},"skip-link-evaluate":Zg,"skip-link-matches":ib,"structured-dlitems-evaluate":lg,"svg-namespace-matches":jv,"svg-non-empty-title-evaluate":cv,"tabindex-evaluate":qD,"table-or-grid-role-matches":function(e,t){var r=Vu(t);return["treegrid","grid","table"].includes(r)},"target-offset-evaluate":function(e,t,r){var n,a,o=(null==t?void 0:t.minOffset)||24,i=[],u=o,l=re(ki(r,o));try{for(l.s();!(n=l.n()).done;){var s=n.value;if("widget"===Gl(s)&&Gi(s)){var c=2*(a=ii(r,s,o/2),Math.round(10*a)/10);c+.05>=o||(u=Math.min(u,c),i.push(s))}}}catch(e){l.e(e)}finally{l.f()}return 0===i.length?(this.data({closestOffset:u,minOffset:o}),!0):(this.relatedNodes(i.map((function(e){return e.actualNode}))),i.some(Wi)?(this.data({closestOffset:u,minOffset:o}),!Wi(r)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:u,minOffset:o}))},"target-size-evaluate":function(e,t,r){var n=(null==t?void 0:t.minSize)||24,a=r.boundingClientRect,o=oi.bind(null,n),i=ki(r),u=function(e,t){return t.filter((function(t){return!hg(t,e)&&vg(e,t)}))}(r,i),l=function(e,t){var r,n=[],a=[],o=re(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;!vg(e,i)&&si(e,i)&&"none"!==Dg(i)&&(hg(e,i)?n.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:n,partialObscuringElms:a}}(r,i),s=l.fullyObscuringElms,c=l.partialObscuringElms;if(s.length&&!u.length)return this.relatedNodes(bg(s)),this.data({messageKey:"obscured"}),!0;var d=!Wi(r)&&void 0;if(!o(a)&&!u.length)return this.data(Y({minSize:n},gg(a))),d;var p=c.filter((function(e){return"widget"===Gl(e)&&Gi(e)})),f=function(e,t){var r=e.boundingClientRect;if(0===t.length)return null;var n=t.map((function(e){return e.boundingClientRect})),a=ci(r,n);return function(e,t){return e.reduce((function(e,r){var n=oi(t,e);return n!==oi(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r}))}(a)}(r,p);if(u.length&&(s.length||!o(f||a)))return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(bg(u));if(0!==p.length&&!o(f)){var m=p.every(Wi),h="partiallyObscured".concat(m?"":"NonTabbable");return this.data(Y({messageKey:h,minSize:n},gg(f))),this.relatedNodes(bg(p)),m?d:void 0}return this.data(Y({minSize:n},gg(f||a))),this.relatedNodes(bg(p)),!0},"td-has-header-evaluate":Dv,"td-headers-attr-evaluate":function(e){for(var t=[],r=[],n=[],a=0;a<e.rows.length;a++)for(var o=e.rows[a],i=0;i<o.cells.length;i++)t.push(o.cells[i]);var u=t.filter((function(e){return e.getAttribute("id")})).map((function(e){return e.getAttribute("id")}));return t.forEach((function(e){var t=!1,a=!1;if(e.hasAttribute("headers")&&Yu(e)){var o=e.getAttribute("headers").trim();if(!o)return r.push(e);var i=Ip(o);0!==i.length&&(e.getAttribute("id")&&(t=-1!==i.indexOf(e.getAttribute("id").trim())),a=i.some((function(e){return!u.includes(e)})),(t||a)&&n.push(e))}})),n.length>0?(this.relatedNodes(n),!1):!r.length||void this.relatedNodes(r)},"th-has-data-cells-evaluate":gv,"title-only-evaluate":ZD,"unique-frame-title-after":Jg,"unique-frame-title-evaluate":Qg,"unsupportedrole-evaluate":_h,"valid-lang-evaluate":rg,"valid-scrollable-semantics-evaluate":Rh,"widget-not-inline-matches":function(e,t){return ub.every((function(r){return r(e,t)}))},"window-is-top-matches":function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top},"xml-lang-mismatch-evaluate":ng,"xml-lang-mismatch-matches":function(e){var t=Gp(e.getAttribute("lang")),r=Gp(e.getAttribute("xml:lang"));return Cm(t)&&Cm(r)}},db=cb;var pb=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function fb(e){if("string"==typeof e){if(db[e])return db[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function mb(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==s(e))&&(e={value:e}),e}function hb(e){e&&(this.id=e.id,this.configure(e))}hb.prototype.enabled=!0,hb.prototype.run=function(e,t,r,n,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,l=new pb(this),s=Jn(l,t,n,a);try{u=this.evaluate.call(s,e.actualNode,i,e,r)}catch(t){return e&&e.actualNode&&(t.errorNode=uo.toSpec(e)),void a(t)}s.isAsync||(l.result=u,n(l))}else n(null)},hb.prototype.runSync=function(e,t,r){var n=(t=t||{}).enabled;if(!(void 0===n?this.enabled:n))return null;var a,o=this.getOptions(t.options),i=new pb(this),u=Jn(i,t);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,o,e,r)}catch(t){throw e&&e.actualNode&&(t.errorNode=uo.toSpec(e)),t}return i.result=a,i},hb.prototype.configure=function(e){var t=this;e.evaluate&&!db[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=mb(e.options):this.options=e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(r){return t[r]=fb(e[r])}))},hb.prototype.getOptions=function(e){return this._internalCheck?ho(this.options,mb(e||{})):e||this.options};var Db=hb;var gb=function(e){this.id=e.id,this.result=Yr.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function vb(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(pn(Yr.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=fb(e.matches))}function bb(e){if(e.length){var t=!1,r={};return e.forEach((function(e){var n=e.results.filter((function(e){return e}));r[e.type]=n,n.length&&(t=!0)})),t?r:null}}vb.prototype.matches=function(){return!0},vb.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&Yf.mark(r);var i=mm(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&Yf.mark(a),i=i.filter((function(e){return Yu(e)})),t.performanceTimer&&(Yf.mark(o),Yf.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(Yf.mark(n),Yf.measure("rule_"+this.id+"#gather",r,n)),i},vb.prototype.runChecks=function(e,t,r,n,a,o){var i=this,u=wa();this[e].forEach((function(e){var a=i._audit.checks[e.id||e],o=rf(a,i.id,r);u.defer((function(e,r){a.run(t,o,n,e,r)}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(o)},vb.prototype.runChecksSync=function(e,t,r,n){var a=this,o=[];return this[e].forEach((function(e){var i=a._audit.checks[e.id||e],u=rf(i,a.id,r);o.push(i.runSync(t,u,n))})),{type:e,results:o=o.filter((function(e){return e}))}},vb.prototype.run=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r.performanceTimer&&this._trackPerformance();var o,i=wa(),u=new gb(this);try{o=this.gatherAndMatchNodes(e,r)}catch(e){return void a(new d({cause:e,ruleId:this.id}))}r.performanceTimer&&this._logGatherPerformance(o),o.forEach((function(n){i.defer((function(a,o){var i=wa();["any","all","none"].forEach((function(a){i.defer((function(o,i){t.runChecks(a,n,r,e,o,i)}))})),i.then((function(e){var r=bb(e);r&&(r.node=new Zn(n),u.nodes.push(r),t.reviewOnFail&&(["any","all"].forEach((function(e){r[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),r.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),a()})).catch((function(e){return o(e)}))}))})),i.defer((function(e){return setTimeout(e,0)})),r.performanceTimer&&this._logRulePerformance(),i.then((function(){return n(u)})).catch((function(e){return a(e)}))},vb.prototype.runSync=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.performanceTimer&&this._trackPerformance();var n,a=new gb(this);try{n=this.gatherAndMatchNodes(e,r)}catch(e){throw new d({cause:e,ruleId:this.id})}return r.performanceTimer&&this._logGatherPerformance(n),n.forEach((function(n){var o=[];["any","all","none"].forEach((function(a){o.push(t.runChecksSync(a,n,r,e))}));var i=bb(o);i&&(i.node=n.actualNode?new Zn(n):null,a.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach((function(e){i[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),i.none.forEach((function(e){!0===e.result&&(e.result=void 0)}))))})),r.performanceTimer&&this._logRulePerformance(),a},vb.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},vb.prototype._logGatherPerformance=function(e){Kr("gather (",e.length,"):",Yf.timeElapsed()+"ms"),Yf.mark(this._markChecksStart)},vb.prototype._logRulePerformance=function(){Yf.mark(this._markChecksEnd),Yf.mark(this._markEnd),Yf.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),Yf.measure("rule_"+this.id,this._markStart,this._markEnd)},vb.prototype.gatherAndMatchNodes=function(e,t){var r=this,n="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&Yf.mark(n),o=o.filter((function(t){return r.matches(t.actualNode,t,e)})),t.performanceTimer&&(Yf.mark(a),Yf.measure("rule_"+this.id+"#matches",n,a)),o},vb.prototype.after=function(e,t){var r,n=this,a=lo(r=this).map((function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null})).filter(Boolean),o=this.id;return a.forEach((function(r){var a,i,u,l=(a=e.nodes,i=r.id,u=[],a.forEach((function(e){lo(e).forEach((function(t){t.id===i&&(t.node=e.node,u.push(t))}))})),u),s=rf(r,o,t),c=r.after(l,s.options);n.reviewOnFail&&c.forEach((function(e){var t=(n.any.includes(e.id)||n.all.includes(e.id))&&!1===e.result,r=n.none.includes(e.id)&&!0===e.result;(t||r)&&(e.result=void 0)})),l.forEach((function(e){delete e.node,-1===c.indexOf(e)&&(e.filtered=!0)}))})),e.nodes=function(e){var t=["any","all","none"],r=e.nodes.filter((function(e){var r=0;return t.forEach((function(t){e[t]=e[t].filter((function(e){return!0!==e.filtered})),r+=e[t].length})),r>0}));return e.pageLevel&&r.length&&(r=[r.reduce((function(e,r){if(e)return t.forEach((function(t){e[t].push.apply(e[t],r[t])})),e}))]),r}(e),e},vb.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=fb(e.matches)),e.impact&&(pn(Yr.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var yb=ue($t()),Fb=/\{\{.+?\}\}/g,wb=function(){function e(t){J(this,e),this.lang="en",this.defaultConfig=t,this.standards=uu,this._init(),this._defaultLocale=null}return ee(e,[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),r=0;r<t.length;r++){var n=t[r],a=this.data.checks[n].messages,o=a.pass,i=a.fail,u=a.incomplete;e.checks[n]={pass:o,fail:i,incomplete:u}}for(var l=Object.keys(this.data.rules),s=0;s<l.length;s++){var c=l[s],d=this.data.rules[c],p=d.description,f=d.help;e.rules[c]={description:p,help:f}}for(var m=Object.keys(this.data.failureSummaries),h=0;h<m.length;h++){var D=m[h],g=this.data.failureSummaries[D].failureMessage;e.failureSummaries[D]={failureMessage:g}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.checks[n])throw new Error('Locale provided for unknown check: "'.concat(n,'"'));this.data.checks[n]=Ab(this.data.checks[n],e[n])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.rules[n])throw new Error('Locale provided for unknown rule: "'.concat(n,'"'));this.data.rules[n]=kb(this.data.rules[n],e[n])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.failureSummaries[n])throw new Error('Locale provided for unknown failureMessage: "'.concat(n,'"'));this.data.failureSummaries[n]=Nb(this.data.failureSummaries[n],e[n])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=_b(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=Cb();this.allowedOrigins=[];var r,n=re(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===Yr.allOrigins)return void(this.allowedOrigins=["*"]);a!==Yr.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){n.e(e)}finally{n.f()}}},{key:"_init",value:function(){var e=function(e){var t;e?(t=Qn(e)).commons=e.commons:t={};if(t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var r=Cb();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=Y({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,xb(e.rules,this,"addRule"),xb(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new vb(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===s(t)&&(this.data.checks[e.id]=t,"object"===s(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new Db(e)}},{key:"run",value:function(e,t,r,n){this.normalizeOptions(t),Zn.setRunOptions(t),c._selectCache=[];var a=function(e,t,r){var n={now:[],later:[]},a=e.reduce((function(e,n){return dm(n,t,r)?n.preload?(e.later.push(n),e):(e.now.push(n),e):e}),n);return a}(this.rules,e,t),o=a.now,i=a.later,u=wa();o.forEach((function(r){u.defer(Tb(r,e,t))}));var l=wa();i.length&&l.defer((function(e){am(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)}))}));var s=wa();s.defer(u),s.defer(l),s.then((function(a){var o=a.pop();if(o&&o.length){var u=o[0];u&&(e=Y({},e,u))}var l=a[0];if(!i.length)return c._selectCache=void 0,void r(l.filter((function(e){return!!e})));var s=wa();i.forEach((function(r){var n=Tb(r,e,t);s.defer(n)})),s.then((function(e){c._selectCache=void 0,r(l.concat(e).filter((function(e){return!!e})))})).catch(n)})).catch(n)}},{key:"after",value:function(e,t){var r=this.rules;return e.map((function(e){var n=so(r,"id",e.id);if(!n)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");return n.after(e,t)}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],r=[];if(this.rules.forEach((function(e){r.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),["object","string"].includes(s(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var n=e.runOnly.find((function(e){return t.includes(e)})),a=e.runOnly.find((function(e){return r.includes(e)}));if(n&&a)throw new Error("runOnly cannot be both rules and tags");e.runOnly=a?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var o=e.runOnly;if(o.value&&!o.values&&(o.values=o.value,delete o.value),!Array.isArray(o.values)||0===o.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(o.type))o.type="rule",o.values.forEach((function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(o.type))throw new Error("Unknown runOnly type '".concat(o.type,"'"));o.type="tag";var i=o.values.filter((function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)}));0!==i.length&&c.log("Could not find tags `"+i.join("`, `")+"`")}}return"object"===s(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(n){e.data.rules[n.id]||(e.data.rules[n.id]={});var a=e.data.rules[n.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===Bb(t,n.id,r))&&(a.helpUrl=Bb(e,n.id,r))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),e}(),Eb=wb;function Cb(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function xb(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n])}var Ab=function(e,t){var r=t.pass,n=t.fail;return"string"==typeof r&&Fb.test(r)&&(r=yb.default.compile(r)),"string"==typeof n&&Fb.test(n)&&(n=yb.default.compile(n)),Y({},e,{messages:{pass:r||e.messages.pass,fail:n||e.messages.fail,incomplete:"object"===s(e.messages.incomplete)?Y({},e.messages.incomplete,t.incomplete):t.incomplete}})},kb=function(e,t){var r=t.help,n=t.description;return"string"==typeof r&&Fb.test(r)&&(r=yb.default.compile(r)),"string"==typeof n&&Fb.test(n)&&(n=yb.default.compile(n)),Y({},e,{help:r||e.help,description:n||e.description})},Nb=function(e,t){var r=t.failureMessage;return"string"==typeof r&&Fb.test(r)&&(r=yb.default.compile(r)),Y({},e,{failureMessage:r||e.failureMessage})},_b=function(e,t){return"string"==typeof t&&Fb.test(t)&&(t=yb.default.compile(t)),t||e};function Tb(e,t,r){return r.performanceTimer&&Yf.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,(function(e){n(e)}),(function(t){if(r.debug)a(t);else{var o=Object.assign(new gb(e),{result:Yr.CANTTELL,description:"An error occured while running this rule",message:t.message,stack:t.stack,error:t,errorNode:t.errorNode});n(o)}}))}}function Bb(e,t,r){var n=e.brand,a=e.application,o=e.lang;return Yr.helpUrlBase+n+"/"+(r||c.version.substring(0,c.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(o&&"en"!==o?"&lang="+encodeURIComponent(o):"")}function Rb(e){var t=i&&"Node"in i&&"NodeList"in i,r=!!l;if(!t||!r){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(Wn.set("globalDocumentSet",!0),l=e.ownerDocument),t||(Wn.set("globalWindowSet",!0),i=l.defaultView)}}var Sb=function(){Wn.get("globalDocumentSet")&&(Wn.set("globalDocumentSet",!1),l=null),Wn.get("globalWindowSet")&&(Wn.set("globalWindowSet",!1),i=null),c._memoizedFns.forEach((function(e){return e.clear()})),Wn.clear(),c._tree=void 0,c._selectorData=void 0,c._selectCache=void 0};function Ob(e,t,r,n){try{e=new wf(e),c._tree=e.flatTree,c._selectorData=On(e.flatTree)}catch(e){return Sb(),n(e)}var a=wa(),o=c._audit;t.performanceTimer&&Yf.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(r,n){fo(e,t,"rules",null,r,n)})),a.defer((function(r,n){o.run(e,t,r,n)})),a.then((function(a){try{t.performanceTimer&&Yf.auditEnd();var i=po(a.map((function(e){return{results:e}})));e.initiator&&((i=o.after(i,t)).forEach(um),i=i.map(un));try{r(i,Sb)}catch(e){Sb(),Kr(e)}}catch(e){Sb(),n(e)}})).catch((function(e){Sb(),n(e)}))}function Mb(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){c._audit.registerCommand(e)}))}i.top!==i&&(eo.subscribe("axe.start",(function(e,t,r){var n=r,a=function(e){e instanceof Error==0&&(e=new Error(e)),r(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[l]);var i=e&&e.options||{};switch(e.command){case"rules":return Ob(o,i,(function(e,t){e=uo.mapRawResults(e),n(e),t()}),a);case"cleanup-plugin":return Tm(n,a);default:if(c._audit&&c._audit.commands&&c._audit.commands[e.command])return c._audit.commands[e.command](e,r)}})),eo.subscribe("axe.ping",(function(e,t,r){r({axe:!0})}))),Mb.prototype.run=function(){return this._run.apply(this,arguments)},Mb.prototype.collect=function(){return this._collect.apply(this,arguments)},Mb.prototype.cleanup=function(e){var t=c.utils.queue(),r=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){r._registry[e].cleanup(t)}))})),t.then(e)},Mb.prototype.add=function(e){this._registry[e.id]=e};var Ib=function(e){c.plugins[e.id]=new Mb(e)};var Pb=function(){var e=c._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(iu).forEach((function(e){iu[e]=ou[e]}))};function Lb(e){var t,r,n,a,o=K(e,3),i=o[0],u=o[1],d=o[2],p=new TypeError("axe.run arguments are invalid");if(!df(a=i)&&!pf(a)){if(void 0!==d)throw p;d=u,u=i,i=l}if("object"!==s(u)){if(void 0!==d)throw p;d=u,u={}}if("function"!=typeof d&&void 0!==d)throw p;return(u=Qn(u)).reporter=null!==(t=null!==(r=u.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",{context:i,options:u,callback:d}}var jb=function(){};function qb(e){var t=e.frames,r=e.frameSpec;return r?t.map((function(e){return uo.mergeSpecs(e,r)})):t}var zb=function(e){if(c._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===s(e.documentElement)&&"object"===s(e.defaultView)&&(e=e.documentElement),Rb(e),c._tree=$p(e),c._selectorData=On(c._tree),c._tree[0]},Vb=function(e,t,r){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,A);r(Y({},nf(a),{toolOptions:o},Xp(e,t)))},$b=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,k);t.resultTypes=["violations"];var i=Xp(e,t).violations;r(Y({},nf(a),{toolOptions:o,violations:i}))},Hb=function(e,t,r){if("function"==typeof t&&(r=t,t={}),!e||!Array.isArray(e))return r(e);r(e.map((function(e){for(var t=Y({},e),r=0,n=["passes","violations","incomplete","inapplicable"];r<n.length;r++){var a=n[r];t[a]=uo.mapRawNodeResults(t[a])}return t})))},Ub=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,N);Hb(e,o,(function(e){var t=nf(a);r({raw:e,env:t})}))},Gb=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,_),i=Xp(e,t),u=function(e){e.nodes.forEach((function(e){e.failureSummary=Wp(e)}))};i.incomplete.forEach(u),i.violations.forEach(u),r(Y({},nf(a),{toolOptions:o},i))},Wb=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=U(n,T),i=Xp(e,t);r(Y({},nf(a),{toolOptions:o},i))},Yb={base:{Audit:Eb,CheckResult:pb,Check:Db,Context:wf,RuleResult:gb,Rule:vb,metadataFunctionMap:db},public:{reporters:Bm},helpers:{failureSummary:Wp,incompleteFallbackMessage:Yp,processAggregate:Xp},utils:{setDefaultFrameMessenger:Ja,cacheNodeSelectors:Vp,getNodesMatchingExpression:Lp,convertSelector:pa},commons:{dom:{nativelyHidden:To,displayHidden:Bo,visibilityHidden:Ro,contentVisibiltyHidden:So,ariaHidden:Oo,opacityHidden:Mo,scrollHidden:Io,overflowHidden:Po,clipHidden:Lo,areaHidden:jo,detailsHidden:qo}}};c._thisWillBeDeletedDoNotUse=Yb,c.constants=Yr,c.log=Kr,c.AbstractVirtualNode=Zr,c.SerialVirtualNode=Nm,c.VirtualNode=Op,c._cache=Wn,c.imports=as,c.cleanup=Tm,c.configure=Om,c.frameMessenger=function(e){eo.updateMessenger(e)},c.getRules=Mm,c._load=function(e){c._audit=new Eb(e)},c.plugins={},c.registerPlugin=Ib,c.hasReporter=Rm,c.getReporter=Sm,c.addReporter=function(e,t,r){Bm[e]=t,r&&(_m=t)},c.reset=Pb,c._runRules=Ob,c.runVirtualRule=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.reporter=r.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof Zr||(t=new Nm(t));var n=Cf(e);if(!n)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(n=Object.create(n,{excludeHidden:{value:!1}})).runSync(a,r);um(o),un(o);var i=cn([o]);return i.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=Wp(e)}))})),Y({},nf(),i,{toolOptions:r})},c.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];Rb(t[0]);var n=Lb(t),a=n.context,o=n.options,i=n.callback,u=void 0===i?jb:i,l=function(e){var t,r,n;"function"==typeof Promise&&e===jb?t=new Promise((function(e,t){r=t,n=e})):(n=function(t){return e(null,t)},r=function(t){return e(t)});return{thenable:t,reject:r,resolve:n}}(u),s=l.thenable,d=l.resolve,p=l.reject;try{pn(c._audit,"No audit configured"),pn(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"==typeof t&&t!==jb)return void t(e.message);throw e}(e,u)}return c._running=!0,o.performanceTimer&&c.utils.performanceTimer.start(),c._runRules(a,o,(function(e,t){var r=function(e){c._running=!1,t();try{p(e)}catch(e){c.log(e)}};o.performanceTimer&&c.utils.performanceTimer.end();try{!function(e,t,r,n){var a=Sm(t.reporter),o=a(e,t,r,n);void 0!==o&&r(o)}(e,o,(function(e){c._running=!1,t();try{d(e)}catch(e){c.log(e)}}),r)}catch(e){r(e)}}),(function(e){o.performanceTimer&&c.utils.performanceTimer.end(),c._running=!1,u(e),p(e)})),s},c.setup=zb,c.teardown=Sb,c.runPartial=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Lb(t),a=n.options,o=n.context;pn(c._audit,"Axe is not configured. Audit is missing."),pn(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var i=new wf(o,c._tree);return c._tree=i.flatTree,c._selectorData=On(i.flatTree),c._running=!0,a.elementRef=!1,new Promise((function(e,t){c._audit.run(i,a,e,t)})).then((function(e){e=uo.mapRawResults(e);var t,r=i.frames.map((function(e){var t=e.node;return uo.toSpec(t)}));return i.initiator&&(t=nf()),c._running=!1,Sb(),{results:e,frames:r,environmentData:t}})).catch((function(e){return c._running=!1,Sb(),Promise.reject(e)}))},c.finishRun=function(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=Qn(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(r=a.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",function(e){var t,r=[],n=re(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=r.shift();if(a){a.frameSpec=null!=o?o:null;var i=qb(a);r.unshift.apply(r,G(i))}}}catch(e){n.e(e)}finally{n.f()}}(e);var i=po(e);return(i=c._audit.after(i,a)).forEach(um),function(e,t){return new Promise((function(r,n){Sm(t.reporter)(e,t,r,n)}))}(i=i.map(un),Y({environmentData:o},a))},c.commons=kg,c.utils=Jr,c.addReporter("na",Vb),c.addReporter("no-passes",$b),c.addReporter("rawEnv",Ub),c.addReporter("raw",Hb),c.addReporter("v1",Gb),c.addReporter("v2",Wb,!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensures every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensures <area> elements of image maps have alternate text",help:"Active <area> elements must have alternate text"},"aria-allowed-attr":{description:"Ensures an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensures role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensures every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensures ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensures elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensures every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensures aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensures aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensures every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensures every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensures every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensures ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensures elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensures elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensures elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensures all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensures role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensures every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensures every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensures every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensures all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensures attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensures <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensures <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensures buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensures <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensures <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensures each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensures every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensures every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensures every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensures headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensures table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensures elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensures form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensures <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensures <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensures <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensures <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensures the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Informs users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensures every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensures the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensures <img> elements have alternate text or a role of none or presentation",help:"Images must have alternate text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensures input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensures <input type="image"> elements have alternate text',help:"Image buttons must have alternate text"},"label-content-name-mismatch":{description:"Ensures that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensures that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensures every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensures the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensures the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensures the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensures the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensures the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensures the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensures the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensures the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{help:"Ensures landmarks are unique",description:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensures links have discernible text",help:"Links must have discernible text"},list:{description:"Ensures that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensures <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensures <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensures <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensures <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensures <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensures <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensures interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensures <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensures <object> elements have alternate text",help:"<object> elements must have alternate text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Elements marked as presentational should not have global ARIA or tabindex to ensure all screen readers ignore them",help:"Ensure elements marked as presentational are consistently ignored"},region:{description:"Ensures all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensures [role="img"] elements have alternate text',help:'[role="img"] elements must have an alternative text'},"scope-attr-valid":{description:"Ensures the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensures select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensures that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"svg-img-alt":{description:"Ensures <svg> elements with an img, graphics-document or graphics-symbol role have an accessible text",help:"<svg> elements with an img role must have an alternative text"},tabindex:{description:"Ensures tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch target have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other cells in that table",help:"Table cells that use the headers attribute must only refer to cells in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensures lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensures <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"ensure aria-errormessage value `${data.values}` references an existing element",plural:"ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:"Required ARIA children are present",fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"the autocomplete value is on an appropriate element",fail:"the autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted"}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Form element has an explicit <label>",fail:"Form element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Form element has an implicit (wrapped) <label>",fail:"Form element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped} <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item does not have a <ul>, <ol> parent element without a role, or a role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions is available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable"},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overriden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other cells in the table",incomplete:"The headers attribute is empty",fail:"The headers attribute is not exclusively used to refer to other cells in the table"}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"}],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"},"aria-busy"],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html, frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]), html[xml\\:lang]:not([xml\\:lang=""])',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"critical",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice"],all:[],any:["skip-link"],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate"},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this)}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,__webpack_require__),a.loaded=!0,a.exports}__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";__webpack_require__(609);const e={id:"element_with_underline",evaluate(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("text-decoration"),n=t.getPropertyValue("text-decoration-line");return r.includes("underline")||n.includes("underline")}},t={id:"element_is_u_tag",evaluate:e=>e.tagName&&"u"===e.tagName.toLowerCase()},r={id:"paragraph_not_empty",evaluate:e=>"p"!==e.tagName.toLowerCase()||(!(!e.getAttribute("aria-hidden")||"true"!==e.getAttribute("aria-hidden").toLowerCase())||(!(!e.childNodes.length||!Array.from(e.childNodes).some((e=>3!==e.nodeType)))||""!==e.textContent.trim()))},n=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return 0;const t=parseFloat(window.getComputedStyle(e).fontSize);return"number"==typeof t?t:0},a=e=>(e||"").trim().toLowerCase().replace(/\s+/g," ");class o extends Map{set(e,t){return super.set("string"==typeof e?e.toLowerCase():e,t)}get(e){return super.get("string"==typeof e?e.toLowerCase():e)}has(e){return super.has("string"==typeof e?e.toLowerCase():e)}delete(e){return super.delete("string"==typeof e?e.toLowerCase():e)}}const i={id:"paragraph_styled_as_header",evaluate:e=>{const t=n(e);if(!e.textContent.trim())return!1;if(e.textContent.trim().length>50||t<16)return!1;if(t>=20)return!0;const r=window.getComputedStyle(e),a=r.getPropertyValue("font-weight"),o=["bold","bolder","700","800","900"].includes(a),i=r.getPropertyValue("font-style"),u=["italic","oblique"].includes(i);let l=!1;return e.querySelectorAll("b, strong, i, em").forEach((t=>{t.textContent===e.textContent&&(l=!0)})),!!(o||u||l)}},u={id:"text_size_too_small",evaluate:e=>{if(!e.textContent.trim().length)return!1;const t=Array.from(e.childNodes).some((e=>e.nodeType===Node.TEXT_NODE));return!(e.childNodes.length&&!t)&&n(e)<=10}},l={id:"text_justified",selector:"p, span, small, strong, b, i, em, h1, h2, h3, h4, h5, h6, a, label, button, th, td, li, div, blockquote, address, cite, q, s, sub, sup, u, del, caption, dt, dd, figcaption, summary, data, time",matches:e=>e.textContent.trim().length>=200,tags:["wcag2aaa","wcag148","cat.text","custom"],metadata:{description:"Text elements inside containers should not be justified."},all:[],any:[],none:["text_is_justified"]},s={id:"text_is_justified",evaluate:e=>"justify"===window.getComputedStyle(e).textAlign.toLowerCase()},c=wp.i18n,d=[(0,c.__)("new window","accessibility-checker"),(0,c.__)("new tab","accessibility-checker"),(0,c.__)("new document","accessibility-checker")],p={id:"link_target_blank_without_informing",evaluate:e=>{if("a"!==e.tagName.toLowerCase()||"_blank"!==e.getAttribute("target"))return!1;if(f(e.textContent))return!1;if(e.hasAttribute("aria-label")&&f(e.getAttribute("aria-label")))return!1;if(e.hasAttribute("aria-labelledby")){const t=document.getElementById(e.getAttribute("aria-labelledby"));if(t&&f(t.textContent))return!1}const t=e.querySelectorAll("img");for(const e of t)if(f(e.getAttribute("alt")))return!1;return!0}},f=e=>!!e&&d.some((t=>e.toLowerCase().includes(t))),m=[(0,c.__)("click","accessibility-checker"),(0,c.__)("click here","accessibility-checker"),(0,c.__)("here","accessibility-checker"),(0,c.__)("go here","accessibility-checker"),(0,c.__)("more","accessibility-checker"),(0,c.__)("more...","accessibility-checker"),(0,c.__)("more…","accessibility-checker"),(0,c.__)("details","accessibility-checker"),(0,c.__)("more details","accessibility-checker"),(0,c.__)("link","accessibility-checker"),(0,c.__)("this page","accessibility-checker"),(0,c.__)("continue","accessibility-checker"),(0,c.__)("continue reading","accessibility-checker"),(0,c.__)("read more","accessibility-checker"),(0,c.__)("open","accessibility-checker"),(0,c.__)("download","accessibility-checker"),(0,c.__)("button","accessibility-checker"),(0,c.__)("keep reading","accessibility-checker"),(0,c.__)("learn more","accessibility-checker"),(0,c.__)("opens a new window","accessibility-checker")],h=e=>!!e&&(e=e.toLowerCase().replace(/[^a-z]+/g," ").trim(),m.includes(e)),D={id:"has_ambiguous_text",evaluate:e=>{if(e.hasAttribute("aria-label")){const t=e.getAttribute("aria-label");return h(t)}if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby"),r=document.getElementById(t)?.textContent;return h(r)}if(e.textContent&&""!==e.textContent)return h(e.textContent);const t=e.querySelectorAll("img");for(const e of t){const t=e.getAttribute("alt");if(h(t))return!0}return!1}},g={id:"anchor_exists",evaluate:e=>{const t=e.getAttribute("href").slice(1);if(""===t)return!0;const r=`#${CSS.escape(t)}`;if(null!==document.querySelector(r))return!0;return null!==document.querySelector(`a[name="${CSS.escape(t)}"]`)}},v={id:"link_ms_office_file",selector:[".doc",".docx",".xls",".xlsx",".ppt",".pptx",".pps",".ppsx"].map((e=>`a[href$="${e}"], a[href$="${e.toUpperCase()}"], a[href*="${e}?"], a[href*="${e.toUpperCase()}?"], a[href*="${e}#"], a[href*="${e.toUpperCase()}#"]`)).join(", "),excludeHidden:!1,tags:["cat.custom"],metadata:{description:"Links to MS Office documents typically should be checked."},all:[],any:["always-fail"],none:[]},b=["screen-reader-text","sr-only","show-for-sr","visuallyhidden","visually-hidden","hidden-visually","invisible","accessibly-hidden","hide","hidden"],y={id:"aria_hidden_valid_usage",evaluate:e=>{const t=window.getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility)return!0;if(e.classList.contains("wp-block-spacer"))return!0;const r=e.getAttribute("role");if(r?.split(/\s+/).includes("presentation"))return!0;const n=e.parentElement;if(!n)return!1;const a=window.getComputedStyle(n);if("none"===a.display||"hidden"===a.visibility)return!0;if(["button","a"].includes(n.tagName.toLowerCase())){if(n.hasAttribute("aria-label")&&n.getAttribute("aria-label").trim()||n.hasAttribute("aria-labelledby")&&document.getElementById(n.getAttribute("aria-labelledby")))return!0;for(const t of n.childNodes)if(t!==e){if(t.nodeType===Node.TEXT_NODE&&t.textContent.trim())return!0;if(t.nodeType===Node.ELEMENT_NODE&&!t.hasAttribute("aria-hidden")){const e=window.getComputedStyle(t);if("none"!==e.display&&"hidden"!==e.visibility&&t.textContent.trim())return!0}}}const o=Array.from(n.children);for(const t of o)if(t!==e)for(const e of b)if(t.classList.contains(e)||t.className.toLowerCase().includes(e))return!0;return!1}};function F(e,t){const r=e.getAttribute(t)||"";if(!r.trim())return!1;const n=r.split(/\s+/).filter((e=>e.trim()));return 0===n.length||n.every((e=>null!==document.getElementById(e)))}const w={id:"aria_label_not_found",evaluate:e=>F(e,"aria-labelledby")},E={id:"aria_describedby_not_found",evaluate:e=>F(e,"aria-describedby")},C={id:"aria_owns_not_found",evaluate:e=>F(e,"aria-owns")},x={id:"table_has_headers",evaluate:e=>{if("table"!==e.nodeName.toLowerCase())return!0;const t=Array.from(e.querySelectorAll("tr"));if(0===t.length)return!0;if(t.every((e=>{const t=e.children[0];if(!t||"th"!==t.tagName.toLowerCase())return!1;const r=t.getAttribute("scope");return"row"===r||!r})))return!0;const r=e.querySelector("thead tr")||t.find((e=>e.querySelectorAll("th").length>0));if(!r)return!1;const n=r.querySelectorAll("th").length;if(0===n)return!1;let a=!1;for(const e of t){if(!a&&e===r){a=!0;continue}if(e.querySelectorAll("td").length>n)return!1}return!0}},A={id:"heading_is_empty",evaluate(e){const t=e.querySelectorAll('[aria-hidden="true"]'),r=e.cloneNode(!0);t.forEach((e=>{const t=Array.from(r.querySelectorAll("*")).find((t=>t.isEqualNode(e)));t&&t.remove()}));const n=r.textContent.trim(),a=n&&!/^[-_\s]*$/.test(n),o=e.getAttribute("aria-label"),i=o&&""!==o.trim(),u=e.querySelectorAll("img");let l=!1;for(let e=0;e<u.length;e++){const t=u[e].getAttribute("alt");if(t&&""!==t.trim()){l=!0;break}}const s=e.querySelectorAll("svg");let c=!1;for(let e=0;e<s.length;e++){const t=s[e].querySelector("title");if(t&&""!==t.textContent.trim()){c=!0;break}const r=s[e].getAttribute("aria-label");if(r&&""!==r.trim()){c=!0;break}}const d=e.getAttribute("aria-labelledby");let p=!1;if(d){const e=d.split(/\s+/);for(let t=0;t<e.length;t++){const r=document.getElementById(e[t]);if(r&&""!==r.textContent.trim()){p=!0;break}}}return a||i||l||c||p}},k=["youtube.com","youtu.be","vimeo.com"],N=/\.(3gp|asf|asx|avi|flv|m4a|m4p|mov|mp3|mp4|mpeg|mpeg2|mpg|mpv|ogg|oga|ogv|qtl|smi|smil|wav|wax|webm|wmv|wmp|wmx)(\?.*)?$/i,_={id:"has_transcript",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=e.getAttribute("href")||"",n=e.getAttribute("src")||"",a="a"===t&&N.test(r),o="iframe"===t&&k.some((e=>n.includes(e)));if(!("audio"===t||"video"===t||o||a))return!0;const i=function(e,t=250){let r="";e.previousElementSibling&&"noscript"!==e.previousElementSibling.nodeName.toLowerCase()&&(r+=e.previousElementSibling.textContent.trim()+" ");e.nextElementSibling&&"noscript"!==e.nextElementSibling.nodeName.toLowerCase()&&(r+=e.nextElementSibling.textContent.trim()+" ");if(!e.previousElementSibling&&!e.nextElementSibling&&e.parentElement){const t=e.parentElement;t.previousElementSibling&&"noscript"!==t.previousElementSibling.nodeName.toLowerCase()&&(r+=t.previousElementSibling.textContent.trim()+" "),t.nextElementSibling&&"noscript"!==t.nextElementSibling.nodeName.toLowerCase()&&(r+=t.nextElementSibling.textContent.trim()+" ")}const n=e.closest("figure");if(n){const e=n.querySelector("figcaption");e&&(r+=e.textContent.trim()+" "),r+=T(n.nextElementSibling,5)}let a=e.closest(".media-wrapper, figure, section, article");if(!a){let t=e.parentElement,r=0;for(;t&&r<3;){if(t.children.length>1||t.nextElementSibling||t.previousElementSibling){a=t;break}t=t.parentElement,r++}}if(a){r+=T(a.nextElementSibling,3);const n={acceptNode(e){const t=window.getComputedStyle(e.parentElement);return t&&"none"!==t.display&&"hidden"!==t.visibility?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}},o=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,n,!1);for(;o.nextNode();){const n=o.currentNode,a=n.textContent.trim();if(!e.contains(n)&&a.length&&(r+=a+" "),r.length>=t){const e=r.lastIndexOf(" ",t);-1!==e&&(r=r.substring(0,e));break}}}return r.toLowerCase().trim()}(e,350),u=["transcript","transcription","text version","written version"].some((e=>i.toLowerCase().includes(e))),l=e.getAttribute("aria-describedby"),s=l&&document.getElementById(l)?.textContent?.toLowerCase().includes("transcript");return!(!u&&!s)}};function T(e,t){let r="",n=e,a=0;for(;n&&a<t;){const e=n.textContent?.trim();e&&(r+=e+" "),n=n.nextElementSibling,a++}return r}const B={id:"button_is_empty",evaluate(e){const t=(e=>{const t=[];e.querySelectorAll('[aria-hidden="true"]').forEach((e=>{t.push(e.cloneNode(!0).textContent)})),Array.from(e.getElementsByTagName("*")).forEach((e=>{const r=window.getComputedStyle(e);"none"!==r.display&&"hidden"!==r.visibility||t.push(e.textContent)}));let r=e.textContent;return t.forEach((e=>{r=r.replace(e,"")})),r.trim()})(e);if(t&&t.length>0)return!1;const r=e.getAttribute("aria-label"),n=e.getAttribute("aria-description"),a=e.getAttribute("title");if(r||n||a)return!1;const o=e.getAttribute("aria-labelledby");if(o){const e=o.split(/\s+/);for(const t of e){const e=document.getElementById(t);if(e?.textContent?.trim())return!1}}const i=e.getAttribute("aria-describedby");if(i){const e=i.split(/\s+/);for(const t of e){const e=document.getElementById(t);if(e?.textContent?.trim())return!1}}const u=e.querySelectorAll("img");for(const e of u)if(e.getAttribute("alt")?.trim())return!1;if("input"===e.tagName.toLowerCase()&&e.getAttribute("value"))return!1;const l=e.querySelectorAll("i");for(const e of l)if(e.getAttribute("title")?.trim()||e.getAttribute("aria-label")?.trim()||e.getAttribute("aria-description")?.trim())return!1;const s=e.querySelectorAll("svg");for(const e of s)if(e.querySelector("title")?.textContent?.trim()||e.getAttribute("aria-label")?.trim()||e.getAttribute("aria-description")?.trim())return!1;return!0}},R=["slider","carousel","owl-carousel","soliloquy-container","n2-section-smartslider","metaslider","master-slider","rev_slider","royalSlider","wonderpluginslider","meteor-slides","flexslider","slick-slider","uagb-slick-carousel","swiper-container","flickity-slider","spacegallery","blueimp-gallery","seq-active","siema","keen-slider","bxslider","bx-wrapper","glide--slider"],S={id:"slider_detected",evaluate:e=>{const t=(e.getAttribute("class")||"").toLowerCase().split(/\s+/),r=R.some((e=>t.includes(e))),n=e.hasAttribute("data-jssor-slider")||e.hasAttribute("data-layerslider-uid");return!r&&!n}},O=[".3gp",".asf",".asx",".avi",".flv",".m4p",".mov",".mp4",".mpeg",".mpeg2",".mpg",".mpv",".ogg",".ogv",".qtl",".smi",".smil",".wax",".webm",".wmv",".wmp",".wmx"],M=["youtube","youtu.be","vimeo"],I=["video"],P={id:"is_video_detected",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=e.getAttribute("src")||"",n=e.getAttribute("data")||"",a=e.getAttribute("type")||"",o=e.getAttribute("role")||"";if("iframe"===t&&r){const e=r.toLowerCase();if(M.some((t=>e.includes(t))))return!0}const i=O.some((e=>{const t=r.toLowerCase(),a=n.toLowerCase();return t.endsWith(e)||t.includes(e+"?")||a.endsWith(e)||a.includes(e+"?")})),u=M.some((e=>r.toLowerCase().includes(e))),l=a.toLowerCase().startsWith("video/"),s=I.includes(o.toLowerCase());if("source"===t){const t=e.parentNode;if(t&&"video"===t.nodeName.toLowerCase())return!1;if(l||i)return!0}return!!("video"===t||i||u||l||s)}},L={id:"link-is-empty",evaluate(e){if(!e.hasAttribute("href"))return!1;if(e.hasAttribute("name"))return!1;if(Array.from(e.childNodes).some((e=>e.nodeType===Node.TEXT_NODE?""!==e.textContent.replace(/[\s\u00A0\-—_]/g,""):e.nodeType===Node.ELEMENT_NODE&&(!e.hasAttribute("aria-hidden")&&""!==e.textContent.replace(/[\s\u00A0\-—_]/g,"")))))return!1;if(e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label").trim())return!1;if(e.hasAttribute("title")&&""!==e.getAttribute("title").trim())return!1;if(e.hasAttribute("aria-labelledby")){if(e.getAttribute("aria-labelledby").split(" ").map((e=>document.getElementById(e))).filter(Boolean).some((e=>""!==e.textContent.trim())))return!1}const t=e.querySelectorAll("img");for(const e of t)if(e.hasAttribute("alt")&&""!==e.getAttribute("alt").trim())return!1;const r=e.querySelectorAll("input");for(const e of r)if(e.hasAttribute("value")&&""!==e.getAttribute("value").trim())return!1;const n=e.querySelectorAll("i");for(const e of n)if(e.hasAttribute("title")&&""!==e.getAttribute("title").trim()||e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label").trim())return!1;const a=e.querySelectorAll("svg");for(const e of a)if(e.querySelector("title"))return!1;return!0}},j=["apng","bmp","gif","ico","cur","jpg","jpeg","jfif","pjpeg","pjp","png","svg","tif","tiff","webp"],q={id:"longdesc_valid",evaluate:e=>{if("img"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("longdesc");if(null===t)return!0;if(""===t.trim())return!1;if(t.includes(":")){if(!/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(t))return!1}let r;try{r=new URL(t,document.baseURI)}catch{return!1}const n=r.pathname,a=n.endsWith("/")?"":n.split("/").pop();if(!a)return!1;const o=a.match(/\.([^.?#]+)(?:\?.*)?(?:#.*)?$/),i=o?o[1].toLowerCase():"";return!j.includes(i)}},z={id:"table_header_is_empty",evaluate(e){if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden"))return!0;if(""!==e.textContent.replace(/[\s\u00A0\-—_]/g,""))return!1;if(e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label")?.trim())return!1;if(e.hasAttribute("title")&&""!==e.getAttribute("title")?.trim())return!1;if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby")?.split(" "),r=t?.map((e=>document.getElementById(e))).filter(Boolean);if(r.some((e=>""!==e.textContent?.trim())))return!1}const t=e.querySelectorAll("img");for(const e of t)if(e.hasAttribute("alt")&&""!==e.getAttribute("alt")?.trim())return!1;const r=e.querySelectorAll("i");for(const e of r)if(e.hasAttribute("title")&&""!==e.getAttribute("title")?.trim()||e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label")?.trim())return!1;const n=e.querySelectorAll("svg");for(const e of n)if(e.querySelector("title"))return!1;return!0}},V={id:"img_alt_missing_check",evaluate(e){const t=e.tagName.toLowerCase();if(e.hasAttribute("role")&&"presentation"===e.getAttribute("role"))return!1;if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden"))return!1;if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby"),r=document.getElementById(t);if(r&&""!==r.textContent.trim())return!1}const r=e.hasAttribute("alt")&&null!==e.getAttribute("alt");return"input"===t&&"image"===e.getAttribute("type")?!r:"img"===t&&(!$(e)&&(!U(e)&&(!G(e)&&!r)))},options:{},metadata:{impact:"critical",messages:{pass:"Image has an alt attribute",fail:"Image is missing an alt attribute"}}},$=e=>{const t=W(e,(e=>e.tagName&&"figure"===e.tagName.toLowerCase()));if(t){const e=t.querySelectorAll("figcaption");if(e.length>0&&""!==e[0].textContent.trim())return!0}const r=W(e,(e=>e.tagName&&"div"===e.tagName.toLowerCase()&&e.classList.contains("wp-caption")));return!!(r&&r.textContent&&r.textContent.trim().length>5)},H=(e,t)=>""!==Array.from(e.childNodes).filter((e=>e!==t&&3===e.nodeType)).map((e=>e.textContent)).join("").trim(),U=e=>{const t=W(e,(e=>e.tagName&&"a"===e.tagName.toLowerCase()));if(t){if(t.hasAttribute("aria-label")&&""!==t.getAttribute("aria-label").trim())return!0;if(t.hasAttribute("title")&&""!==t.getAttribute("title").trim())return!0;if(H(t,e))return!0}return!1},G=e=>{const t=W(e,(e=>e.tagName&&"button"===e.tagName.toLowerCase()));return!(!t||!H(t,e))},W=(e,t)=>{let r=e.parentNode;for(;r;){if(t(r))return r;r=r.parentNode}return null},Y={id:"img_alt_invalid_check",evaluate(e){if(!e.hasAttribute("alt"))return!0;const t=e.getAttribute("alt");if(""===t)return!0;if(""===t.trim())return!1;const r=t.toLowerCase().trim().replace(/\s+/g," "),n=["graphic of","bullet","image of","an image"];for(const e of n)if(r.startsWith(e))return!1;const a=["image","graphic"];for(const e of a)if(r.endsWith(e))return!1;const o=[".apng",".bmp",".gif",".ico",".cur",".jpg",".jpeg",".jfif",".pjpeg",".pjp",".png",".svg",".tif",".tiff",".webp"];for(const e of o)if(r.includes(e))return!1;if(["graphic of","bullet","image of","an image","image","graphic","photo","photograph","drawing","painting","artwork","logo","button","arrow","more","spacer","blank","chart","table","diagram","graph","*"].includes(r))return!1;const i=["_","img","jpg","jpeg","apng","png","svg","webp"];for(const e of i)if(r.includes(e))return!1;return!/^\d+$/.test(r)},options:{},metadata:{impact:"serious",messages:{pass:"Image alt text is valid",fail:"Image has invalid alt text (contains generic terms, file names, or only numbers)"}}},K=new Map;const X={id:"img_alt_redundant_check",evaluate(e){const t=a(e.getAttribute("alt"));if(!t)return!0;const r=a(e.getAttribute("title"));if(r&&t===r)return!1;const n=e.closest("a");if(n){const e=a(n.textContent);if(e&&t===e)return!1}const o=e.closest("figure");if(o){const e=o.querySelector("figcaption");if(e){const r=a(e.textContent);if(r&&t===r)return!1}}if(0===K.size&&document.querySelectorAll("img").forEach((e=>{const t=a(e.getAttribute("alt"));t&&(K.has(t)||K.set(t,[]),K.get(t).push(e))})),K.has(t)){const r=K.get(t).filter((t=>t!==e));if(r.length>0){const t=e.getAttribute("src"),n=e.closest("a")?.getAttribute("href");if(r.filter((e=>{const r=e.getAttribute("src"),a=e.closest("a")?.getAttribute("href");return!(r===t)&&!(n&&a&&a===n)})).length>0)return!1}}return!0},options:{},metadata:{impact:"warning",messages:{pass:"Image alternative text is not redundant.",fail:"Image alternative text is redundant (matches title, link text, caption, or is duplicated)."}}},Z=e=>{const t=e.querySelectorAll("img");return Array.from(t).filter((e=>!(e=>{const t=window.getComputedStyle(e);return"none"===t.display||"hidden"===t.visibility||null!==e.closest('[aria-hidden="true"]')})(e)))},J=e=>{const t=(e.textContent||"").trim().length>=5,r=null!==e.getAttribute("aria-label")&&""!==e.getAttribute("aria-label"),n=null!==e.getAttribute("title")&&""!==e.getAttribute("title");return t||r||n},Q={id:"linked_image_alt_present",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;if(J(e))return!0;const t=Z(e);return 0===t.length||t.every((e=>{const t=e.hasAttribute("alt"),r=e.getAttribute("role"),n=e.getAttribute("aria-hidden");return t||"presentation"===r||"true"===n}))}},ee={id:"linked_image_alt_not_empty",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;if(J(e))return!0;const t=Z(e);return 0===t.length||t.every((e=>{const t=e.getAttribute("alt"),r=e.getAttribute("role"),n=e.getAttribute("aria-hidden");return"presentation"===r||"true"===n||null!==t&&""!==t.trim()}))}},te={id:"img_alt_long_check",evaluate(e,t={}){const r=e.getAttribute("alt");return!(r&&r.length>t.maxAltLength)},options:{maxAltLength:300}},re={id:"img_alt_empty_check",evaluate(e){const t=e.hasAttribute("alt")&&""===e.getAttribute("alt");return!(!t||"presentation"!==e.getAttribute("role")&&"none"!==e.getAttribute("role"))||(!(!t||"true"!==e.getAttribute("aria-hidden"))||(!(!t||!function(e){const t=e.closest("figure");if(t&&t.querySelector("figcaption"))return!0;const r=e.closest("div.wp-caption");if(r&&r.querySelector(".wp-caption-text"))return!0;const n=e.closest("a");if(n){if(n.hasAttribute("aria-label")&&""!==n.getAttribute("aria-label").trim())return!0;if(n.hasAttribute("title")&&""!==n.getAttribute("title").trim())return!0;const e=n.textContent.trim();if(""!==e&&e.length>5)return!0}return!1}(e))||(!(!t||!function(e){if(e.classList.contains("wp-smiley"))return!0;const t=e.getAttribute("src")||"";if(t.includes("advanced-wp-columns/assets/js/plugins/views/img/1x1-pixel.png"))return!0;if(t.includes("googleads.g.doubleclick.net/pagead/viewthroughconversion"))return!0;return!1}(e))||!t)))}};const ne=["rtf","wpd","ods","odt","odp","sxw","sxc","sxd","sxi","pages","key"],ae={id:"link_points_to_html",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("href")||"";try{const e=new URL(t,document.baseURI).pathname.split("."),r=e.length>1?e.pop().toLowerCase():"";if(ne.includes(r))return!1}catch{return!0}return!0}},oe={id:"link_has_valid_href_or_role",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("href"),r=(e.getAttribute("role")||"").toLowerCase().split(/\s+/);if(r.some((e=>["button","tab"].includes(e))))return!0;const n=e.hasAttribute("aria-expanded");if(r.includes("menuitem")&&n)return!0;const a=t?t.trim():"";if(!t||"#"===a||t.toLowerCase().startsWith("javascript:")||t.toLowerCase().startsWith("data:")||t.toLowerCase().startsWith("file:"))return!1;if(t.includes("://"))try{new URL(t)}catch(e){return!1}return!0}},ie={id:"has_subheadings_if_long_content",evaluate:e=>{if(e!==document.body)return!0;if(e.textContent.replace(/\s+/g," ").trim().split(/\s+/).length<400)return!0;return['h2, [role="heading"][aria-level="2"]','h3, [role="heading"][aria-level="3"]','h4, [role="heading"][aria-level="4"]','h5, [role="heading"][aria-level="5"]','h6, [role="heading"][aria-level="6"]'].map((e=>document.querySelectorAll(e).length)).reduce(((e,t)=>e+t),0)>0}},ue={id:"img_animated",selector:"img[src], iframe[src]",excludeHidden:!1,tags:["wcag2aa","wcag222","cat.sensory-and-visual-cues","best-practice","flashing"],metadata:{description:"Identifies animated images that may require user controls",help:"Animated images (not static GIFs/WebPs) should be limited to less than 5 seconds or provide user controls to pause/stop",impact:"serious",issue:{type:"warning",message:"Animated image content might need controls for accessibility compliance",tips:["Only animated images need controls, static GIFs/WebPs are fine","Limit animations to less than 5 seconds","Add controls to pause/stop animations","Consider using video elements with controls instead of animated GIFs","Avoid flashing content that could trigger seizures"]}},all:[],any:[],none:["img_animated_check"]},le=new o,se={id:"img_animated_check",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=(e.getAttribute("src")||"").toLowerCase();if(le.has(r))return le.get(r);if("iframe"===t){const e=he(r);return le.set(r,e),e}return"img"===t&&((fe(r)||me(r))&&he(r)?(le.set(r,!0),!0):(le.set(r,!1),!1))}};function ce(e){const t=new Uint8Array(e);return function(e){const t=String.fromCharCode(...e.slice(0,6));return"GIF89a"===t||"GIF87a"===t}(t)?function(e){let t=13,r=0;if(de(e[10])){const r=pe(e[10]);t+=3*Math.pow(2,r+1)}for(;t<e.length;){const n=e[t];if(33===n){if(249===e[t+1]&&(r++,r>1))return!0;t+=2;let n=e[t];for(;0!==n;)t+=n+1,n=e[t];t++}else if(44===n){if(t+=10,de(e[t-1])){const r=pe(e[t-1]);t+=3*Math.pow(2,r+1)}t++;let r=e[t];for(;0!==r;)t+=r+1,r=e[t];t++}else{if(59===n)break;t++}}return!1}(t):!!function(e){const t=String.fromCharCode(...e.slice(0,4)),r=String.fromCharCode(...e.slice(8,12));return"RIFF"===t&&"WEBP"===r}(t)&&function(e){for(let t=12;t<e.length-4;t++)if(65===e[t]&&78===e[t+1]&&73===e[t+2]&&77===e[t+3])return!0;return!1}(t)}function de(e){return 1===Math.floor(e/128)}function pe(e){return e%8}const fe=e=>e.endsWith(".gif")||e.includes(".gif?")||e.includes(".gif#")||e.endsWith("%2egif")||e.includes("%2egif?")||e.includes("%2egif#")||e.includes("format=gif")||e.includes("type=gif")||e.includes("filetype=gif")||e.startsWith("data:image/gif"),me=e=>e.endsWith(".webp")||e.includes(".webp?")||e.includes(".webp#")||e.endsWith("%2ewebp")||e.includes("%2ewebp?")||e.includes("%2ewebp#")||e.includes("format=webp")||e.includes("type=webp")||e.includes("filetype=webp")||e.startsWith("data:image/webp"),he=e=>["giphy.com","tenor.com","gfycat.com","imgur.com/a/","media.discordapp.net"].some((t=>e.includes(t))),De=[{id:"color_contrast_failure",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT"],actIds:["afw4f7","09o5cg"],metadata:{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},all:[],any:["color-contrast"],none:[]},{id:"underlined_text",excludeHidden:!1,selector:'*:not(a):not([role="link"]):not(a *):not([role="link"] *)',metadata:{description:"Text elements should not be underlined unless they are links."},all:[],none:["element_with_underline","element_is_u_tag"]},{id:"possible_heading",selector:"p",matches:e=>!e.closest("blockquote, figcaption, td"),excludeHidden:!1,tags:["wcag2a","wcag131","wcag241","cat.semantics"],metadata:{description:"Headings should be used to convey the structure of the page, not styled paragraphs",help:"Paragraphs should not be styled to look like headings. Use the appropriate heading tag instead."},all:[],any:[],none:["paragraph_styled_as_header"]},{id:"empty_paragraph_tag",selector:"p",excludeHidden:!1,tags:["cat.text","best-practices"],impact:"moderate",metadata:{description:"Detects empty paragraph tags",help:"Paragraphs should not be used for layout purposes and should never be empty"},all:[],any:["paragraph_not_empty"],none:[]},{id:"text_small",impact:"moderate",selector:"p, span, small, strong, b, i, h1, h2, h3, h4, h5, h6, a, label, button, th, td, li, div, blockquote, address, cite, code, pre, q, s, sub, sup, u, var, abbr, acronym, del, dfn, em, ins, kbd, input, select, textarea, caption, dl, dt, dd, li, figure, figcaption, details, dialog, summary, data, time",matches:e=>e.textContent.trim().length,tags:["wcag2aaa","wcag144","wcag148","cat.text"],metadata:{description:"Text elements should not be too small."},all:[],any:[],none:["text_size_too_small"]},l,{id:"link_blank",selector:'a[target="_blank"]',excludeHidden:!1,tags:["cat.custom","wcag2aaa","wcag322","wcag325"],metadata:{description:"Links that open in a new tab should inform the user.",help:"Links that open in a new tab should inform the user. This is important for users who rely on screen readers, as they may not realize that a new tab has opened."},all:[],any:[],none:["link_target_blank_without_informing"]},{id:"link_ambiguous_text",enabled:!0,selector:"a",excludeHidden:!1,tags:["cat.text","best-practices"],metadata:{description:"Detects ambiguous link text",help:"Links should have descriptive text to help users understand their purpose."},any:[],all:[],none:["has_ambiguous_text"]},{id:"link_pdf",selector:'a[href$=".pdf"], a[href$=".PDF"], a[href*=".pdf?"], a[href*=".PDF?"], a[href*=".pdf#"], a[href*=".PDF#"]',excludeHidden:!1,tags:["cat.custom"],metadata:{description:"Links to PDFs typically should be checked."},all:[],any:["always-fail"],none:[]},v,{id:"broken_skip_anchor_link",selector:'a[href^="#"]:not([href="#"]):not([role="button"])',tags:["wcag2a","wcag131","wcag241","custom"],metadata:{description:"Check if the skip anchor link is broken or missing its target."},all:[],any:["anchor_exists"],none:[]},{id:"label",impact:"critical",selector:"input, textarea",matches:(e,t)=>{if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;const r=t.attr("type").toLowerCase();return!1===["hidden","button","submit","reset"].includes(r)},tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],metadata:{description:"Ensure every form element has a label",help:"Form elements must have labels"},all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby","non-empty-title","presentational-role","image_input_has_alt"],none:["hidden-explicit-label"]},{id:"missing_table_header",selector:"table",excludeHidden:!1,tags:["wcag2a","wcag131","cat.structure"],metadata:{description:"Tables must have header cells to convey data relationships",help:"Ensure that tables use <th> elements with text or appropriate scope attributes",impact:"serious"},all:[],any:["table_has_headers"],none:[]},{id:"empty_heading_tag",selector:"h1, h2, h3, h4, h5, h6",metadata:{description:"Ensures headings have discernible text",help:"Headings must have discernible text",helpUrl:"https://a11ychecker.com/help1957"},tags:["wcag2a","best-practice"],all:[],any:["heading_is_empty"],none:[]},{id:"missing_transcript",selector:"audio, video, iframe, a[href]",excludeHidden:!1,tags:["wcag2a","wcag122","cat.time-and-media"],metadata:{description:"Media content should be accompanied by a text transcript",help:"Ensure audio or video content includes a nearby transcript or transcript link",impact:"serious"},all:[],any:["has_transcript"],none:[]},{id:"empty_button",excludeHidden:!1,selector:'button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"]',tags:["accessibility","wcag2a","wcag2aa"],metadata:{description:"Ensures buttons have accessible labels or content.",help:"Buttons must have accessible text, aria-label, or title attributes.",helpUrl:"https://a11ychecker.com/help1960"},any:[],all:[],none:["button_is_empty"]},{id:"slider_present",selector:"[class], [data-jssor-slider], [data-layerslider-uid]",excludeHidden:!1,tags:["cat.structure"],metadata:{description:"Identifies presence of slider/carousel components that may require accessibility improvements",help:"Sliders and carousels must be keyboard accessible and provide appropriate navigation controls",impact:"moderate"},all:[],any:["slider_detected"],none:[]},{id:"video_present",selector:"video, iframe, object, source, [src]:not(script), [role]",excludeHidden:!1,tags:["wcag2a","wcag121","wcag122","wcag123","cat.time-and-media","cat.sensory"],metadata:{description:"Identifies presence of video content that may require accessibility features",help:"Video content should have appropriate alternatives like captions and audio descriptions",impact:"serious"},all:[],any:[],none:["is_video_detected"]},{id:"empty_link",selector:"a[href]",tags:["wcag2a","wcag2.4.4","wcag4.1.2"],metadata:{description:"Ensures links have discernible text",help:"Links must have discernible text",helpUrl:"https://a11ychecker.com/help4108"},any:[],all:[],none:["link-is-empty"]},{id:"long_description_invalid",selector:"img[longdesc]",tags:["wcag2a","wcag131","cat.text-alternatives"],metadata:{description:"Checks that longdesc attributes are valid and do not point to images.",help:"longdesc should link to a non-image resource with a detailed description",impact:"moderate"},all:[],any:["longdesc_valid"],none:[]},{id:"empty_table_header",selector:'th, [role="columnheader"], [role="rowheader"]',excludeHidden:!1,tags:["wcag2a","wcag1.3.1","wcag4.1.2"],metadata:{description:"Ensures table headers have discernible text",help:"Table headers must have discernible text",helpUrl:"https://a11ychecker.com/help4109"},any:[],all:[],none:["table_header_is_empty"]},{id:"img_alt_missing",selector:'img, input[type="image"]',excludeHidden:!0,any:[],all:[],none:["img_alt_missing_check"],tags:["wcag1a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures images have alt text",help:"Images must have an alt attribute",helpUrl:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html"}},{id:"img_alt_invalid",selector:"img",excludeHidden:!0,any:[],all:["img_alt_invalid_check"],none:[],tags:["wcag1a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures images have valid alternative text",help:"Images must have meaningful alt text rather than filenames or generic text",helpUrl:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html"}},{id:"img_alt_redundant",selector:"img, figure img",any:["img_alt_redundant_check"],none:[],tags:["duplicate","redundant","accessibility"],metadata:{description:"Checks for redundant alternative text on images, including duplicate alt text across images; alt text matching title, link text or figcaption.",help:"Ensure that each image has unique, meaningful alt text that does not duplicate related text (such as its title, associated link text, or accompanying caption).",helpUrl:"https://a11ychecker.com/help1976"}},{id:"img_linked_alt_missing",selector:"a",tags:["wcag2a","wcag111","cat.text-alternatives"],metadata:{description:"Checks that linked images have meaningful alternative text.",help:"Linked images must have alternative text describing link purpose.",impact:"serious"},all:[],any:["linked_image_alt_present"],none:[]},{id:"img_linked_alt_empty",selector:"a",tags:["wcag2a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures linked images do not have empty alt text",help:"Linked images must have meaningful alternative text describing the link purpose",impact:"serious"},all:[],any:["linked_image_alt_not_empty"],none:[]},{id:"img_alt_long",selector:"img[alt]",excludeHidden:!0,tags:["cat.text-alternatives","wcag1a","wcag111"],all:[],any:["img_alt_long_check"],none:[],metadata:{description:"Ensures images do not have excessively long alt text",help:"Image alt text should be concise and not exceed 300 characters"}},{id:"img_alt_empty",selector:'img[alt=""], input[type="image"][alt=""]',excludeHidden:!0,tags:["cat.text-alternatives","wcag1a","wcag111"],all:[],any:["img_alt_empty_check"],none:[],metadata:{description:'Ensures images with attributes alt="" are not used when they require alternative text',help:"Images with empty alt attributes must be decorative or already described in context"}},{id:"link_non_html_file",selector:"a[href]",tags:["best-practice","cat.structure"],metadata:{description:"Links to non-HTML documents should be clearly labeled or avoided.",help:"Avoid linking to non-HTML documents without warnings or alternatives.",impact:"moderate"},all:[],any:["link_points_to_html"],none:[]},{id:"link_improper",selector:"a",tags:["wcag2a","wcag412","cat.structure"],metadata:{description:"Links must have a meaningful href or an appropriate role if used as buttons.",help:'Avoid using <a> tags without href or with href="#" unless role="button" is used.',impact:"serious"},all:[],any:["link_has_valid_href_or_role"],none:[]},{id:"missing_headings",selector:"body",tags:["wcag2a","best-practice"],all:[],any:["has_subheadings_if_long_content"],none:[],metadata:{description:"Ensures long content has appropriate heading structure",help:"Content with more than 400 words should contain headings to improve readability and structure"}},ue,{id:"aria_hidden_validation",selector:'[aria-hidden="true"]',excludeHidden:!1,tags:["wcag2a","wcag131","cat.aria","cat.semantics"],metadata:{description:'Ensures elements with aria-hidden="true" are used appropriately',help:'Elements with aria-hidden="true" should not hide important content that is unavailable elsewhere',impact:"serious"},all:[],any:["aria_hidden_valid_usage"],none:[]},{id:"aria_broken_reference",selector:"[aria-labelledby], [aria-describedby], [aria-owns]",excludeHidden:!0,tags:[],metadata:{description:"Ensures ARIA attributes reference existing elements",help:"ARIA attributes that reference other elements must point to elements that exist in the DOM",impact:"critical"},all:[],any:["aria_label_not_found","aria_describedby_not_found","aria_owns_not_found"],none:[]}],ge=[{id:"always-fail",metadata:{impact:"critical",messages:{pass:"This test passed.",fail:"This test failed."}},evaluate:()=>!1},t,e,i,r,u,s,p,D,g,{id:"image_input_has_alt",evaluate:e=>("input"!==e.tagName.toLowerCase()||"image"===e.type)&&""!==e.getAttribute("alt")?.trim()},y,x,A,_,B,S,P,L,q,z,V,Y,X,Q,ee,{...te,options:{maxAltLength:window?.scanOptions?.maxAltLength||te.options.maxAltLength}},re,ae,oe,ie,se,w,E,C],ve=["meta-viewport","blink","marquee","document-title","tabindex","html-lang-valid","html-has-lang","form-field-multiple-labels","heading-order","frame-title","area-alt"],be=De.map((e=>e.id)),ye=["#wpadminbar",".edac-panel-container","#query-monitor-main","#qm-icon-container"];let Fe;const we=["MAIN","HEADER","FOOTER","NAV","ASIDE"],Ee=["main","navigation","banner","contentinfo","complementary"],Ce=["SECTION","ARTICLE","FORM"],xe=["region","article","form"];function Ae(e){if(!e)return null;if(e.id)return`#${e.id}`;const t=e.tagName.toLowerCase();if("main"===t){if(1===document.querySelectorAll("main").length)return"main"}if(("header"===t||"footer"===t)&&e.parentElement===document.body)return t;if("nav"===t||"navigation"===e.getAttribute("role")){if(1===document.querySelectorAll('nav, [role="navigation"]').length)return"nav"===t?"nav":'[role="navigation"]';if(e.hasAttribute("aria-label")){return`${"nav"===t?"nav":'[role="navigation"]'}[aria-label="${e.getAttribute("aria-label")}"]`}}const r=e.getAttribute("role");if(r&&Ee.includes(r)){if(1===document.querySelectorAll(`[role="${r}"]`).length)return`[role="${r}"]`;if(e.hasAttribute("aria-label")){return`[role="${r}"][aria-label="${e.getAttribute("aria-label")}"]`}}const n=[];let a=e;for(;a&&a.nodeType===Node.ELEMENT_NODE&&a!==document.body;){let e=a.nodeName.toLowerCase();if(a.id){e=`#${a.id}`,n.unshift(e);break}if(a.className){const t=a.className.trim().split(/\s+/).map((e=>CSS.escape(e))).filter((e=>!e.match(/^(wp-|js-|css-|generated-|dynamic-)/))).slice(0,2);t.length>0&&(e+=`.${t.join(".")}`)}if(!a.id&&!a.className){e+=`:nth-child(${Array.from(a.parentNode.children).indexOf(a)+1})`}if(n.unshift(e),a=a.parentElement,n.length>=4)break}return n.length?n.join(" > "):null}const ke=document.querySelector("body"),Ne=ke.getAttribute("data-iframe-id"),_e=ke.getAttribute("data-iframe-event-name"),Te=ke.getAttribute("data-iframe-post-id");const Be=async(e={configOptions:{},runOptions:{}})=>{const t={exclude:ye},r={configOptions:{reporter:"raw",rules:De,checks:ge,iframes:!1},resultTypes:["violations","incomplete"],runOptions:{runOnly:{type:"rule",values:[...ve,...be]}}},n=Object.assign(r.configOptions,e.configOptions);axe.configure(n);const a=Object.assign(r.runOptions,e.runOptions);return a?.runOnly?.values?.includes(ue.id)&&await async function(e=5e3){const t=document.querySelectorAll("img[src]");for(const r of t){const t=r.getAttribute("src")||"",n=t.toLowerCase();if(!le.has(n)){if(fe(n)||me(n))try{const r=new AbortController,a=setTimeout((()=>r.abort()),e);let o;try{o=await fetch(t,{mode:"cors",signal:r.signal})}finally{clearTimeout(a)}if(o.ok){const e=ce(await o.arrayBuffer());le.set(n,e);continue}}catch(e){le.set(n,he(n));continue}le.set(n,he(n))}}return le}(),await axe.run(t,a).then((e=>{const t=[];e.forEach((e=>{e.violations.forEach((r=>{"failed"===r.result&&t.push(Oe(r,e))})),"form-field-multiple-labels"===e.id&&e.incomplete.forEach((r=>{t.push(Oe(r,e))}))}));const r=e.map((e=>({id:e.id,description:e.description,help:e.help,impact:e.impact,tags:e.tags})));return t.sort((function(e,t){return(e=document.querySelector(e.selector))===(t=document.querySelector(t.selector))?0:2&e.compareDocumentPosition(t)?1:-1})),{rules:e,rulesMin:r,violations:t}})).catch((e=>{throw e}))};function Re(e,t,r){const[n,a]=function(e=document.body){if(!e)return[0,0];const t=e.cloneNode(!0);return[...ye,"style","script"].forEach((e=>{t.querySelectorAll(e).forEach((e=>e.remove()))})),[t.getElementsByTagName("*").length,(t.textContent||"").replace(/[^A-Za-z0-9]/g,"").length]}(ke),o=new CustomEvent(_e,{detail:{iframeId:Ne,postId:Te,violations:e,errorMsgs:t,error:r,densityMetrics:{elementCount:n,contentLength:a}},bubbles:!1});top.dispatchEvent(o)}const Se=(e=[],t=[],r=!1)=>{clearTimeout(Fe),void 0!==axe.cleanup?axe.cleanup((function(){axe.teardown(),axe=null,Re(e,t,"")}),(function(){axe.teardown(),axe=null,t.push("***** axe.cleanup() failed."),Re(e,t,"cleanup-failed")})):(t.push("***** axe.cleanup() does not exist."),axe=null,Re(e,t,"cleanup-not-exists"))};if(window.runAccessibilityScan=async function(e={}){return Be(e).then((t=>("function"==typeof e.onComplete&&e.onComplete(t),t))).catch((t=>{throw"function"==typeof e.onComplete&&e.onComplete(null,t),t}))},ke&&ke.hasAttribute("data-iframe-id")&&ke.hasAttribute("data-iframe-event-name")){const e={configOptions:{},runOptions:{},iframeId:ke.getAttribute("data-iframe-id"),eventName:ke.getAttribute("data-iframe-event-name"),postId:ke.getAttribute("data-iframe-post-id")};Fe=setTimeout((()=>{Re([],["Scan timed out"],"timeout")}),3e4),Be(e).then((e=>Se(e.violations,[],null))).catch((e=>Se([],[e.message||"Unknown error"],e.message)))}function Oe(e,t){const r=e.node.selector,n=function(e){const t=document.querySelector(e);if(!t)return{type:null,selector:null};let r=t;for(;r&&r!==document.body;){if(we.includes(r.tagName))return{type:r.tagName.toLowerCase(),selector:Ae(r)};if(Ce.includes(r.tagName)&&(r.hasAttribute("aria-label")||r.hasAttribute("aria-labelledby")))return{type:r.tagName.toLowerCase(),selector:Ae(r)};if(r.hasAttribute("role")){const e=r.getAttribute("role").toLowerCase();if(Ee.includes(e))return{type:e,selector:Ae(r)};if(xe.includes(e)&&(r.hasAttribute("aria-label")||r.hasAttribute("aria-labelledby")))return{type:e,selector:Ae(r)}}r=r.parentElement}return{type:null,selector:null}}(r),a=e.node.ancestry||[],o=e.node.xpath||[],i=document.querySelector(r)?.outerHTML;return{selector:r,ancestry:a,xpath:o,html:i,ruleId:t.id,impact:t.impact,tags:t.tags,landmark:n.type,landmarkSelector:n.selector}}})()})();2 (()=>{var e={609(e,t,r){var n,a;e=r.nmd(e),function o(i){var u=i,s=i.document;function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}var c=c||{};c.version="4.11.1",void 0===(a=function(){return c}.apply(t,[]))||(e.exports=a),"object"===l(e)&&e.exports&&"function"==typeof o.toString&&(c.source="("+o.toString()+')(typeof window === "object" ? window : this);',e.exports=c),"function"==typeof i.getComputedStyle&&(i.axe=c);var d=["precision","format","inGamut"],p=["space"],f=["algorithm"],m=["method"],h=["maxDeltaE","deltaEMethod","steps","maxSteps"],g=["variant"],v=["matches"],b=["chromium"],y=["noImplicit"],w=["noPresentational"],D=["node"],x=["relatedNodes"],E=["node"],A=["node"],F=["environmentData"],C=["environmentData"],k=["environmentData"],N=["environmentData"],R=["environmentData"];function _(e){var t="function"==typeof Map?new Map:void 0;return _=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return S(e,arguments,I(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),L(r,e)},_(e)}function T(e,t,r){return(t=ee(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(e,t,r){if(P())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,t);var a=new(e.bind.apply(e,n));return r&&L(a,r.prototype),a}function O(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}function M(e,t,r){return t=I(t),function(e,t){if(t&&("object"==l(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,P()?Reflect.construct(t,r||[],I(e).constructor):t.apply(e,r))}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(P=function(){return!!e})()}function I(e){return I=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},I(e)}function B(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&L(e,t)}function L(e,t){return L=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},L(e,t)}function j(){return j=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},j.apply(null,arguments)}function q(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||z(e)||re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function V(e,t,r){$(e,t),t.set(e,r)}function G(e,t){$(e,t),t.add(e)}function $(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function H(e,t){return e.get(W(e,t))}function U(e,t,r){return e.set(W(e,t),r),r}function W(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw new TypeError("Private element is not present on this object")}function Y(e,t){return X(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,u=[],s=!0,l=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=o.call(r)).done)&&(u.push(n.value),u.length!==t);s=!0);}catch(e){l=!0,a=e}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(l)throw a}}return u}}(e,t)||re(e,t)||K()}function K(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function X(e){if(Array.isArray(e))return e}function Z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function J(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,ee(n.key),n)}}function Q(e,t,r){return t&&J(e.prototype,t),r&&J(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function ee(e){var t=function(e,t){if("object"!=l(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=l(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==l(t)?t:t+""}function te(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=re(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var _n=0,n=function(){};return{s:n,n:function(){return _n>=e.length?{done:!0}:{done:!1,value:e[_n++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,i=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return o=e.done,e},e:function(e){i=!0,a=e},f:function(){try{o||null==r.return||r.return()}finally{if(i)throw a}}}}function re(e,t){if(e){if("string"==typeof e)return ne(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ne(e,t):void 0}}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}!function(e,t,o,P,I,L,$,J,ee,ae,oe){var ie=Object.create,ue=Object.defineProperty,se=Object.getPrototypeOf,le=Object.prototype.hasOwnProperty,ce=Object.getOwnPropertyNames,de=Object.getOwnPropertyDescriptor,pe=function(e,t){return function(){return t||e((t={exports:{}}).exports,t),t.exports}},fe=function(e,t){for(var r in t)ue(e,r,{get:t[r],enumerable:!0})},me=function(e){return function(e,t,r){if(t&&"object"===l(t)||"function"==typeof t){var n,a=te(ce(t));try{var o=function(){var a=n.value;le.call(e,a)||"default"===a||ue(e,a,{get:function(){return t[a]},enumerable:!(r=de(t,a))||r.enumerable})};for(a.s();!(n=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}}return e}((t=ue(null!=e?ie(se(e)):{},"default",e&&e.__esModule&&"default"in e?{get:function(){return e.default},enumerable:!0}:{value:e,enumerable:!0}),ue(t,"__esModule",{value:!0})),e);var t},he=function(e,t,r){return function(e,t,r){t in e?ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r}(e,"symbol"!==l(t)?t+"":t,r),r},ge=pe((function(e,t){var o;o=function(){"use strict";function e(e){return"function"==typeof e}var t=Array.isArray?Array.isArray:function(e){return"[object Array]"===Object.prototype.toString.call(e)},r=0,n=void 0,a=void 0,o=function(e,t){g[r]=e,g[r+1]=t,2===(r+=2)&&(a?a(v):x())},c=void 0!==i?i:void 0,d=c||{},p=d.MutationObserver||d.WebKitMutationObserver,f="undefined"==typeof self&&"undefined"!=typeof process&&"[object process]"==={}.toString.call(process),m="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function h(){var e=setTimeout;return function(){return e(v,1)}}var g=new Array(1e3);function v(){for(var e=0;e<r;e+=2)(0,g[e])(g[e+1]),g[e]=void 0,g[e+1]=void 0;r=0}var b,y,w,D,x=void 0;function E(e,t){var r=this,n=new this.constructor(C);void 0===n[F]&&j(n);var a=r._state;if(a){var i=arguments[a-1];o((function(){return B(a,n,i,r._result)}))}else P(r,n,e,t);return n}function A(e){if(e&&"object"===l(e)&&e.constructor===this)return e;var t=new this(C);return T(t,e),t}f?x=function(){return process.nextTick(v)}:p?(y=0,w=new p(v),D=s.createTextNode(""),w.observe(D,{characterData:!0}),x=function(){D.data=y=++y%2}):m?((b=new MessageChannel).port1.onmessage=v,x=function(){return b.port2.postMessage(0)}):x=void 0===c?function(){try{var e=Function("return this")().require("vertx");return void 0!==(n=e.runOnLoop||e.runOnContext)?function(){n(v)}:h()}catch(e){return h()}}():h();var F=Math.random().toString(36).substring(2);function C(){}var k=void 0,N=1,R=2;function _(t,r,n){r.constructor===t.constructor&&n===E&&r.constructor.resolve===A?function(e,t){t._state===N?O(e,t._result):t._state===R?M(e,t._result):P(t,void 0,(function(t){return T(e,t)}),(function(t){return M(e,t)}))}(t,r):void 0===n?O(t,r):e(n)?function(e,t,r){o((function(e){var n=!1,a=function(e,t,r,n){try{e.call(t,r,n)}catch(e){return e}}(r,t,(function(r){n||(n=!0,t!==r?T(e,r):O(e,r))}),(function(t){n||(n=!0,M(e,t))}),e._label);!n&&a&&(n=!0,M(e,a))}),e)}(t,r,n):O(t,r)}function T(e,t){if(e===t)M(e,new TypeError("You cannot resolve a promise with itself"));else if(a=l(n=t),null===n||"object"!==a&&"function"!==a)O(e,t);else{var r=void 0;try{r=t.then}catch(t){return void M(e,t)}_(e,t,r)}var n,a}function S(e){e._onerror&&e._onerror(e._result),I(e)}function O(e,t){e._state===k&&(e._result=t,e._state=N,0!==e._subscribers.length&&o(I,e))}function M(e,t){e._state===k&&(e._state=R,e._result=t,o(S,e))}function P(e,t,r,n){var a=e._subscribers,i=a.length;e._onerror=null,a[i]=t,a[i+N]=r,a[i+R]=n,0===i&&e._state&&o(I,e)}function I(e){var t=e._subscribers,r=e._state;if(0!==t.length){for(var n=void 0,a=void 0,o=e._result,i=0;i<t.length;i+=3)n=t[i],a=t[i+r],n?B(r,n,a,o):a(o);e._subscribers.length=0}}function B(t,r,n,a){var o=e(n),i=void 0,u=void 0,s=!0;if(o){try{i=n(a)}catch(e){s=!1,u=e}if(r===i)return void M(r,new TypeError("A promises callback cannot return that same promise."))}else i=a;r._state!==k||(o&&s?T(r,i):!1===s?M(r,u):t===N?O(r,i):t===R&&M(r,i))}var L=0;function j(e){e[F]=L++,e._state=void 0,e._result=void 0,e._subscribers=[]}var q=function(){function e(e,r){this._instanceConstructor=e,this.promise=new e(C),this.promise[F]||j(this.promise),t(r)?(this.length=r.length,this._remaining=r.length,this._result=new Array(this.length),0===this.length?O(this.promise,this._result):(this.length=this.length||0,this._enumerate(r),0===this._remaining&&O(this.promise,this._result))):M(this.promise,new Error("Array Methods must be provided an Array"))}return e.prototype._enumerate=function(e){for(var t=0;this._state===k&&t<e.length;t++)this._eachEntry(e[t],t)},e.prototype._eachEntry=function(e,t){var r=this._instanceConstructor,n=r.resolve;if(n===A){var a=void 0,o=void 0,i=!1;try{a=e.then}catch(e){i=!0,o=e}if(a===E&&e._state!==k)this._settledAt(e._state,t,e._result);else if("function"!=typeof a)this._remaining--,this._result[t]=e;else if(r===z){var u=new r(C);i?M(u,o):_(u,e,a),this._willSettleAt(u,t)}else this._willSettleAt(new r((function(t){return t(e)})),t)}else this._willSettleAt(n(e),t)},e.prototype._settledAt=function(e,t,r){var n=this.promise;n._state===k&&(this._remaining--,e===R?M(n,r):this._result[t]=r),0===this._remaining&&O(n,this._result)},e.prototype._willSettleAt=function(e,t){var r=this;P(e,void 0,(function(e){return r._settledAt(N,t,e)}),(function(e){return r._settledAt(R,t,e)}))},e}(),z=function(){function t(e){this[F]=L++,this._result=this._state=void 0,this._subscribers=[],C!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(e,t){try{t((function(t){T(e,t)}),(function(t){M(e,t)}))}catch(t){M(e,t)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(e){return this.then(null,e)},t.prototype.finally=function(t){var r=this,n=r.constructor;return e(t)?r.then((function(e){return n.resolve(t()).then((function(){return e}))}),(function(e){return n.resolve(t()).then((function(){throw e}))})):r.then(t,t)},t}();return z.prototype.then=E,z.all=function(e){return new q(this,e).promise},z.race=function(e){var r=this;return t(e)?new r((function(t,n){for(var a=e.length,o=0;o<a;o++)r.resolve(e[o]).then(t,n)})):new r((function(e,t){return t(new TypeError("You must pass an array to race."))}))},z.resolve=A,z.reject=function(e){var t=new this(C);return M(t,e),t},z._setScheduler=function(e){a=e},z._setAsap=function(e){o=e},z._asap=o,z.polyfill=function(){var e=void 0;if(void 0!==u)e=u;else if("undefined"!=typeof self)e=self;else try{e=Function("return this")()}catch(e){throw new Error("polyfill failed because global object is unavailable in this environment")}var t=e.Promise;if(t){var r=null;try{r=Object.prototype.toString.call(t.resolve())}catch(e){}if("[object Promise]"===r&&!t.cast)return}e.Promise=z},z.Promise=z,z},"object"===l(e)&&void 0!==t?t.exports=o():void 0===(a="function"==typeof(n=o)?n.call(e,r,e,t):n)||(t.exports=a)})),ve=pe((function(e){var t,r,n=(t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,{Class:function(e){return t.call(e).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,t){return r.call(e,t)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return 0|e},ToUint32:function(e){return e>>>0}}),a=Math.LN2,o=Math.abs,i=Math.floor,u=Math.log,s=Math.min,c=Math.pow,d=Math.round;function p(e,t,r){return e<t?t:e>r?r:e}var f,m=Object.getOwnPropertyNames||function(e){if(e!==Object(e))throw new TypeError("Object.getOwnPropertyNames called on non-object");var t,r=[];for(t in e)n.HasOwnProperty(e,t)&&r.push(t);return r};function h(e){if(m&&f){var t,r=m(e);for(t=0;t<r.length;t+=1)f(e,r[t],{value:e[r[t]],writable:!1,enumerable:!1,configurable:!1})}}function g(e,t){var r=32-t;return e<<r>>r}function v(e,t){var r=32-t;return e<<r>>>r}function b(e){return[255&e]}function y(e){return g(e[0],8)}function w(e){return[255&e]}function D(e){return v(e[0],8)}function x(e){return[(e=d(Number(e)))<0?0:e>255?255:255&e]}function E(e){return[e>>8&255,255&e]}function A(e){return g(e[0]<<8|e[1],16)}function F(e){return[e>>8&255,255&e]}function C(e){return v(e[0]<<8|e[1],16)}function k(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function N(e){return g(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function R(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function _(e){return v(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function T(e,t,r){var n,l,d,p,f,m,h,g=(1<<t-1)-1;function v(e){var t=i(e),r=e-t;return r<.5?t:r>.5||t%2?t+1:t}for(e!=e?(l=(1<<t)-1,d=c(2,r-1),n=0):e===1/0||e===-1/0?(l=(1<<t)-1,d=0,n=e<0?1:0):0===e?(l=0,d=0,n=1/e==-1/0?1:0):(n=e<0,(e=o(e))>=c(2,1-g)?(l=s(i(u(e)/a),1023),(d=v(e/c(2,l)*c(2,r)))/c(2,r)>=2&&(l+=1,d=1),l>g?(l=(1<<t)-1,d=0):(l+=g,d-=c(2,r))):(l=0,d=v(e/c(2,1-g-r)))),f=[],p=r;p;p-=1)f.push(d%2?1:0),d=i(d/2);for(p=t;p;p-=1)f.push(l%2?1:0),l=i(l/2);for(f.push(n?1:0),f.reverse(),m=f.join(""),h=[];m.length;)h.push(parseInt(m.substring(0,8),2)),m=m.substring(8);return h}function S(e,t,r){var n,a,o,i,u,s,l,d,p=[];for(n=e.length;n;n-=1)for(o=e[n-1],a=8;a;a-=1)p.push(o%2?1:0),o>>=1;return p.reverse(),i=p.join(""),u=(1<<t-1)-1,s=parseInt(i.substring(0,1),2)?-1:1,l=parseInt(i.substring(1,1+t),2),d=parseInt(i.substring(1+t),2),l===(1<<t)-1?0===d?s*(1/0):NaN:l>0?s*c(2,l-u)*(1+d/c(2,r)):0!==d?s*c(2,-(u-1))*(d/c(2,r)):s<0?-0:0}function O(e){return S(e,11,52)}function M(e){return T(e,11,52)}function P(e){return S(e,8,23)}function I(e){return T(e,8,23)}f=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{}),!0}catch(e){return!1}}()?Object.defineProperty:function(e,t,r){if(!e===Object(e))throw new TypeError("Object.defineProperty called on non-object");return n.HasProperty(r,"get")&&Object.prototype.__defineGetter__&&Object.prototype.__defineGetter__.call(e,t,r.get),n.HasProperty(r,"set")&&Object.prototype.__defineSetter__&&Object.prototype.__defineSetter__.call(e,t,r.set),n.HasProperty(r,"value")&&(e[t]=r.value),e},function(){function t(e){if((e=n.ToInt32(e))<0)throw new RangeError("ArrayBuffer size is not a small enough positive integer");var t;for(this.byteLength=e,this._bytes=[],this._bytes.length=e,t=0;t<this.byteLength;t+=1)this._bytes[t]=0;h(this)}function r(){}function a(e,a,o){var i;return i=function(e,r,a){var o,u,s,c;if(arguments.length&&"number"!=typeof arguments[0])if("object"===l(arguments[0])&&arguments[0].constructor===i)for(o=arguments[0],this.length=o.length,this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s<this.length;s+=1)this._setter(s,o._getter(s));else if("object"!==l(arguments[0])||(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0]))){if("object"!==l(arguments[0])||!(arguments[0]instanceof t||"ArrayBuffer"===n.Class(arguments[0])))throw new TypeError("Unexpected argument type(s)");if(this.buffer=e,this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw new RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw new RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(a),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer")}else for(u=arguments[0],this.length=n.ToUint32(u.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0,s=0;s<this.length;s+=1)c=u[s],this._setter(s,Number(c));else{if(this.length=n.ToInt32(arguments[0]),a<0)throw new RangeError("ArrayBufferView size is not a small enough positive integer");this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new t(this.byteLength),this.byteOffset=0}this.constructor=i,h(this),function(e){if(f){if(e.length>1e5)throw new RangeError("Array too large for polyfill");var t;for(t=0;t<e.length;t+=1)r(t)}function r(t){f(e,t,{get:function(){return e._getter(t)},set:function(r){e._setter(t,r)},enumerable:!0,configurable:!1})}}(this)},i.prototype=new r,i.prototype.BYTES_PER_ELEMENT=e,i.prototype._pack=a,i.prototype._unpack=o,i.BYTES_PER_ELEMENT=e,i.prototype._getter=function(e){if(arguments.length<1)throw new SyntaxError("Not enough arguments");if(!((e=n.ToUint32(e))>=this.length)){for(var t=[],r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)t.push(this.buffer._bytes[a]);return this._unpack(t)}},i.prototype.get=i.prototype._getter,i.prototype._setter=function(e,t){if(arguments.length<2)throw new SyntaxError("Not enough arguments");if((e=n.ToUint32(e))<this.length){var r,a,o=this._pack(t);for(r=0,a=this.byteOffset+e*this.BYTES_PER_ELEMENT;r<this.BYTES_PER_ELEMENT;r+=1,a+=1)this.buffer._bytes[a]=o[r]}},i.prototype.set=function(e,t){if(arguments.length<1)throw new SyntaxError("Not enough arguments");var r,a,o,i,u,s,c,d,p,f;if("object"===l(arguments[0])&&arguments[0].constructor===this.constructor){if(r=arguments[0],(o=n.ToUint32(arguments[1]))+r.length>this.length)throw new RangeError("Offset plus length of array is out of range");if(d=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(f=[],u=0,s=r.byteOffset;u<p;u+=1,s+=1)f[u]=r.buffer._bytes[s];for(u=0,c=d;u<p;u+=1,c+=1)this.buffer._bytes[c]=f[u]}else for(u=0,s=r.byteOffset,c=d;u<p;u+=1,s+=1,c+=1)this.buffer._bytes[c]=r.buffer._bytes[s]}else{if("object"!==l(arguments[0])||void 0===arguments[0].length)throw new TypeError("Unexpected argument type(s)");if(a=arguments[0],i=n.ToUint32(a.length),(o=n.ToUint32(arguments[1]))+i>this.length)throw new RangeError("Offset plus length of array is out of range");for(u=0;u<i;u+=1)s=a[u],this._setter(o+u,Number(s))}},i.prototype.subarray=function(e,t){e=n.ToInt32(e),t=n.ToInt32(t),arguments.length<1&&(e=0),arguments.length<2&&(t=this.length),e<0&&(e=this.length+e),t<0&&(t=this.length+t),e=p(e,0,this.length);var r=(t=p(t,0,this.length))-e;return r<0&&(r=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,r)},i}e.ArrayBuffer=e.ArrayBuffer||t;var o=a(1,b,y),i=a(1,w,D),u=a(1,x,D),s=a(2,E,A),c=a(2,F,C),d=a(4,k,N),m=a(4,R,_),g=a(4,I,P),v=a(8,M,O);e.Int8Array=e.Int8Array||o,e.Uint8Array=e.Uint8Array||i,e.Uint8ClampedArray=e.Uint8ClampedArray||u,e.Int16Array=e.Int16Array||s,e.Uint16Array=e.Uint16Array||c,e.Int32Array=e.Int32Array||d,e.Uint32Array=e.Uint32Array||m,e.Float32Array=e.Float32Array||g,e.Float64Array=e.Float64Array||v}(),function(){function t(e,t){return n.IsCallable(e.get)?e.get(t):e[t]}var r,a=(r=new e.Uint16Array([4660]),18===t(new e.Uint8Array(r.buffer),0));function o(t,r,a){if(0===arguments.length)t=new e.ArrayBuffer(0);else if(!(t instanceof e.ArrayBuffer||"ArrayBuffer"===n.Class(t)))throw new TypeError("TypeError");if(this.buffer=t||new e.ArrayBuffer(0),this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw new RangeError("byteOffset out of range");if(this.byteLength=arguments.length<3?this.buffer.byteLength-this.byteOffset:n.ToUint32(a),this.byteOffset+this.byteLength>this.buffer.byteLength)throw new RangeError("byteOffset and length reference an area beyond the end of the buffer");h(this)}function i(r){return function(o,i){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");o+=this.byteOffset;var u,s=new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT),l=[];for(u=0;u<r.BYTES_PER_ELEMENT;u+=1)l.push(t(s,u));return Boolean(i)===Boolean(a)&&l.reverse(),t(new r(new e.Uint8Array(l).buffer),0)}}function u(r){return function(o,i,u){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw new RangeError("Array index out of range");var s,l=new r([i]),c=new e.Uint8Array(l.buffer),d=[];for(s=0;s<r.BYTES_PER_ELEMENT;s+=1)d.push(t(c,s));Boolean(u)===Boolean(a)&&d.reverse(),new e.Uint8Array(this.buffer,o,r.BYTES_PER_ELEMENT).set(d)}}o.prototype.getUint8=i(e.Uint8Array),o.prototype.getInt8=i(e.Int8Array),o.prototype.getUint16=i(e.Uint16Array),o.prototype.getInt16=i(e.Int16Array),o.prototype.getUint32=i(e.Uint32Array),o.prototype.getInt32=i(e.Int32Array),o.prototype.getFloat32=i(e.Float32Array),o.prototype.getFloat64=i(e.Float64Array),o.prototype.setUint8=u(e.Uint8Array),o.prototype.setInt8=u(e.Int8Array),o.prototype.setUint16=u(e.Uint16Array),o.prototype.setInt16=u(e.Int16Array),o.prototype.setUint32=u(e.Uint32Array),o.prototype.setInt32=u(e.Int32Array),o.prototype.setFloat32=u(e.Float32Array),o.prototype.setFloat64=u(e.Float64Array),e.DataView=e.DataView||o}()})),be=pe((function(e){!function(e){"use strict";if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,r=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),n=function(e,t,n){r?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:n}):e[t]=n};e.WeakMap=function(){function e(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(n(this,"_id","_WeakMap"+"_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function r(e,r){if(!a(e)||!t.call(e,"_id"))throw new TypeError(r+" method called on incompatible receiver "+l(e))}function o(){return Math.random().toString().substring(2)}return n(e.prototype,"delete",(function(e){if(r(this,"delete"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)&&(delete e[this._id],!0)})),n(e.prototype,"get",(function(e){if(r(this,"get"),a(e)){var t=e[this._id];return t&&t[0]===e?t[1]:void 0}})),n(e.prototype,"has",(function(e){if(r(this,"has"),!a(e))return!1;var t=e[this._id];return!(!t||t[0]!==e)})),n(e.prototype,"set",(function(e,t){if(r(this,"set"),!a(e))throw new TypeError("Invalid value used as weak map key");var o=e[this._id];return o&&o[0]===e?(o[1]=t,this):(n(e,this._id,[e,t]),this)})),n(e,"_polyfill",!0),e}()}function a(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:void 0!==i?i:void 0!==u?u:e)})),ye=pe((function(e,t){"use strict";var r=function(e){return e&&e.Math===Math&&e};t.exports=r("object"==("undefined"==typeof globalThis?"undefined":l(globalThis))&&globalThis)||r("object"==(void 0===i?"undefined":l(i))&&i)||r("object"==("undefined"==typeof self?"undefined":l(self))&&self)||r("object"==(void 0===u?"undefined":l(u))&&u)||r("object"==l(e)&&e)||function(){return this}()||Function("return this")()})),we=pe((function(e,t){"use strict";t.exports=function(e){try{return!!e()}catch(e){return!0}}})),De=pe((function(e,t){"use strict";var r=we();t.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))})),xe=pe((function(e,t){"use strict";var r=De(),n=Function.prototype,a=n.apply,o=n.call;t.exports="object"==("undefined"==typeof Reflect?"undefined":l(Reflect))&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})})),Ee=pe((function(e,t){"use strict";var r=De(),n=Function.prototype,a=n.call,o=r&&n.bind.bind(a,a);t.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}})),Ae=pe((function(e,t){"use strict";var r=Ee(),n=r({}.toString),a=r("".slice);t.exports=function(e){return a(n(e),8,-1)}})),Fe=pe((function(e,t){"use strict";var r=Ae(),n=Ee();t.exports=function(e){if("Function"===r(e))return n(e)}})),Ce=pe((function(e,t){"use strict";var r="object"==(void 0===s?"undefined":l(s))&&s.all;t.exports=void 0===r&&void 0!==r?function(e){return"function"==typeof e||e===r}:function(e){return"function"==typeof e}})),ke=pe((function(e,t){"use strict";var r=we();t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))})),Ne=pe((function(e,t){"use strict";var r=De(),n=Function.prototype.call;t.exports=r?n.bind(n):function(){return n.apply(n,arguments)}})),Re=pe((function(e){"use strict";var t={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,n=r&&!t.call({1:2},1);e.f=n?function(e){var t=r(this,e);return!!t&&t.enumerable}:t})),_e=pe((function(e,t){"use strict";t.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}})),Te=pe((function(e,t){"use strict";var r=Ee(),n=we(),a=Ae(),o=Object,i=r("".split);t.exports=n((function(){return!o("z").propertyIsEnumerable(0)}))?function(e){return"String"===a(e)?i(e,""):o(e)}:o})),Se=pe((function(e,t){"use strict";t.exports=function(e){return null==e}})),Oe=pe((function(e,t){"use strict";var r=Se(),n=TypeError;t.exports=function(e){if(r(e))throw new n("Can't call method on "+e);return e}})),Me=pe((function(e,t){"use strict";var r=Te(),n=Oe();t.exports=function(e){return r(n(e))}})),Pe=pe((function(e,t){"use strict";var r=Ce();t.exports=function(e){return"object"==l(e)?null!==e:r(e)}})),Ie=pe((function(e,t){"use strict";t.exports={}})),Be=pe((function(e,t){"use strict";var r=Ie(),n=ye(),a=Ce(),o=function(e){return a(e)?e:void 0};t.exports=function(e,t){return arguments.length<2?o(r[e])||o(n[e]):r[e]&&r[e][t]||n[e]&&n[e][t]}})),Le=pe((function(e,t){"use strict";var r=Ee();t.exports=r({}.isPrototypeOf)})),je=pe((function(e,t){"use strict";var r=ye().navigator,n=r&&r.userAgent;t.exports=n?String(n):""})),qe=pe((function(e,t){"use strict";var r,n,a=ye(),o=je(),i=a.process,u=a.Deno,s=i&&i.versions||u&&u.version,l=s&&s.v8;l&&(n=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!n&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(n=+r[1]),t.exports=n})),ze=pe((function(e,t){"use strict";var r=qe(),n=we(),a=ye().String;t.exports=!!Object.getOwnPropertySymbols&&!n((function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))})),Ve=pe((function(e,t){"use strict";var r=ze();t.exports=r&&!Symbol.sham&&"symbol"==l(Symbol.iterator)})),Ge=pe((function(e,t){"use strict";var r=Be(),n=Ce(),a=Le(),o=Ve(),i=Object;t.exports=o?function(e){return"symbol"==l(e)}:function(e){var t=r("Symbol");return n(t)&&a(t.prototype,i(e))}})),$e=pe((function(e,t){"use strict";var r=String;t.exports=function(e){try{return r(e)}catch(e){return"Object"}}})),He=pe((function(e,t){"use strict";var r=Ce(),n=$e(),a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not a function")}})),Ue=pe((function(e,t){"use strict";var r=He(),n=Se();t.exports=function(e,t){var a=e[t];return n(a)?void 0:r(a)}})),We=pe((function(e,t){"use strict";var r=Ne(),n=Ce(),a=Pe(),o=TypeError;t.exports=function(e,t){var i,u;if("string"===t&&n(i=e.toString)&&!a(u=r(i,e)))return u;if(n(i=e.valueOf)&&!a(u=r(i,e)))return u;if("string"!==t&&n(i=e.toString)&&!a(u=r(i,e)))return u;throw new o("Can't convert object to primitive value")}})),Ye=pe((function(e,t){"use strict";t.exports=!0})),Ke=pe((function(e,t){"use strict";var r=ye(),n=Object.defineProperty;t.exports=function(e,t){try{n(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}})),Xe=pe((function(e,t){"use strict";var r=Ye(),n=ye(),a=Ke(),o="__core-js_shared__",i=t.exports=n[o]||a(o,{});(i.versions||(i.versions=[])).push({version:"3.44.0",mode:r?"pure":"global",copyright:"© 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.44.0/LICENSE",source:"https://github.com/zloirock/core-js"})})),Ze=pe((function(e,t){"use strict";var r=Xe();t.exports=function(e,t){return r[e]||(r[e]=t||{})}})),Je=pe((function(e,t){"use strict";var r=Oe(),n=Object;t.exports=function(e){return n(r(e))}})),Qe=pe((function(e,t){"use strict";var r=Ee(),n=Je(),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(e,t){return a(n(e),t)}})),et=pe((function(e,t){"use strict";var r=Ee(),n=0,a=Math.random(),o=r(1.1.toString);t.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++n+a,36)}})),tt=pe((function(e,t){"use strict";var r=ye(),n=Ze(),a=Qe(),o=et(),i=ze(),u=Ve(),s=r.Symbol,l=n("wks"),c=u?s.for||s:s&&s.withoutSetter||o;t.exports=function(e){return a(l,e)||(l[e]=i&&a(s,e)?s[e]:c("Symbol."+e)),l[e]}})),rt=pe((function(e,t){"use strict";var r=Ne(),n=Pe(),a=Ge(),o=Ue(),i=We(),u=tt(),s=TypeError,l=u("toPrimitive");t.exports=function(e,t){if(!n(e)||a(e))return e;var u,c=o(e,l);if(c){if(void 0===t&&(t="default"),u=r(c,e,t),!n(u)||a(u))return u;throw new s("Can't convert object to primitive value")}return void 0===t&&(t="number"),i(e,t)}})),nt=pe((function(e,t){"use strict";var r=rt(),n=Ge();t.exports=function(e){var t=r(e,"string");return n(t)?t:t+""}})),at=pe((function(e,t){"use strict";var r=ye(),n=Pe(),a=r.document,o=n(a)&&n(a.createElement);t.exports=function(e){return o?a.createElement(e):{}}})),ot=pe((function(e,t){"use strict";var r=ke(),n=we(),a=at();t.exports=!r&&!n((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))})),it=pe((function(e){"use strict";var t=ke(),r=Ne(),n=Re(),a=_e(),o=Me(),i=nt(),u=Qe(),s=ot(),l=Object.getOwnPropertyDescriptor;e.f=t?l:function(e,t){if(e=o(e),t=i(t),s)try{return l(e,t)}catch(e){}if(u(e,t))return a(!r(n.f,e,t),e[t])}})),ut=pe((function(e,t){"use strict";var r=we(),n=Ce(),a=/#|\.prototype\./,o=function(e,t){var a=u[i(e)];return a===l||a!==s&&(n(t)?r(t):!!t)},i=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},u=o.data={},s=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o})),st=pe((function(e,t){"use strict";var r=Fe(),n=He(),a=De(),o=r(r.bind);t.exports=function(e,t){return n(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}})),lt=pe((function(e,t){"use strict";var r=ke(),n=we();t.exports=r&&n((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))})),ct=pe((function(e,t){"use strict";var r=Pe(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a(n(e)+" is not an object")}})),dt=pe((function(e){"use strict";var t=ke(),r=ot(),n=lt(),a=ct(),o=nt(),i=TypeError,u=Object.defineProperty,s=Object.getOwnPropertyDescriptor,l="enumerable",c="configurable",d="writable";e.f=t?n?function(e,t,r){if(a(e),t=o(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=s(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:c in r?r[c]:n[c],enumerable:l in r?r[l]:n[l],writable:!1})}return u(e,t,r)}:u:function(e,t,n){if(a(e),t=o(t),a(n),r)try{return u(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new i("Accessors not supported");return"value"in n&&(e[t]=n.value),e}})),pt=pe((function(e,t){"use strict";var r=ke(),n=dt(),a=_e();t.exports=r?function(e,t,r){return n.f(e,t,a(1,r))}:function(e,t,r){return e[t]=r,e}})),ft=pe((function(e,t){"use strict";var r=ye(),n=xe(),a=Fe(),o=Ce(),i=it().f,u=ut(),s=Ie(),c=st(),d=pt(),p=Qe();Xe();var f=function(e){var t=function(r,a,o){if(this instanceof t){switch(arguments.length){case 0:return new e;case 1:return new e(r);case 2:return new e(r,a)}return new e(r,a,o)}return n(e,this,arguments)};return t.prototype=e.prototype,t};t.exports=function(e,t){var n,m,h,g,v,b,y,w,D,x=e.target,E=e.global,A=e.stat,F=e.proto,C=E?r:A?r[x]:r[x]&&r[x].prototype,k=E?s:s[x]||d(s,x,{})[x],N=k.prototype;for(g in t)m=!(n=u(E?g:x+(A?".":"#")+g,e.forced))&&C&&p(C,g),b=k[g],m&&(y=e.dontCallGetSet?(D=i(C,g))&&D.value:C[g]),v=m&&y?y:t[g],(n||F||l(b)!=l(v))&&(w=e.bind&&m?c(v,r):e.wrap&&m?f(v):F&&o(v)?a(v):v,(e.sham||v&&v.sham||b&&b.sham)&&d(w,"sham",!0),d(k,g,w),F&&(p(s,h=x+"Prototype")||d(s,h,{}),d(s[h],g,v),e.real&&N&&(n||!N[g])&&d(N,g,v)))}})),mt=pe((function(){"use strict";ft()({target:"Object",stat:!0},{hasOwn:Qe()})})),ht=pe((function(e,t){"use strict";mt();var r=Ie();t.exports=r.Object.hasOwn})),gt=pe((function(e,t){"use strict";var r=ht();t.exports=r})),vt=pe((function(e,t){"use strict";var r=gt();t.exports=r})),bt=pe((function(e,t){"use strict";var r=Ze(),n=et(),a=r("keys");t.exports=function(e){return a[e]||(a[e]=n(e))}})),yt=pe((function(e,t){"use strict";var r=we();t.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))})),wt=pe((function(e,t){"use strict";var r=Qe(),n=Ce(),a=Je(),o=bt(),i=yt(),u=o("IE_PROTO"),s=Object,l=s.prototype;t.exports=i?s.getPrototypeOf:function(e){var t=a(e);if(r(t,u))return t[u];var o=t.constructor;return n(o)&&t instanceof o?o.prototype:t instanceof s?l:null}})),Dt=pe((function(e,t){"use strict";var r=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(e){var t=+e;return(t>0?n:r)(t)}})),xt=pe((function(e,t){"use strict";var r=Dt();t.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}})),Et=pe((function(e,t){"use strict";var r=xt(),n=Math.max,a=Math.min;t.exports=function(e,t){var o=r(e);return o<0?n(o+t,0):a(o,t)}})),At=pe((function(e,t){"use strict";var r=xt(),n=Math.min;t.exports=function(e){var t=r(e);return t>0?n(t,9007199254740991):0}})),Ft=pe((function(e,t){"use strict";var r=At();t.exports=function(e){return r(e.length)}})),Ct=pe((function(e,t){"use strict";var r=Me(),n=Et(),a=Ft(),o=function(e){return function(t,o,i){var u=r(t),s=a(u);if(0===s)return!e&&-1;var l,c=n(i,s);if(e&&o!=o){for(;s>c;)if((l=u[c++])!=l)return!0}else for(;s>c;c++)if((e||c in u)&&u[c]===o)return e||c||0;return!e&&-1}};t.exports={includes:o(!0),indexOf:o(!1)}})),kt=pe((function(e,t){"use strict";t.exports={}})),Nt=pe((function(e,t){"use strict";var r=Ee(),n=Qe(),a=Me(),o=Ct().indexOf,i=kt(),u=r([].push);t.exports=function(e,t){var r,s=a(e),l=0,c=[];for(r in s)!n(i,r)&&n(s,r)&&u(c,r);for(;t.length>l;)n(s,r=t[l++])&&(~o(c,r)||u(c,r));return c}})),Rt=pe((function(e,t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]})),_t=pe((function(e,t){"use strict";var r=Nt(),n=Rt();t.exports=Object.keys||function(e){return r(e,n)}})),Tt=pe((function(e,t){"use strict";var r=ke(),n=we(),a=Ee(),o=wt(),i=_t(),u=Me(),s=a(Re().f),l=a([].push),c=r&&n((function(){var e=Object.create(null);return e[2]=2,!s(e,2)})),d=function(e){return function(t){for(var n,a=u(t),d=i(a),p=c&&null===o(a),f=d.length,m=0,h=[];f>m;)n=d[m++],r&&!(p?n in a:s(a,n))||l(h,e?[n,a[n]]:a[n]);return h}};t.exports={entries:d(!0),values:d(!1)}})),St=pe((function(){"use strict";var e=ft(),t=Tt().values;e({target:"Object",stat:!0},{values:function(e){return t(e)}})})),Ot=pe((function(e,t){"use strict";St();var r=Ie();t.exports=r.Object.values})),Mt=pe((function(e,t){"use strict";var r=Ot();t.exports=r})),Pt=pe((function(e,t){"use strict";var r=Mt();t.exports=r})),It=pe((function(e,t){"use strict";var r={};r[tt()("toStringTag")]="z",t.exports="[object z]"===String(r)})),Bt=pe((function(e,t){"use strict";var r=It(),n=Ce(),a=Ae(),o=tt()("toStringTag"),i=Object,u="Arguments"===a(function(){return arguments}());t.exports=r?a:function(e){var t,r,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(e){}}(t=i(e),o))?r:u?a(t):"Object"===(s=a(t))&&n(t.callee)?"Arguments":s}})),Lt=pe((function(e,t){"use strict";var r=Bt(),n=String;t.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return n(e)}})),jt=pe((function(e,t){"use strict";var r=Ee(),n=xt(),a=Lt(),o=Oe(),i=r("".charAt),u=r("".charCodeAt),s=r("".slice),l=function(e){return function(t,r){var l,c,d=a(o(t)),p=n(r),f=d.length;return p<0||p>=f?e?"":void 0:(l=u(d,p))<55296||l>56319||p+1===f||(c=u(d,p+1))<56320||c>57343?e?i(d,p):l:e?s(d,p,p+2):c-56320+(l-55296<<10)+65536}};t.exports={codeAt:l(!1),charAt:l(!0)}})),qt=pe((function(e,t){"use strict";var r=ye(),n=Ce(),a=r.WeakMap;t.exports=n(a)&&/native code/.test(String(a))})),zt=pe((function(e,t){"use strict";var r,n,a,o,i,u=qt(),s=ye(),l=Pe(),c=pt(),d=Qe(),p=Xe(),f=bt(),m=kt(),h="Object already initialized",g=s.TypeError,v=s.WeakMap;u||p.state?((o=p.state||(p.state=new v)).get=o.get,o.has=o.has,o.set=o.set,r=function(e,t){if(o.has(e))throw new g(h);return t.facade=e,o.set(e,t),t},n=function(e){return o.get(e)||{}},a=function(e){return o.has(e)}):(m[i=f("state")]=!0,r=function(e,t){if(d(e,i))throw new g(h);return t.facade=e,c(e,i,t),t},n=function(e){return d(e,i)?e[i]:{}},a=function(e){return d(e,i)}),t.exports={set:r,get:n,has:a,enforce:function(e){return a(e)?n(e):r(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=n(t)).type!==e)throw new g("Incompatible receiver, "+e+" required");return r}}}})),Vt=pe((function(e,t){"use strict";var r=ke(),n=Qe(),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,i=n(a,"name"),u=i&&"something"===function(){}.name,s=i&&(!r||r&&o(a,"name").configurable);t.exports={EXISTS:i,PROPER:u,CONFIGURABLE:s}})),Gt=pe((function(e){"use strict";var t=ke(),r=lt(),n=dt(),a=ct(),o=Me(),i=_t();e.f=t&&!r?Object.defineProperties:function(e,t){a(e);for(var r,u=o(t),s=i(t),l=s.length,c=0;l>c;)n.f(e,r=s[c++],u[r]);return e}})),$t=pe((function(e,t){"use strict";var r=Be();t.exports=r("document","documentElement")})),Ht=pe((function(e,t){"use strict";var r,n=ct(),a=Gt(),o=Rt(),i=kt(),u=$t(),l=at(),c=bt(),d="prototype",p="script",f=c("IE_PROTO"),m=function(){},h=function(e){return"<"+p+">"+e+"</"+p+">"},g=function(e){e.write(h("")),e.close();var t=e.parentWindow.Object;return e=null,t},v=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;v=void 0!==s?s.domain&&r?g(r):(t=l("iframe"),n="java"+p+":",t.style.display="none",u.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(h("document.F=Object")),e.close(),e.F):g(r);for(var a=o.length;a--;)delete v[d][o[a]];return v()};i[f]=!0,t.exports=Object.create||function(e,t){var r;return null!==e?(m[d]=n(e),r=new m,m[d]=null,r[f]=e):r=v(),void 0===t?r:a.f(r,t)}})),Ut=pe((function(e,t){"use strict";var r=pt();t.exports=function(e,t,n,a){return a&&a.enumerable?e[t]=n:r(e,t,n),e}})),Wt=pe((function(e,t){"use strict";var r,n,a,o=we(),i=Ce(),u=Pe(),s=Ht(),l=wt(),c=Ut(),d=tt(),p=Ye(),f=d("iterator"),m=!1;[].keys&&("next"in(a=[].keys())?(n=l(l(a)))!==Object.prototype&&(r=n):m=!0),!u(r)||o((function(){var e={};return r[f].call(e)!==e}))?r={}:p&&(r=s(r)),i(r[f])||c(r,f,(function(){return this})),t.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}})),Yt=pe((function(e,t){"use strict";var r=It(),n=Bt();t.exports=r?{}.toString:function(){return"[object "+n(this)+"]"}})),Kt=pe((function(e,t){"use strict";var r=It(),n=dt().f,a=pt(),o=Qe(),i=Yt(),u=tt()("toStringTag");t.exports=function(e,t,s,l){var c=s?e:e&&e.prototype;c&&(o(c,u)||n(c,u,{configurable:!0,value:t}),l&&!r&&a(c,"toString",i))}})),Xt=pe((function(e,t){"use strict";t.exports={}})),Zt=pe((function(e,t){"use strict";var r=Wt().IteratorPrototype,n=Ht(),a=_e(),o=Kt(),i=Xt(),u=function(){return this};t.exports=function(e,t,s,l){var c=t+" Iterator";return e.prototype=n(r,{next:a(+!l,s)}),o(e,c,!1,!0),i[c]=u,e}})),Jt=pe((function(e,t){"use strict";var r=Ee(),n=He();t.exports=function(e,t,a){try{return r(n(Object.getOwnPropertyDescriptor(e,t)[a]))}catch(e){}}})),Qt=pe((function(e,t){"use strict";var r=Pe();t.exports=function(e){return r(e)||null===e}})),er=pe((function(e,t){"use strict";var r=Qt(),n=String,a=TypeError;t.exports=function(e){if(r(e))return e;throw new a("Can't set "+n(e)+" as a prototype")}})),tr=pe((function(e,t){"use strict";var r=Jt(),n=Pe(),a=Oe(),o=er();t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,i={};try{(e=r(Object.prototype,"__proto__","set"))(i,[]),t=i instanceof Array}catch(e){}return function(r,i){return a(r),o(i),n(r)?(t?e(r,i):r.__proto__=i,r):r}}():void 0)})),rr=pe((function(e,t){"use strict";var r=ft(),n=Ne(),a=Ye(),o=Vt(),i=Ce(),u=Zt(),s=wt(),l=tr(),c=Kt(),d=pt(),p=Ut(),f=tt(),m=Xt(),h=Wt(),g=o.PROPER,v=o.CONFIGURABLE,b=h.IteratorPrototype,y=h.BUGGY_SAFARI_ITERATORS,w=f("iterator"),D="keys",x="values",E="entries",A=function(){return this};t.exports=function(e,t,o,f,h,F,C){u(o,t,f);var k,N,R,_=function(e){if(e===h&&P)return P;if(!y&&e&&e in O)return O[e];switch(e){case D:case x:case E:return function(){return new o(this,e)}}return function(){return new o(this)}},T=t+" Iterator",S=!1,O=e.prototype,M=O[w]||O["@@iterator"]||h&&O[h],P=!y&&M||_(h),I="Array"===t&&O.entries||M;if(I&&(k=s(I.call(new e)))!==Object.prototype&&k.next&&(a||s(k)===b||(l?l(k,b):i(k[w])||p(k,w,A)),c(k,T,!0,!0),a&&(m[T]=A)),g&&h===x&&M&&M.name!==x&&(!a&&v?d(O,"name",x):(S=!0,P=function(){return n(M,this)})),h)if(N={values:_(x),keys:F?P:_(D),entries:_(E)},C)for(R in N)(y||S||!(R in O))&&p(O,R,N[R]);else r({target:t,proto:!0,forced:y||S},N);return a&&!C||O[w]===P||p(O,w,P,{name:h}),m[t]=P,N}})),nr=pe((function(e,t){"use strict";t.exports=function(e,t){return{value:e,done:t}}})),ar=pe((function(){"use strict";var e=jt().charAt,t=Lt(),r=zt(),n=rr(),a=nr(),o="String Iterator",i=r.set,u=r.getterFor(o);n(String,"String",(function(e){i(this,{type:o,string:t(e),index:0})}),(function(){var t,r=u(this),n=r.string,o=r.index;return o>=n.length?a(void 0,!0):(t=e(n,o),r.index+=t.length,a(t,!1))}))})),or=pe((function(e,t){"use strict";var r=Ne(),n=ct(),a=Ue();t.exports=function(e,t,o){var i,u;n(e);try{if(!(i=a(e,"return"))){if("throw"===t)throw o;return o}i=r(i,e)}catch(e){u=!0,i=e}if("throw"===t)throw o;if(u)throw i;return n(i),o}})),ir=pe((function(e,t){"use strict";var r=ct(),n=or();t.exports=function(e,t,a,o){try{return o?t(r(a)[0],a[1]):t(a)}catch(t){n(e,"throw",t)}}})),ur=pe((function(e,t){"use strict";var r=tt(),n=Xt(),a=r("iterator"),o=Array.prototype;t.exports=function(e){return void 0!==e&&(n.Array===e||o[a]===e)}})),sr=pe((function(e,t){"use strict";var r=Ee(),n=Ce(),a=Xe(),o=r(Function.toString);n(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),t.exports=a.inspectSource})),lr=pe((function(e,t){"use strict";var r=Ee(),n=we(),a=Ce(),o=Bt(),i=Be(),u=sr(),s=function(){},l=i("Reflect","construct"),c=/^\s*(?:class|function)\b/,d=r(c.exec),p=!c.test(s),f=function(e){if(!a(e))return!1;try{return l(s,[],e),!0}catch(e){return!1}},m=function(e){if(!a(e))return!1;switch(o(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!d(c,u(e))}catch(e){return!0}};m.sham=!0,t.exports=!l||n((function(){var e;return f(f.call)||!f(Object)||!f((function(){e=!0}))||e}))?m:f})),cr=pe((function(e,t){"use strict";var r=ke(),n=dt(),a=_e();t.exports=function(e,t,o){r?n.f(e,t,a(0,o)):e[t]=o}})),dr=pe((function(e,t){"use strict";var r=Bt(),n=Ue(),a=Se(),o=Xt(),i=tt()("iterator");t.exports=function(e){if(!a(e))return n(e,i)||n(e,"@@iterator")||o[r(e)]}})),pr=pe((function(e,t){"use strict";var r=Ne(),n=He(),a=ct(),o=$e(),i=dr(),u=TypeError;t.exports=function(e,t){var s=arguments.length<2?i(e):t;if(n(s))return a(r(s,e));throw new u(o(e)+" is not iterable")}})),fr=pe((function(e,t){"use strict";var r=st(),n=Ne(),a=Je(),o=ir(),i=ur(),u=lr(),s=Ft(),l=cr(),c=pr(),d=dr(),p=Array;t.exports=function(e){var t=a(e),f=u(this),m=arguments.length,h=m>1?arguments[1]:void 0,g=void 0!==h;g&&(h=r(h,m>2?arguments[2]:void 0));var v,b,y,w,D,x,E=d(t),A=0;if(!E||this===p&&i(E))for(v=s(t),b=f?new this(v):p(v);v>A;A++)x=g?h(t[A],A):t[A],l(b,A,x);else for(b=f?new this:[],D=(w=c(t,E)).next;!(y=n(D,w)).done;A++)x=g?o(w,h,[y.value,A],!0):y.value,l(b,A,x);return b.length=A,b}})),mr=pe((function(e,t){"use strict";var r,n,a=tt()("iterator"),o=!1;try{r=0,(n={next:function(){return{done:!!r++}},return:function(){o=!0}})[a]=function(){return this},Array.from(n,(function(){throw 2}))}catch(e){}t.exports=function(e,t){try{if(!t&&!o)return!1}catch(e){return!1}var r=!1;try{var n={};n[a]=function(){return{next:function(){return{done:r=!0}}}},e(n)}catch(e){}return r}})),hr=pe((function(){"use strict";var e=ft(),t=fr();e({target:"Array",stat:!0,forced:!mr()((function(e){Array.from(e)}))},{from:t})})),gr=pe((function(e,t){"use strict";ar(),hr();var r=Ie();t.exports=r.Array.from})),vr=pe((function(e,t){"use strict";var r=gr();t.exports=r})),br=pe((function(e,t){"use strict";var r=vr();t.exports=r})),yr=pe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isIdentStart=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e||"_"===e},e.isIdent=function(e){return e>="a"&&e<="z"||e>="A"&&e<="Z"||e>="0"&&e<="9"||"-"===e||"_"===e},e.isHex=function(e){return e>="a"&&e<="f"||e>="A"&&e<="F"||e>="0"&&e<="9"},e.escapeIdentifier=function(t){for(var r=t.length,n="",a=0;a<r;){var o=t.charAt(a);if(e.identSpecialChars[o])n+="\\"+o;else if("_"===o||"-"===o||o>="A"&&o<="Z"||o>="a"&&o<="z"||0!==a&&o>="0"&&o<="9")n+=o;else{var i=o.charCodeAt(0);if(55296==(63488&i)){var u=t.charCodeAt(a++);if(55296!=(64512&i)||56320!=(64512&u))throw Error("UCS-2(decode): illegal sequence");i=((1023&i)<<10)+(1023&u)+65536}n+="\\"+i.toString(16)+" "}a++}return n},e.escapeStr=function(t){for(var r,n=t.length,a="",o=0;o<n;){var i=t.charAt(o);'"'===i?i='\\"':"\\"===i?i="\\\\":void 0!==(r=e.strReplacementsRev[i])&&(i=r),a+=i,o++}return'"'+a+'"'},e.identSpecialChars={"!":!0,'"':!0,"#":!0,$:!0,"%":!0,"&":!0,"'":!0,"(":!0,")":!0,"*":!0,"+":!0,",":!0,".":!0,"/":!0,";":!0,"<":!0,"=":!0,">":!0,"?":!0,"@":!0,"[":!0,"\\":!0,"]":!0,"^":!0,"`":!0,"{":!0,"|":!0,"}":!0,"~":!0},e.strReplacementsRev={"\n":"\\n","\r":"\\r","\t":"\\t","\f":"\\f","\v":"\\v"},e.singleQuoteEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\","'":"'"},e.doubleQuotesEscapeChars={n:"\n",r:"\r",t:"\t",f:"\f","\\":"\\",'"':'"'}})),wr=pe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=yr();e.parseCssSelector=function(e,r,n,a,o,i){var u=e.length,s="";function l(n,a){var o="";for(r++,s=e.charAt(r);r<u;){if(s===n)return r++,o;if("\\"===s){r++;var i=void 0;if((s=e.charAt(r))===n)o+=n;else if(void 0!==(i=a[s]))o+=i;else{if(t.isHex(s)){var l=s;for(r++,s=e.charAt(r);t.isHex(s);)l+=s,r++,s=e.charAt(r);" "===s&&(r++,s=e.charAt(r)),o+=String.fromCharCode(parseInt(l,16));continue}o+=s}}else o+=s;r++,s=e.charAt(r)}return o}function c(){var n="";for(s=e.charAt(r);r<u;){if(t.isIdent(s))n+=s;else{if("\\"!==s)return n;if(++r>=u)throw Error("Expected symbol but end of file reached.");if(s=e.charAt(r),t.identSpecialChars[s])n+=s;else{if(t.isHex(s)){var a=s;for(r++,s=e.charAt(r);t.isHex(s);)a+=s,r++,s=e.charAt(r);" "===s&&(r++,s=e.charAt(r)),n+=String.fromCharCode(parseInt(a,16));continue}n+=s}}r++,s=e.charAt(r)}return n}function d(){s=e.charAt(r);for(var t=!1;" "===s||"\t"===s||"\n"===s||"\r"===s||"\f"===s;)t=!0,r++,s=e.charAt(r);return t}function p(){var t=f();if(!t)return null;var n=t;for(s=e.charAt(r);","===s;){if(r++,d(),"selectors"!==n.type&&(n={type:"selectors",selectors:[t]}),!(t=f()))throw Error('Rule expected after ",".');n.selectors.push(t)}return n}function f(){d();var t={type:"ruleSet"},n=m();if(!n)return null;for(var a=t;n&&(n.type="rule",a.rule=n,a=n,d(),s=e.charAt(r),!(r>=u||","===s||")"===s));)if(o[s]){var i=s;if(r++,d(),!(n=m()))throw Error('Rule expected after "'+i+'".');n.nestingOperator=i}else(n=m())&&(n.nestingOperator=null);return t}function m(){for(var o=null;r<u;)if("*"===(s=e.charAt(r)))r++,(o=o||{}).tagName="*";else if(t.isIdentStart(s)||"\\"===s)(o=o||{}).tagName=c();else if("."===s)r++,((o=o||{}).classNames=o.classNames||[]).push(c());else if("#"===s)r++,(o=o||{}).id=c();else if("["===s){r++,d();var f={name:c()};if(d(),"]"===s)r++;else{var m="";if(a[s]&&(m=s,r++,s=e.charAt(r)),r>=u)throw Error('Expected "=" but end of file reached.');if("="!==s)throw Error('Expected "=" but "'+s+'" found.');f.operator=m+"=",r++,d();var h="";if(f.valueType="string",'"'===s)h=l('"',t.doubleQuotesEscapeChars);else if("'"===s)h=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,h=c(),f.valueType="substitute";else{for(;r<u&&"]"!==s;)h+=s,r++,s=e.charAt(r);h=h.trim()}if(d(),r>=u)throw Error('Expected "]" but end of file reached.');if("]"!==s)throw Error('Expected "]" but "'+s+'" found.');r++,f.value=h}((o=o||{}).attrs=o.attrs||[]).push(f)}else{if(":"!==s)break;r++;var g=c(),v={name:g};if("("===s){r++;var b="";if(d(),"selector"===n[g])v.valueType="selector",b=p();else{if(v.valueType=n[g]||"string",'"'===s)b=l('"',t.doubleQuotesEscapeChars);else if("'"===s)b=l("'",t.singleQuoteEscapeChars);else if(i&&"$"===s)r++,b=c(),v.valueType="substitute";else{for(;r<u&&")"!==s;)b+=s,r++,s=e.charAt(r);b=b.trim()}d()}if(r>=u)throw Error('Expected ")" but end of file reached.');if(")"!==s)throw Error('Expected ")" but "'+s+'" found.');r++,v.value=b}((o=o||{}).pseudos=o.pseudos||[]).push(v)}return o}return function(){var t=p();if(r<u)throw Error('Rule expected but "'+e.charAt(r)+'" found.');return t}()}})),Dr=pe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=yr();e.renderEntity=function e(r){var n="";switch(r.type){case"ruleSet":for(var a=r.rule,o=[];a;)a.nestingOperator&&o.push(a.nestingOperator),o.push(e(a)),a=a.rule;n=o.join(" ");break;case"selectors":n=r.selectors.map(e).join(", ");break;case"rule":r.tagName&&(n="*"===r.tagName?"*":t.escapeIdentifier(r.tagName)),r.id&&(n+="#"+t.escapeIdentifier(r.id)),r.classNames&&(n+=r.classNames.map((function(e){return"."+t.escapeIdentifier(e)})).join("")),r.attrs&&(n+=r.attrs.map((function(e){return"operator"in e?"substitute"===e.valueType?"["+t.escapeIdentifier(e.name)+e.operator+"$"+e.value+"]":"["+t.escapeIdentifier(e.name)+e.operator+t.escapeStr(e.value)+"]":"["+t.escapeIdentifier(e.name)+"]"})).join("")),r.pseudos&&(n+=r.pseudos.map((function(r){return r.valueType?"selector"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+e(r.value)+")":"substitute"===r.valueType?":"+t.escapeIdentifier(r.name)+"($"+r.value+")":"numeric"===r.valueType?":"+t.escapeIdentifier(r.name)+"("+r.value+")":":"+t.escapeIdentifier(r.name)+"("+t.escapeIdentifier(r.value)+")":":"+t.escapeIdentifier(r.name)})).join(""));break;default:throw Error('Unknown entity type: "'+r.type+'".')}return n}})),xr=pe((function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=wr(),r=Dr(),n=function(){function e(){this.pseudos={},this.attrEqualityMods={},this.ruleNestingOperators={},this.substitutesEnabled=!1}return e.prototype.registerSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="selector"}return this},e.prototype.unregisterSelectorPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.pseudos[a]="numeric"}return this},e.prototype.unregisterNumericPseudos=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.pseudos[a]}return this},e.prototype.registerNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.ruleNestingOperators[a]=!0}return this},e.prototype.unregisterNestingOperators=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.ruleNestingOperators[a]}return this},e.prototype.registerAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];this.attrEqualityMods[a]=!0}return this},e.prototype.unregisterAttrEqualityMods=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=0,n=e;r<n.length;r++){var a=n[r];delete this.attrEqualityMods[a]}return this},e.prototype.enableSubstitutes=function(){return this.substitutesEnabled=!0,this},e.prototype.disableSubstitutes=function(){return this.substitutesEnabled=!1,this},e.prototype.parse=function(e){return t.parseCssSelector(e,0,this.pseudos,this.attrEqualityMods,this.ruleNestingOperators,this.substitutesEnabled)},e.prototype.render=function(e){return r.renderEntity(e).trim()},e}();e.CssSelectorParser=n})),Er=pe((function(e,t){!function(){"use strict";var n={name:"doT",version:"1.1.1",templateSettings:{evaluate:/\{\{([\s\S]+?(\}?)+)\}\}/g,interpolate:/\{\{=([\s\S]+?)\}\}/g,encode:/\{\{!([\s\S]+?)\}\}/g,use:/\{\{#([\s\S]+?)\}\}/g,useParams:/(^|[^\w$])def(?:\.|\[[\'\"])([\w$\.]+)(?:[\'\"]\])?\s*\:\s*([\w$\.]+|\"[^\"]+\"|\'[^\']+\'|\{[^\}]+\})/g,define:/\{\{##\s*([\w\.$]+)\s*(\:|=)([\s\S]+?)#\}\}/g,defineParams:/^\s*([\w$]+):([\s\S]+)/,conditional:/\{\{\?(\?)?\s*([\s\S]*?)\s*\}\}/g,iterate:/\{\{~\s*(?:\}\}|([\s\S]+?)\s*\:\s*([\w$]+)\s*(?:\:\s*([\w$]+))?\s*\}\})/g,varname:"it",strip:!0,append:!0,selfcontained:!1,doNotSkipEncoded:!1},template:void 0,compile:void 0,log:!0};!function(){if("object"!==("undefined"==typeof globalThis?"undefined":l(globalThis)))try{Object.defineProperty(Object.prototype,"__magic__",{get:function(){return this},configurable:!0}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__}catch(e){i.globalThis=function(){if("undefined"!=typeof self)return self;if(void 0!==i)return i;if(void 0!==u)return u;if(void 0!==this)return this;throw new Error("Unable to locate global `this`")}()}}(),n.encodeHTMLSource=function(e){var t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"},r=e?/[&<>"'\/]/g:/&(?!#?\w+;)|<|>|"|'|\//g;return function(e){return e?e.toString().replace(r,(function(e){return t[e]||e})):""}},void 0!==t&&t.exports?t.exports=n:void 0===(a=function(){return n}.call(e,r,e,t))||(t.exports=a);var o={append:{start:"'+(",end:")+'",startencode:"'+encodeHTML("},split:{start:"';out+=(",end:");out+='",startencode:"';out+=encodeHTML("}},s=/$^/;function c(e,t,r){return("string"==typeof t?t:t.toString()).replace(e.define||s,(function(t,n,a,o){return 0===n.indexOf("def.")&&(n=n.substring(4)),n in r||(":"===a?(e.defineParams&&o.replace(e.defineParams,(function(e,t,a){r[n]={arg:t,text:a}})),n in r||(r[n]=o)):new Function("def","def['"+n+"']="+o)(r)),""})).replace(e.use||s,(function(t,n){e.useParams&&(n=n.replace(e.useParams,(function(e,t,n,a){if(r[n]&&r[n].arg&&a){var o=(n+":"+a).replace(/'|\\/g,"_");return r.__exp=r.__exp||{},r.__exp[o]=r[n].text.replace(new RegExp("(^|[^\\w$])"+r[n].arg+"([^\\w$])","g"),"$1"+a+"$2"),t+"def.__exp['"+o+"']"}})));var a=new Function("def","return "+n)(r);return a?c(e,a,r):a}))}function d(e){return e.replace(/\\('|\\)/g,"$1").replace(/[\r\t\n]/g," ")}n.template=function(e,t,r){var a,i,u=(t=t||n.templateSettings).append?o.append:o.split,l=0,p=t.use||t.define?c(t,e,r||{}):e;p=("var out='"+(t.strip?p.replace(/(^|\r|\n)\t* +| +\t*(\r|\n|$)/g," ").replace(/\r|\n|\t|\/\*[\s\S]*?\*\//g,""):p).replace(/'|\\/g,"\\$&").replace(t.interpolate||s,(function(e,t){return u.start+d(t)+u.end})).replace(t.encode||s,(function(e,t){return a=!0,u.startencode+d(t)+u.end})).replace(t.conditional||s,(function(e,t,r){return t?r?"';}else if("+d(r)+"){out+='":"';}else{out+='":r?"';if("+d(r)+"){out+='":"';}out+='"})).replace(t.iterate||s,(function(e,t,r,n){return t?(l+=1,i=n||"i"+l,t=d(t),"';var arr"+l+"="+t+";if(arr"+l+"){var "+r+","+i+"=-1,l"+l+"=arr"+l+".length-1;while("+i+"<l"+l+"){"+r+"=arr"+l+"["+i+"+=1];out+='"):"';} } out+='"})).replace(t.evaluate||s,(function(e,t){return"';"+d(t)+"out+='"}))+"';return out;").replace(/\n/g,"\\n").replace(/\t/g,"\\t").replace(/\r/g,"\\r").replace(/(\s|;|\}|^|\{)out\+='';/g,"$1").replace(/\+''/g,""),a&&(t.selfcontained||!globalThis||globalThis._encodeHTML||(globalThis._encodeHTML=n.encodeHTMLSource(t.doNotSkipEncoded)),p="var encodeHTML = typeof _encodeHTML !== 'undefined' ? _encodeHTML : ("+n.encodeHTMLSource.toString()+"("+(t.doNotSkipEncoded||"")+"));"+p);try{return new Function(t.varname,p)}catch(e){throw"undefined"!=typeof console&&console.log("Could not create a template function: "+p),e}},n.compile=function(e,t){return n.template(e,null,t)}}()})),Ar=pe((function(e,t){"use strict";t.exports=function(){}})),Fr=pe((function(e,t){"use strict";var r=Ar()();t.exports=function(e){return e!==r&&null!==e}})),Cr=pe((function(e,t){"use strict";var r=Fr(),n=Array.prototype.forEach,a=Object.create;t.exports=function(e){var t=a(null);return n.call(arguments,(function(e){r(e)&&function(e,t){var r;for(r in e)t[r]=e[r]}(Object(e),t)})),t}})),kr=pe((function(e,t){"use strict";t.exports=function(){var e=Math.sign;return"function"==typeof e&&(1===e(10)&&-1===e(-20))}})),Nr=pe((function(e,t){"use strict";t.exports=function(e){return e=Number(e),isNaN(e)||0===e?e:e>0?1:-1}})),Rr=pe((function(e,t){"use strict";t.exports=kr()()?Math.sign:Nr()})),_r=pe((function(e,t){"use strict";var r=Rr(),n=Math.abs,a=Math.floor;t.exports=function(e){return isNaN(e)?0:0!==(e=Number(e))&&isFinite(e)?r(e)*a(n(e)):e}})),Tr=pe((function(e,t){"use strict";var r=_r(),n=Math.max;t.exports=function(e){return n(0,r(e))}})),Sr=pe((function(e,t){"use strict";var r=Tr();t.exports=function(e,t,n){var a;return isNaN(e)?(a=t)>=0?n&&a?a-1:a:1:!1!==e&&r(e)}})),Or=pe((function(e,t){"use strict";t.exports=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e}})),Mr=pe((function(e,t){"use strict";var r=Fr();t.exports=function(e){if(!r(e))throw new TypeError("Cannot use null or undefined");return e}})),Pr=pe((function(e,t){"use strict";var r=Or(),n=Mr(),a=Function.prototype.bind,o=Function.prototype.call,i=Object.keys,u=Object.prototype.propertyIsEnumerable;t.exports=function(e,t){return function(s,l){var c,d=arguments[2],p=arguments[3];return s=Object(n(s)),r(l),c=i(s),p&&c.sort("function"==typeof p?a.call(p,s):void 0),"function"!=typeof e&&(e=c[e]),o.call(e,c,(function(e,r){return u.call(s,e)?o.call(l,d,s[e],e,s,r):t}))}}})),Ir=pe((function(e,t){"use strict";t.exports=Pr()("forEach")})),Br=pe((function(){})),Lr=pe((function(e,t){"use strict";t.exports=function(){var e,t=Object.assign;return"function"==typeof t&&(t(e={foo:"raz"},{bar:"dwa"},{trzy:"trzy"}),e.foo+e.bar+e.trzy==="razdwatrzy")}})),jr=pe((function(e,t){"use strict";t.exports=function(){try{return Object.keys("primitive"),!0}catch(e){return!1}}})),qr=pe((function(e,t){"use strict";var r=Fr(),n=Object.keys;t.exports=function(e){return n(r(e)?Object(e):e)}})),zr=pe((function(e,t){"use strict";t.exports=jr()()?Object.keys:qr()})),Vr=pe((function(e,t){"use strict";var r=zr(),n=Mr(),a=Math.max;t.exports=function(e,t){var o,i,u,s=a(arguments.length,2);for(e=Object(n(e)),u=function(r){try{e[r]=t[r]}catch(e){o||(o=e)}},i=1;i<s;++i)r(t=arguments[i]).forEach(u);if(void 0!==o)throw o;return e}})),Gr=pe((function(e,t){"use strict";t.exports=Lr()()?Object.assign:Vr()})),$r=pe((function(e,t){"use strict";var r=Fr(),n={function:!0,object:!0};t.exports=function(e){return r(e)&&n[l(e)]||!1}})),Hr=pe((function(e,t){"use strict";var r=Gr(),n=$r(),a=Fr(),o=Error.captureStackTrace;t.exports=function(e){var i=new Error(e),u=arguments[1],s=arguments[2];return a(s)||n(u)&&(s=u,u=null),a(s)&&r(i,s),a(u)&&(i.code=u),o&&o(i,t.exports),i}})),Ur=pe((function(e,t){"use strict";var r=Mr(),n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.getOwnPropertySymbols;t.exports=function(e,t){var u,s=Object(r(t));if(e=Object(r(e)),o(s).forEach((function(r){try{n(e,r,a(t,r))}catch(e){u=e}})),"function"==typeof i&&i(s).forEach((function(r){try{n(e,r,a(t,r))}catch(e){u=e}})),void 0!==u)throw u;return e}})),Wr=pe((function(e,t){"use strict";var r,n,a,o,i,u=Tr(),s=function(e,t){return t};try{Object.defineProperty(s,"length",{configurable:!0,writable:!1,enumerable:!1,value:1})}catch(e){}1===s.length?(r={configurable:!0,writable:!1,enumerable:!1},n=Object.defineProperty,t.exports=function(e,t){return t=u(t),e.length===t?e:(r.value=t,n(e,"length",r))}):(o=Ur(),i=[],a=function(e){var t,r=0;if(i[e])return i[e];for(t=[];e--;)t.push("a"+(++r).toString(36));return new Function("fn","return function ("+t.join(", ")+") { return fn.apply(this, arguments); };")},t.exports=function(e,t){var r;if(t=u(t),e.length===t)return e;r=a(t)(e);try{o(r,e)}catch(e){}return r})})),Yr=pe((function(e,t){"use strict";t.exports=function(e){return null!=e}})),Kr=pe((function(e,t){"use strict";var r=Yr(),n={object:!0,function:!0,undefined:!0};t.exports=function(e){return!!r(e)&&hasOwnProperty.call(n,l(e))}})),Xr=pe((function(e,t){"use strict";var r=Kr();t.exports=function(e){if(!r(e))return!1;try{return!!e.constructor&&e.constructor.prototype===e}catch(e){return!1}}})),Zr=pe((function(e,t){"use strict";var r=Xr();t.exports=function(e){if("function"!=typeof e)return!1;if(!hasOwnProperty.call(e,"length"))return!1;try{if("number"!=typeof e.length)return!1;if("function"!=typeof e.call)return!1;if("function"!=typeof e.apply)return!1}catch(e){return!1}return!r(e)}})),Jr=pe((function(e,t){"use strict";var r=Zr(),n=/^\s*class[\s{/}]/,a=Function.prototype.toString;t.exports=function(e){return!!r(e)&&!n.test(a.call(e))}})),Qr=pe((function(e,t){"use strict";var r="razdwatrzy";t.exports=function(){return"function"==typeof r.contains&&(!0===r.contains("dwa")&&!1===r.contains("foo"))}})),en=pe((function(e,t){"use strict";var r=String.prototype.indexOf;t.exports=function(e){return r.call(this,e,arguments[1])>-1}})),tn=pe((function(e,t){"use strict";t.exports=Qr()()?String.prototype.contains:en()})),rn=pe((function(e,t){"use strict";var r=Yr(),n=Jr(),a=Gr(),o=Cr(),i=tn(),u=t.exports=function(e,t){var n,u,s,l,c;return arguments.length<2||"string"!=typeof e?(l=t,t=e,e=null):l=arguments[2],r(e)?(n=i.call(e,"c"),u=i.call(e,"e"),s=i.call(e,"w")):(n=s=!0,u=!1),c={value:t,configurable:n,enumerable:u,writable:s},l?a(o(l),c):c};u.gs=function(e,t,u){var s,l,c,d;return"string"!=typeof e?(c=u,u=t,t=e,e=null):c=arguments[3],r(t)?n(t)?r(u)?n(u)||(c=u,u=void 0):u=void 0:(c=t,t=u=void 0):t=void 0,r(e)?(s=i.call(e,"c"),l=i.call(e,"e")):(s=!0,l=!1),d={get:t,set:u,configurable:s,enumerable:l},c?a(o(c),d):d}})),nn=pe((function(e,t){"use strict";var r,n,a,o,i,u,s,c=rn(),d=Or(),p=Function.prototype.apply,f=Function.prototype.call,m=Object.create,h=Object.defineProperty,g=Object.defineProperties,v=Object.prototype.hasOwnProperty,b={configurable:!0,enumerable:!1,writable:!0};n=function(e,t){var n,o;return d(t),o=this,r.call(this,e,n=function(){a.call(o,e,n),p.call(t,this,arguments)}),n.__eeOnceListener__=t,this},a=function(e,t){var r,n,a,o;if(d(t),!v.call(this,"__ee__"))return this;if(!(r=this.__ee__)[e])return this;if(n=r[e],"object"===l(n))for(o=0;a=n[o];++o)a!==t&&a.__eeOnceListener__!==t||(2===n.length?r[e]=n[o?0:1]:n.splice(o,1));else n!==t&&n.__eeOnceListener__!==t||delete r[e];return this},o=function(e){var t,r,n,a,o;if(v.call(this,"__ee__")&&(a=this.__ee__[e]))if("object"===l(a)){for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];for(a=a.slice(),t=0;n=a[t];++t)p.call(n,this,o)}else switch(arguments.length){case 1:f.call(a,this);break;case 2:f.call(a,this,arguments[1]);break;case 3:f.call(a,this,arguments[1],arguments[2]);break;default:for(r=arguments.length,o=new Array(r-1),t=1;t<r;++t)o[t-1]=arguments[t];p.call(a,this,o)}},i={on:r=function(e,t){var r;return d(t),v.call(this,"__ee__")?r=this.__ee__:(r=b.value=m(null),h(this,"__ee__",b),b.value=null),r[e]?"object"===l(r[e])?r[e].push(t):r[e]=[r[e],t]:r[e]=t,this},once:n,off:a,emit:o},u={on:c(r),once:c(n),off:c(a),emit:c(o)},s=g({},u),t.exports=e=function(e){return null==e?m(s):g(Object(e),u)},e.methods=i})),an=pe((function(e,t){"use strict";t.exports=function(){var e,t,r=Array.from;return"function"==typeof r&&(t=r(e=["raz","dwa"]),Boolean(t&&t!==e&&"dwa"===t[1]))}})),on=pe((function(e,t){"use strict";t.exports=function(){return"object"===("undefined"==typeof globalThis?"undefined":l(globalThis))&&(!!globalThis&&globalThis.Array===Array)}})),un=pe((function(e,t){var r=function(){if("object"===("undefined"==typeof self?"undefined":l(self))&&self)return self;if("object"===(void 0===i?"undefined":l(i))&&i)return i;throw new Error("Unable to resolve global `this`")};t.exports=function(){if(this)return this;try{Object.defineProperty(Object.prototype,"__global__",{get:function(){return this},configurable:!0})}catch(e){return r()}try{return __global__||r()}finally{delete Object.prototype.__global__}}()})),sn=pe((function(e,t){"use strict";t.exports=on()()?globalThis:un()})),ln=pe((function(e,t){"use strict";var r=sn(),n={object:!0,symbol:!0};t.exports=function(){var e,t=r.Symbol;if("function"!=typeof t)return!1;e=t("test symbol");try{String(e)}catch(e){return!1}return!!n[l(t.iterator)]&&(!!n[l(t.toPrimitive)]&&!!n[l(t.toStringTag)])}})),cn=pe((function(e,t){"use strict";t.exports=function(e){return!!e&&("symbol"===l(e)||!!e.constructor&&("Symbol"===e.constructor.name&&"Symbol"===e[e.constructor.toStringTag]))}})),dn=pe((function(e,t){"use strict";var r=cn();t.exports=function(e){if(!r(e))throw new TypeError(e+" is not a symbol");return e}})),pn=pe((function(e,t){"use strict";var r=rn(),n=Object.create,a=Object.defineProperty,o=Object.prototype,i=n(null);t.exports=function(e){for(var t,n,u=0;i[e+(u||"")];)++u;return i[e+=u||""]=!0,a(o,t="@@"+e,r.gs(null,(function(e){n||(n=!0,a(this,t,r(e)),n=!1)}))),t}})),fn=pe((function(e,t){"use strict";var r=rn(),n=sn().Symbol;t.exports=function(e){return Object.defineProperties(e,{hasInstance:r("",n&&n.hasInstance||e("hasInstance")),isConcatSpreadable:r("",n&&n.isConcatSpreadable||e("isConcatSpreadable")),iterator:r("",n&&n.iterator||e("iterator")),match:r("",n&&n.match||e("match")),replace:r("",n&&n.replace||e("replace")),search:r("",n&&n.search||e("search")),species:r("",n&&n.species||e("species")),split:r("",n&&n.split||e("split")),toPrimitive:r("",n&&n.toPrimitive||e("toPrimitive")),toStringTag:r("",n&&n.toStringTag||e("toStringTag")),unscopables:r("",n&&n.unscopables||e("unscopables"))})}})),mn=pe((function(e,t){"use strict";var r=rn(),n=dn(),a=Object.create(null);t.exports=function(e){return Object.defineProperties(e,{for:r((function(t){return a[t]?a[t]:a[t]=e(String(t))})),keyFor:r((function(e){var t;for(t in n(e),a)if(a[t]===e)return t}))})}})),hn=pe((function(e,t){"use strict";var r,n,a,o=rn(),i=dn(),u=sn().Symbol,s=pn(),c=fn(),d=mn(),p=Object.create,f=Object.defineProperties,m=Object.defineProperty;if("function"==typeof u)try{String(u()),a=!0}catch(e){}else u=null;n=function(e){if(this instanceof n)throw new TypeError("Symbol is not a constructor");return r(e)},t.exports=r=function e(t){var r;if(this instanceof e)throw new TypeError("Symbol is not a constructor");return a?u(t):(r=p(n.prototype),t=void 0===t?"":String(t),f(r,{__description__:o("",t),__name__:o("",s(t))}))},c(r),d(r),f(n.prototype,{constructor:o(r),toString:o("",(function(){return this.__name__}))}),f(r.prototype,{toString:o((function(){return"Symbol ("+i(this).__description__+")"})),valueOf:o((function(){return i(this)}))}),m(r.prototype,r.toPrimitive,o("",(function(){var e=i(this);return"symbol"===l(e)?e:e.toString()}))),m(r.prototype,r.toStringTag,o("c","Symbol")),m(n.prototype,r.toStringTag,o("c",r.prototype[r.toStringTag])),m(n.prototype,r.toPrimitive,o("c",r.prototype[r.toPrimitive]))})),gn=pe((function(e,t){"use strict";t.exports=ln()()?sn().Symbol:hn()})),vn=pe((function(e,t){"use strict";var r=Object.prototype.toString,n=r.call(function(){return arguments}());t.exports=function(e){return r.call(e)===n}})),bn=pe((function(e,t){"use strict";var r=Object.prototype.toString,n=RegExp.prototype.test.bind(/^[object [A-Za-z0-9]*Function]$/);t.exports=function(e){return"function"==typeof e&&n(r.call(e))}})),yn=pe((function(e,t){"use strict";var r=Object.prototype.toString,n=r.call("");t.exports=function(e){return"string"==typeof e||e&&"object"===l(e)&&(e instanceof String||r.call(e)===n)||!1}})),wn=pe((function(e,t){"use strict";var r=gn().iterator,n=vn(),a=bn(),o=Tr(),i=Or(),u=Mr(),s=Fr(),l=yn(),c=Array.isArray,d=Function.prototype.call,p={configurable:!0,enumerable:!0,writable:!0,value:null},f=Object.defineProperty;t.exports=function(e){var t,m,h,g,v,b,y,w,D,x,E=arguments[1],A=arguments[2];if(e=Object(u(e)),s(E)&&i(E),this&&this!==Array&&a(this))t=this;else{if(!E){if(n(e))return 1!==(v=e.length)?Array.apply(null,e):((g=new Array(1))[0]=e[0],g);if(c(e)){for(g=new Array(v=e.length),m=0;m<v;++m)g[m]=e[m];return g}}g=[]}if(!c(e))if(void 0!==(D=e[r])){for(y=i(D).call(e),t&&(g=new t),w=y.next(),m=0;!w.done;)x=E?d.call(E,A,w.value,m):w.value,t?(p.value=x,f(g,m,p)):g[m]=x,w=y.next(),++m;v=m}else if(l(e)){for(v=e.length,t&&(g=new t),m=0,h=0;m<v;++m)x=e[m],m+1<v&&(b=x.charCodeAt(0))>=55296&&b<=56319&&(x+=e[++m]),x=E?d.call(E,A,x,h):x,t?(p.value=x,f(g,h,p)):g[h]=x,++h;v=h}if(void 0===v)for(v=o(e.length),t&&(g=new t(v)),m=0;m<v;++m)x=E?d.call(E,A,e[m],m):e[m],t?(p.value=x,f(g,m,p)):g[m]=x;return t&&(p.value=null,g.length=v),g}})),Dn=pe((function(e,t){"use strict";t.exports=an()()?Array.from:wn()})),xn=pe((function(e,t){"use strict";var r=Dn(),n=Array.isArray;t.exports=function(e){return n(e)?e:r(e)}})),En=pe((function(e,t){"use strict";var r,n=xn(),a=Fr(),o=Or(),i=Array.prototype.slice;r=function(e){return this.map((function(t,r){return t?t(e[r]):e[r]})).concat(i.call(e,this.length))},t.exports=function(e){return(e=n(e)).forEach((function(e){a(e)&&o(e)})),r.bind(e)}})),An=pe((function(e,t){"use strict";var r=Or();t.exports=function(e){var t;return"function"==typeof e?{set:e,get:e}:(t={get:r(e.get)},void 0!==e.set?(t.set=r(e.set),e.delete&&(t.delete=r(e.delete)),e.clear&&(t.clear=r(e.clear)),t):(t.set=t.get,t))}})),Fn=pe((function(e,t){"use strict";var r=Hr(),n=Wr(),a=rn(),o=nn().methods,i=En(),u=An(),s=Function.prototype.apply,l=Function.prototype.call,c=Object.create,d=Object.defineProperties,p=o.on,f=o.emit;t.exports=function(e,t,o){var m,h,g,v,b,y,w,D,x,E,A,F,C,k,N,R=c(null);return h=!1!==t?t:isNaN(e.length)?1:e.length,o.normalizer&&(E=u(o.normalizer),g=E.get,v=E.set,b=E.delete,y=E.clear),null!=o.resolvers&&(N=i(o.resolvers)),k=g?n((function(t){var n,a,o=arguments;if(N&&(o=N(o)),null!==(n=g(o))&&hasOwnProperty.call(R,n))return A&&m.emit("get",n,o,this),R[n];if(a=1===o.length?l.call(e,this,o[0]):s.call(e,this,o),null===n){if(null!==(n=g(o)))throw r("Circular invocation","CIRCULAR_INVOCATION");n=v(o)}else if(hasOwnProperty.call(R,n))throw r("Circular invocation","CIRCULAR_INVOCATION");return R[n]=a,F&&m.emit("set",n,null,a),a}),h):0===t?function(){var t;if(hasOwnProperty.call(R,"data"))return A&&m.emit("get","data",arguments,this),R.data;if(t=arguments.length?s.call(e,this,arguments):l.call(e,this),hasOwnProperty.call(R,"data"))throw r("Circular invocation","CIRCULAR_INVOCATION");return R.data=t,F&&m.emit("set","data",null,t),t}:function(t){var n,a,o=arguments;if(N&&(o=N(arguments)),a=String(o[0]),hasOwnProperty.call(R,a))return A&&m.emit("get",a,o,this),R[a];if(n=1===o.length?l.call(e,this,o[0]):s.call(e,this,o),hasOwnProperty.call(R,a))throw r("Circular invocation","CIRCULAR_INVOCATION");return R[a]=n,F&&m.emit("set",a,null,n),n},m={original:e,memoized:k,profileName:o.profileName,get:function(e){return N&&(e=N(e)),g?g(e):String(e[0])},has:function(e){return hasOwnProperty.call(R,e)},delete:function(e){var t;hasOwnProperty.call(R,e)&&(b&&b(e),t=R[e],delete R[e],C&&m.emit("delete",e,t))},clear:function(){var e=R;y&&y(),R=c(null),m.emit("clear",e)},on:function(e,t){return"get"===e?A=!0:"set"===e?F=!0:"delete"===e&&(C=!0),p.call(this,e,t)},emit:f,updateEnv:function(){e=m.original}},w=g?n((function(e){var t,r=arguments;N&&(r=N(r)),null!==(t=g(r))&&m.delete(t)}),h):0===t?function(){return m.delete("data")}:function(e){return N&&(e=N(arguments)[0]),m.delete(e)},D=n((function(){var e,r=arguments;return 0===t?R.data:(N&&(r=N(r)),e=g?g(r):String(r[0]),R[e])})),x=n((function(){var e,r=arguments;return 0===t?m.has("data"):(N&&(r=N(r)),null!==(e=g?g(r):String(r[0]))&&m.has(e))})),d(k,{__memoized__:a(!0),delete:a(w),clear:a(m.clear),_get:a(D),_has:a(x)}),m}})),Cn=pe((function(e,t){"use strict";var r=Or(),n=Ir(),a=Br(),o=Fn(),i=Sr();t.exports=function e(t){var u,s,l;if(r(t),(u=Object(arguments[1])).async&&u.promise)throw new Error("Options 'async' and 'promise' cannot be used together");return hasOwnProperty.call(t,"__memoized__")&&!u.force?t:(s=i(u.length,t.length,u.async&&a.async),l=o(t,s,u),n(a,(function(e,t){u[t]&&e(u[t],l,u)})),e.__profiler__&&e.__profiler__(l),l.updateEnv(),l.memoized)}})),kn=pe((function(e,t){"use strict";t.exports=function(e){var t,r,n=e.length;if(!n)return"";for(t=String(e[r=0]);--n;)t+=""+e[++r];return t}})),Nn=pe((function(e,t){"use strict";t.exports=function(e){return e?function(t){for(var r=String(t[0]),n=0,a=e;--a;)r+=""+t[++n];return r}:function(){return""}}})),Rn=pe((function(e,t){"use strict";t.exports=function(){var e=Number.isNaN;return"function"==typeof e&&(!e({})&&e(NaN)&&!e(34))}})),Tn=pe((function(e,t){"use strict";t.exports=function(e){return e!=e}})),Sn=pe((function(e,t){"use strict";t.exports=Rn()()?Number.isNaN:Tn()})),On=pe((function(e,t){"use strict";var r=Sn(),n=Tr(),a=Mr(),o=Array.prototype.indexOf,i=Object.prototype.hasOwnProperty,u=Math.abs,s=Math.floor;t.exports=function(e){var t,l,c,d;if(!r(e))return o.apply(this,arguments);for(l=n(a(this).length),c=arguments[1],t=c=isNaN(c)?0:c>=0?s(c):n(this.length)-s(u(c));t<l;++t)if(i.call(this,t)&&(d=this[t],r(d)))return t;return-1}})),Mn=pe((function(e,t){"use strict";var r=On(),n=Object.create;t.exports=function(){var e=0,t=[],a=n(null);return{get:function(e){var n,a=0,o=t,i=e.length;if(0===i)return o[i]||null;if(o=o[i]){for(;a<i-1;){if(-1===(n=r.call(o[0],e[a])))return null;o=o[1][n],++a}return-1===(n=r.call(o[0],e[a]))?null:o[1][n]||null}return null},set:function(n){var o,i=0,u=t,s=n.length;if(0===s)u[s]=++e;else{for(u[s]||(u[s]=[[],[]]),u=u[s];i<s-1;)-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1,u[1].push([[],[]])),u=u[1][o],++i;-1===(o=r.call(u[0],n[i]))&&(o=u[0].push(n[i])-1),u[1][o]=++e}return a[e]=n,e},delete:function(e){var n,o=0,i=t,u=a[e],s=u.length,l=[];if(0===s)delete i[s];else if(i=i[s]){for(;o<s-1;){if(-1===(n=r.call(i[0],u[o])))return;l.push(i,n),i=i[1][n],++o}if(-1===(n=r.call(i[0],u[o])))return;for(e=i[1][n],i[0].splice(n,1),i[1].splice(n,1);!i[0].length&&l.length;)n=l.pop(),(i=l.pop())[0].splice(n,1),i[1].splice(n,1)}delete a[e]},clear:function(){t=[],a=n(null)}}}})),Pn=pe((function(e,t){"use strict";var r=On();t.exports=function(){var e=0,t=[],n=[];return{get:function(e){var a=r.call(t,e[0]);return-1===a?null:n[a]},set:function(r){return t.push(r[0]),n.push(++e),e},delete:function(e){var a=r.call(n,e);-1!==a&&(t.splice(a,1),n.splice(a,1))},clear:function(){t=[],n=[]}}}})),In=pe((function(e,t){"use strict";var r=On(),n=Object.create;t.exports=function(e){var t=0,a=[[],[]],o=n(null);return{get:function(t){for(var n,o=0,i=a;o<e-1;){if(-1===(n=r.call(i[0],t[o])))return null;i=i[1][n],++o}return-1===(n=r.call(i[0],t[o]))?null:i[1][n]||null},set:function(n){for(var i,u=0,s=a;u<e-1;)-1===(i=r.call(s[0],n[u]))&&(i=s[0].push(n[u])-1,s[1].push([[],[]])),s=s[1][i],++u;return-1===(i=r.call(s[0],n[u]))&&(i=s[0].push(n[u])-1),s[1][i]=++t,o[t]=n,t},delete:function(t){for(var n,i=0,u=a,s=[],l=o[t];i<e-1;){if(-1===(n=r.call(u[0],l[i])))return;s.push(u,n),u=u[1][n],++i}if(-1!==(n=r.call(u[0],l[i]))){for(t=u[1][n],u[0].splice(n,1),u[1].splice(n,1);!u[0].length&&s.length;)n=s.pop(),(u=s.pop())[0].splice(n,1),u[1].splice(n,1);delete o[t]}},clear:function(){a=[[],[]],o=n(null)}}}})),Bn=pe((function(e,t){"use strict";var r=Or(),n=Ir(),a=Function.prototype.call;t.exports=function(e,t){var o={},i=arguments[2];return r(t),n(e,(function(e,r,n,u){o[r]=a.call(t,i,e,r,n,u)})),o}})),Ln=pe((function(e,t){"use strict";var r=function(e){if("function"!=typeof e)throw new TypeError(e+" is not a function");return e},n=function(e){var t,n,a=s.createTextNode(""),o=0;return new e((function(){var e;if(t)n&&(t=n.concat(t));else{if(!n)return;t=n}if(n=t,t=null,"function"==typeof n)return e=n,n=null,void e();for(a.data=o=++o%2;n;)e=n.shift(),n.length||(n=null),e()})).observe(a,{characterData:!0}),function(e){r(e),t?"function"==typeof t?t=[t,e]:t.push(e):(t=e,a.data=o=++o%2)}};t.exports=function(){if("object"===("undefined"==typeof process?"undefined":l(process))&&process&&"function"==typeof process.nextTick)return process.nextTick;if("function"==typeof queueMicrotask)return function(e){queueMicrotask(r(e))};if("object"===(void 0===s?"undefined":l(s))&&s){if("function"==typeof MutationObserver)return n(MutationObserver);if("function"==typeof WebKitMutationObserver)return n(WebKitMutationObserver)}return"function"==typeof setImmediate?function(e){setImmediate(r(e))}:"function"==typeof setTimeout||"object"===("undefined"==typeof setTimeout?"undefined":l(setTimeout))?function(e){setTimeout(r(e),0)}:null}()})),jn=pe((function(){"use strict";var e=Dn(),t=Bn(),r=Ur(),n=Wr(),a=Ln(),o=Array.prototype.slice,i=Function.prototype.apply,u=Object.create;Br().async=function(s,l){var c,d,p,f=u(null),m=u(null),h=l.memoized,g=l.original;l.memoized=n((function(e){var t=arguments,r=t[t.length-1];return"function"==typeof r&&(c=r,t=o.call(t,0,-1)),h.apply(d=this,p=t)}),h);try{r(l.memoized,h)}catch(e){}l.on("get",(function(e){var t,r,n;if(c){if(f[e])return"function"==typeof f[e]?f[e]=[f[e],c]:f[e].push(c),void(c=null);t=c,r=d,n=p,c=d=p=null,a((function(){var a;hasOwnProperty.call(m,e)?(a=m[e],l.emit("getasync",e,n,r),i.call(t,a.context,a.args)):(c=t,d=r,p=n,h.apply(r,n))}))}})),l.original=function(){var t,r,n,o;return c?(t=e(arguments),r=function t(r){var n,u,s=t.id;if(null!=s){if(delete t.id,n=f[s],delete f[s],n)return u=e(arguments),l.has(s)&&(r?l.delete(s):(m[s]={context:this,args:u},l.emit("setasync",s,"function"==typeof n?1:n.length))),"function"==typeof n?o=i.call(n,this,u):n.forEach((function(e){o=i.call(e,this,u)}),this),o}else a(i.bind(t,this,arguments))},n=c,c=d=p=null,t.push(r),o=i.call(g,this,t),r.cb=n,c=r,o):i.call(g,this,arguments)},l.on("set",(function(e){c?(f[e]?"function"==typeof f[e]?f[e]=[f[e],c.cb]:f[e].push(c.cb):f[e]=c.cb,delete c.cb,c.id=e,c=null):l.delete(e)})),l.on("delete",(function(e){var t;hasOwnProperty.call(f,e)||m[e]&&(t=m[e],delete m[e],l.emit("deleteasync",e,o.call(t.args,1)))})),l.on("clear",(function(){var e=m;m=u(null),l.emit("clearasync",t(e,(function(e){return o.call(e.args,1)})))}))}})),qn=pe((function(e,t){"use strict";var r=Array.prototype.forEach,n=Object.create;t.exports=function(e){var t=n(null);return r.call(arguments,(function(e){t[e]=!0})),t}})),zn=pe((function(e,t){"use strict";t.exports=function(e){return"function"==typeof e}})),Vn=pe((function(e,t){"use strict";var r=zn();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){throw new TypeError("Passed argument cannot be stringifed")}}})),Gn=pe((function(e,t){"use strict";var r=Mr(),n=Vn();t.exports=function(e){return n(r(e))}})),$n=pe((function(e,t){"use strict";var r=zn();t.exports=function(e){try{return e&&r(e.toString)?e.toString():String(e)}catch(e){return"<Non-coercible to string value>"}}})),Hn=pe((function(e,t){"use strict";var r=$n(),n=/[\n\r\u2028\u2029]/g;t.exports=function(e){var t=r(e);return t.length>100&&(t=t.slice(0,99)+"…"),t=t.replace(n,(function(e){return JSON.stringify(e).slice(1,-1)}))}})),Un=pe((function(e,t){function r(e){return!!e&&("object"===l(e)||"function"==typeof e)&&"function"==typeof e.then}t.exports=r,t.exports.default=r})),Wn=pe((function(){"use strict";var e=Bn(),t=qn(),r=Gn(),n=Hn(),a=Un(),o=Ln(),i=Object.create,u=t("then","then:finally","done","done:finally");Br().promise=function(t,s){var l=i(null),c=i(null),d=i(null);if(!0===t)t=null;else if(t=r(t),!u[t])throw new TypeError("'"+n(t)+"' is not valid promise mode");s.on("set",(function(e,r,n){var i=!1;if(!a(n))return c[e]=n,void s.emit("setasync",e,1);l[e]=1,d[e]=n;var u=function(t){var r=l[e];if(i)throw new Error("Memoizee error: Detected unordered then|done & finally resolution, which in turn makes proper detection of success/failure impossible (when in 'done:finally' mode)\nConsider to rely on 'then' or 'done' mode instead.");r&&(delete l[e],c[e]=t,s.emit("setasync",e,r))},p=function(){i=!0,l[e]&&(delete l[e],delete d[e],s.delete(e))},f=t;if(f||(f="then"),"then"===f){var m=function(){o(p)};"function"==typeof(n=n.then((function(e){o(u.bind(this,e))}),m)).finally&&n.finally(m)}else if("done"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done' mode");n.done(u,p)}else if("done:finally"===f){if("function"!=typeof n.done)throw new Error("Memoizee error: Retrieved promise does not implement 'done' in 'done:finally' mode");if("function"!=typeof n.finally)throw new Error("Memoizee error: Retrieved promise does not implement 'finally' in 'done:finally' mode");n.done(u),n.finally(p)}})),s.on("get",(function(e,t,r){var n;if(l[e])++l[e];else{n=d[e];var i=function(){s.emit("getasync",e,t,r)};a(n)?"function"==typeof n.done?n.done(i):n.then((function(){o(i)})):i()}})),s.on("delete",(function(e){if(delete d[e],l[e])delete l[e];else if(hasOwnProperty.call(c,e)){var t=c[e];delete c[e],s.emit("deleteasync",e,[t])}})),s.on("clear",(function(){var t=c;c=i(null),l=i(null),d=i(null),s.emit("clearasync",e(t,(function(e){return[e]})))}))}})),Yn=pe((function(){"use strict";var e=Or(),t=Ir(),r=Br(),n=Function.prototype.apply;r.dispose=function(a,o,i){var u;if(e(a),i.async&&r.async||i.promise&&r.promise)return o.on("deleteasync",u=function(e,t){n.call(a,null,t)}),void o.on("clearasync",(function(e){t(e,(function(e,t){u(t,e)}))}));o.on("delete",u=function(e,t){a(t)}),o.on("clear",(function(e){t(e,(function(e,t){u(t,e)}))}))}})),Kn=pe((function(e,t){"use strict";t.exports=2147483647})),Xn=pe((function(e,t){"use strict";var r=Tr(),n=Kn();t.exports=function(e){if((e=r(e))>n)throw new TypeError(e+" exceeds maximum possible timeout");return e}})),Zn=pe((function(){"use strict";var e=Dn(),t=Ir(),r=Ln(),n=Un(),a=Xn(),o=Br(),i=Function.prototype,u=Math.max,s=Math.min,l=Object.create;o.maxAge=function(c,d,p){var f,m,h,g;(c=a(c))&&(f=l(null),m=p.async&&o.async||p.promise&&o.promise?"async":"",d.on("set"+m,(function(e){f[e]=setTimeout((function(){d.delete(e)}),c),"function"==typeof f[e].unref&&f[e].unref(),g&&(g[e]&&"nextTick"!==g[e]&&clearTimeout(g[e]),g[e]=setTimeout((function(){delete g[e]}),h),"function"==typeof g[e].unref&&g[e].unref())})),d.on("delete"+m,(function(e){clearTimeout(f[e]),delete f[e],g&&("nextTick"!==g[e]&&clearTimeout(g[e]),delete g[e])})),p.preFetch&&(h=!0===p.preFetch||isNaN(p.preFetch)?.333:u(s(Number(p.preFetch),1),0))&&(g={},h=(1-h)*c,d.on("get"+m,(function(t,a,o){g[t]||(g[t]="nextTick",r((function(){var r;"nextTick"===g[t]&&(delete g[t],d.delete(t),p.async&&(a=e(a)).push(i),r=d.memoized.apply(o,a),p.promise&&n(r)&&("function"==typeof r.done?r.done(i,i):r.then(i,i)))})))}))),d.on("clear"+m,(function(){t(f,(function(e){clearTimeout(e)})),f={},g&&(t(g,(function(e){"nextTick"!==e&&clearTimeout(e)})),g={})})))}})),Jn=pe((function(e,t){"use strict";var r=Tr(),n=Object.create,a=Object.prototype.hasOwnProperty;t.exports=function(e){var t,o=0,i=1,u=n(null),s=n(null),l=0;return e=r(e),{hit:function(r){var n=s[r],c=++l;if(u[c]=r,s[r]=c,!n){if(++o<=e)return;return r=u[i],t(r),r}if(delete u[n],i===n)for(;!a.call(u,++i););},delete:t=function(e){var t=s[e];if(t&&(delete u[t],delete s[e],--o,i===t)){if(!o)return l=0,void(i=1);for(;!a.call(u,++i););}},clear:function(){o=0,i=1,u=n(null),s=n(null),l=0}}}})),Qn=pe((function(){"use strict";var e=Tr(),t=Jn(),r=Br();r.max=function(n,a,o){var i,u,s;(n=e(n))&&(u=t(n),i=o.async&&r.async||o.promise&&r.promise?"async":"",a.on("set"+i,s=function(e){void 0!==(e=u.hit(e))&&a.delete(e)}),a.on("get"+i,s),a.on("delete"+i,u.delete),a.on("clear"+i,u.clear))}})),ea=pe((function(){"use strict";var e=rn(),t=Br(),r=Object.create,n=Object.defineProperties;t.refCounter=function(a,o,i){var u,s;u=r(null),s=i.async&&t.async||i.promise&&t.promise?"async":"",o.on("set"+s,(function(e,t){u[e]=t||1})),o.on("get"+s,(function(e){++u[e]})),o.on("delete"+s,(function(e){delete u[e]})),o.on("clear"+s,(function(){u={}})),n(o.memoized,{deleteRef:e((function(){var e=o.get(arguments);return null===e?null:u[e]?! --u[e]&&(o.delete(e),!0):null})),getRefCount:e((function(){var e=o.get(arguments);return null===e?0:u[e]?u[e]:0}))})}})),ta=pe((function(e,t){"use strict";var r=Cr(),n=Sr(),a=Cn();t.exports=function(e){var t,o=r(arguments[1]);return o.normalizer||0!==(t=o.length=n(o.length,e.length,o.async))&&(o.primitive?!1===t?o.normalizer=kn():t>1&&(o.normalizer=Nn()(t)):o.normalizer=!1===t?Mn()():1===t?Pn()():In()(t)),o.async&&jn(),o.promise&&Wn(),o.dispose&&Yn(),o.maxAge&&Zn(),o.max&&Qn(),o.refCounter&&ea(),a(e,o)}})),ra={helpUrlBase:"https://dequeuniversity.com/rules/",gridSize:200,selectorSimilarFilterLimit:700,results:[],resultGroups:[],resultGroupMap:{},impact:Object.freeze(["minor","moderate","serious","critical"]),preload:Object.freeze({assets:["cssom","media"],timeout:1e4}),allOrigins:"<unsafe_all_origins>",sameOrigin:"<same_origin>",serializableErrorProps:Object.freeze(["message","stack","name","code","ruleId","method"])};[{name:"NA",value:"inapplicable",priority:0,group:"inapplicable"},{name:"PASS",value:"passed",priority:1,group:"passes"},{name:"CANTTELL",value:"cantTell",priority:2,group:"incomplete"},{name:"FAIL",value:"failed",priority:3,group:"violations"}].forEach((function(e){var t=e.name,r=e.value,n=e.priority,a=e.group;ra[t]=r,ra[t+"_PRIO"]=n,ra[t+"_GROUP"]=a,ra.results[n]=r,ra.resultGroups[n]=a,ra.resultGroupMap[r]=a})),Object.freeze(ra.results),Object.freeze(ra.resultGroups),Object.freeze(ra.resultGroupMap),Object.freeze(ra);var na=ra;var aa=function(){"object"===("undefined"==typeof console?"undefined":l(console))&&console.log&&Function.prototype.apply.call(console.log,console,arguments)},oa=/[\t\r\n\f]/g,ia=Q((function e(){Z(this,e),this.parent=void 0}),[{key:"props",get:function(){throw new Error('VirtualNode class must have a "props" object consisting of "nodeType" and "nodeName" properties')}},{key:"attrNames",get:function(){throw new Error('VirtualNode class must have an "attrNames" property')}},{key:"attr",value:function(){throw new Error('VirtualNode class must have an "attr" function')}},{key:"hasAttr",value:function(){throw new Error('VirtualNode class must have a "hasAttr" function')}},{key:"hasClass",value:function(e){var t=this.attr("class");if(!t)return!1;var r=" "+e+" ";return(" "+t+" ").replace(oa," ").indexOf(r)>=0}}]),ua={};fe(ua,{DqElement:function(){return Tp},RuleError:function(){return Mh},aggregate:function(){return sa},aggregateChecks:function(){return ma},aggregateNodeResults:function(){return ga},aggregateResult:function(){return ba},areStylesSet:function(){return ya},assert:function(){return wa},checkHelper:function(){return Sp},clone:function(){return Op},closest:function(){return Kp},collectResultsFromFrames:function(){return Wf},contains:function(){return Yf},convertSelector:function(){return Up},cssParser:function(){return Ip},deepMerge:function(){return Kf},escapeSelector:function(){return xa},extendMetaData:function(){return Xf},filterHtmlAttrs:function(){return Nh},finalizeRuleResult:function(){return ha},findBy:function(){return $f},getAllChecks:function(){return Gf},getAncestry:function(){return is},getBaseLang:function(){return dm},getCheckMessage:function(){return wm},getCheckOption:function(){return Dm},getEnvironmentData:function(){return xm},getFlattenedTree:function(){return um},getFrameContexts:function(){return Pm},getFriendlyUriEnd:function(){return Fa},getNodeAttributes:function(){return ka},getNodeFromTree:function(){return ps},getPreloadConfig:function(){return xh},getRootNode:function(){return ms},getRule:function(){return Im},getScroll:function(){return Lm},getScrollState:function(){return qm},getSelector:function(){return ns},getSelectorData:function(){return Zu},getShadowSelector:function(){return Vu},getStandards:function(){return zm},getStyleSheetFactory:function(){return Gm},getXpath:function(){return ss},injectStyle:function(){return $m},isArrayLike:function(){return Hm},isContextObject:function(){return Ym},isContextProp:function(){return Km},isContextSpec:function(){return Wm},isHidden:function(){return Jm},isHtmlElement:function(){return Qm},isLabelledFramesSelector:function(){return Xm},isLabelledShadowDomSelector:function(){return Zm},isNodeInContext:function(){return eh},isShadowRoot:function(){return Jf},isValidLang:function(){return Gh},isXHTML:function(){return zu},matchAncestry:function(){return rh},matches:function(){return Bp},matchesExpression:function(){return Yp},matchesSelector:function(){return Na},memoize:function(){return qu},mergeResults:function(){return Uf},nodeLookup:function(){return ah},nodeSerializer:function(){return Vf},nodeSorter:function(){return nh},objectHasOwn:function(){return Um},parseCrossOriginStylesheet:function(){return uh},parseSameOriginStylesheet:function(){return oh},parseStylesheet:function(){return ih},parseTabindex:function(){return sh},performanceTimer:function(){return ch},pollyfillElementsFromPoint:function(){return dh},preload:function(){return wh},preloadCssom:function(){return hh},preloadMedia:function(){return yh},processMessage:function(){return ym},publishMetaData:function(){return Eh},querySelectorAll:function(){return Fh},querySelectorAllFilter:function(){return mh},queue:function(){return ef},respondable:function(){return Pf},ruleShouldRun:function(){return kh},select:function(){return _h},sendCommandToFrame:function(){return Bf},serializeError:function(){return Sh},setScrollState:function(){return Ph},shadowSelect:function(){return Ih},shadowSelectAll:function(){return Lh},shouldPreload:function(){return Dh},toArray:function(){return Da},tokenList:function(){return em},uniqueArray:function(){return ph},uuid:function(){return vf},validInputTypes:function(){return qh},validLangs:function(){return Vh}});var sa=function(e,t,r){t=t.slice(),r&&t.push(r);var n=t.map((function(t){return e.indexOf(t)})).sort();return e[n.pop()]},la=na.CANTTELL_PRIO,ca=na.FAIL_PRIO,da=[];da[na.PASS_PRIO]=!0,da[na.CANTTELL_PRIO]=null,da[na.FAIL_PRIO]=!1;var pa=["any","all","none"];function fa(e,t){return pa.reduce((function(r,n){return r[n]=(e[n]||[]).map((function(e){return t(e,n)})),r}),{})}var ma=function(e){var t=Object.assign({},e);fa(t,(function(e,t){var r=void 0===e.result?-1:da.indexOf(e.result);e.priority=-1!==r?r:na.CANTTELL_PRIO,"none"===t&&(e.priority===na.PASS_PRIO?e.priority=na.FAIL_PRIO:e.priority===na.FAIL_PRIO&&(e.priority=na.PASS_PRIO))}));var r={all:t.all.reduce((function(e,t){return Math.max(e,t.priority)}),0),none:t.none.reduce((function(e,t){return Math.max(e,t.priority)}),0),any:t.any.reduce((function(e,t){return Math.min(e,t.priority)}),4)%4};t.priority=Math.max(r.all,r.none,r.any);var n=[];return pa.forEach((function(e){t[e]=t[e].filter((function(n){return n.priority===t.priority&&n.priority===r[e]})),t[e].forEach((function(e){return n.push(e.impact)}))})),[la,ca].includes(t.priority)?t.impact=sa(na.impact,n):t.impact=null,fa(t,(function(e){delete e.result,delete e.priority})),t.result=na.results[t.priority],delete t.priority,t};function ha(e){var t=c._audit.rules.find((function(t){return t.id===e.id}));return t&&t.impact&&e.nodes.forEach((function(e){["any","all","none"].forEach((function(r){(e[r]||[]).forEach((function(e){e.impact=t.impact}))}))})),Object.assign(e,ga(e.nodes)),delete e.nodes,e}var ga=function(e){var t={};if((e=e.map((function(e){if(e.any&&e.all&&e.none)return ma(e);if(Array.isArray(e.node))return ha(e);throw new TypeError("Invalid Result type")})))&&e.length){var r=e.map((function(e){return e.result}));t.result=sa(na.results,r,t.result)}else t.result="inapplicable";na.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){var r=na.resultGroupMap[e.result];t[r].push(e)}));var n=na.FAIL_GROUP;if(0===t[n].length&&(n=na.CANTTELL_GROUP),t[n].length>0){var a=t[n].map((function(e){return e.impact}));t.impact=sa(na.impact,a)||null}else t.impact=null;return t};function va(e,t,r){var n=Object.assign({},t);n.nodes=(n[r]||[]).concat(),na.resultGroups.forEach((function(e){delete n[e]})),e[r].push(n)}var ba=function(e){var t={};return na.resultGroups.forEach((function(e){return t[e]=[]})),e.forEach((function(e){e.error?va(t,e,na.CANTTELL_GROUP):e.result===na.NA?va(t,e,na.NA_GROUP):na.resultGroups.forEach((function(r){Array.isArray(e[r])&&e[r].length>0&&va(t,e,r)}))})),t};var ya=function e(t,r,n){var a=i.getComputedStyle(t,null);if(!a)return!1;for(var o=0;o<r.length;++o){var u=r[o];if(a.getPropertyValue(u.property)===u.value)return!0}return!(!t.parentNode||t.nodeName.toUpperCase()===n.toUpperCase())&&e(t.parentNode,r,n)};var wa=function(e,t){if(!e)throw new Error(t)};var Da=function(e){return Array.prototype.slice.call(e)};var xa=function(e){for(var t,r=String(e),n=r.length,a=-1,o="",i=r.charCodeAt(0);++a<n;)0!=(t=r.charCodeAt(a))?o+=t>=1&&t<=31||127==t||0==a&&t>=48&&t<=57||1==a&&t>=48&&t<=57&&45==i?"\\"+t.toString(16)+" ":(0!=a||1!=n||45!=t)&&(t>=128||45==t||95==t||t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122)?r.charAt(a):"\\"+r.charAt(a):o+="�";return o};function Ea(e,t){return[e.substring(0,t),e.substring(t)]}function Aa(e){return e.replace(/\s+$/,"")}var Fa=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!(e.length<=1||"data:"===e.substr(0,5)||"javascript:"===e.substr(0,11)||e.includes("?"))){var r=t.currentDomain,n=t.maxLength,a=void 0===n?25:n,o=function(e){var t=e,r="",n="",a="",o="",i="";if(e.includes("#")){var u=Y(Ea(e,e.indexOf("#")),2);e=u[0],i=u[1]}if(e.includes("?")){var s=Y(Ea(e,e.indexOf("?")),2);e=s[0],o=s[1]}if(e.includes("://")){var l=Y(e.split("://"),2);r=l[0];var c=Y(Ea(e=l[1],e.indexOf("/")),2);n=c[0],e=c[1]}else if("//"===e.substr(0,2)){var d=Y(Ea(e=e.substr(2),e.indexOf("/")),2);n=d[0],e=d[1]}if("www."===n.substr(0,4)&&(n=n.substr(4)),n&&n.includes(":")){var p=Y(Ea(n,n.indexOf(":")),2);n=p[0],a=p[1]}return{original:t,protocol:r,domain:n,port:a,path:e,query:o,hash:i}}(e),i=o.path,u=o.domain,s=o.hash,l=i.substr(i.substr(0,i.length-2).lastIndexOf("/")+1);if(s)return l&&(l+s).length<=a?Aa(l+s):l.length<2&&s.length>2&&s.length<=a?Aa(s):void 0;if(u&&u.length<a&&i.length<=1)return Aa(u+i);if(i==="/"+l&&u&&r&&u!==r&&(u+i).length<=a)return Aa(u+i);var c=l.lastIndexOf(".");return(-1===c||c>1)&&(-1!==c||l.length>2)&&l.length<=a&&!l.match(/index(\.[a-zA-Z]{2-4})?/)&&!function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return 0!==e.length&&(e.match(/[0-9]/g)||"").length>=e.length/2}(l)?Aa(l):void 0}};var Ca,ka=function(e){return e.attributes instanceof i.NamedNodeMap?e.attributes:e.cloneNode(!1).attributes},Na=function(e,t){return Ca&&e[Ca]||(Ca=function(e){var t,r,n=["matches","matchesSelector","mozMatchesSelector","webkitMatchesSelector","msMatchesSelector"],a=n.length;for(t=0;t<a;t++)if(e[r=n[t]])return r}(e)),!!e[Ca]&&e[Ca](t)},Ra={};fe(Ra,{ArrayFrom:function(){return ju.default},Colorjs:function(){return Ou},CssSelectorParser:function(){return Pa.CssSelectorParser},doT:function(){return Ia.default},emojiRegexText:function(){return Ba},memoize:function(){return La.default}});var _a=me(ge()),Ta=me(ve()),Sa=(me(be()),me(vt())),Oa=me(Pt()),Ma=me(br());"hasOwn"in Object||(Object.hasOwn=Sa.default),"values"in Object||(Object.values=Oa.default),"Promise"in i||_a.default.polyfill(),"Uint32Array"in i||(i.Uint32Array=Ta.Uint32Array),i.Uint32Array&&("some"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"some",{value:Array.prototype.some}),"reduce"in i.Uint32Array.prototype||Object.defineProperty(i.Uint32Array.prototype,"reduce",{value:Array.prototype.reduce})),"function"!=typeof Object.assign&&(Object.assign=function(e){if(null==e)throw new TypeError("Cannot convert undefined or null to object");for(var t=Object(e),r=1;r<arguments.length;r++){var n=arguments[r];if(null!=n)for(var a in n)n.hasOwnProperty(a)&&(t[a]=n[a])}return t}),Array.prototype.find||Object.defineProperty(Array.prototype,"find",{value:function(e){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var t,r=Object(this),n=r.length>>>0,a=arguments[1],o=0;o<n;o++)if(t=r[o],e.call(a,t,o,r))return t}}),Array.prototype.findIndex||Object.defineProperty(Array.prototype,"findIndex",{value:function(e,t){if(null===this)throw new TypeError("Array.prototype.find called on null or undefined");if("function"!=typeof e)throw new TypeError("predicate must be a function");for(var r,n=Object(this),a=n.length>>>0,o=0;o<a;o++)if(r=n[o],e.call(t,r,o,n))return o;return-1}}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e){var t=Object(this),r=parseInt(t.length,10)||0;if(0===r)return!1;var n,a,o=parseInt(arguments[1],10)||0;for(o>=0?n=o:(n=r+o)<0&&(n=0);n<r;){if(e===(a=t[n])||e!=e&&a!=a)return!0;n++}return!1}}),Array.prototype.some||Object.defineProperty(Array.prototype,"some",{value:function(e){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof e)throw new TypeError;for(var t=Object(this),r=t.length>>>0,n=arguments.length>=2?arguments[1]:void 0,a=0;a<r;a++)if(a in t&&e.call(n,t[a],a,t))return!0;return!1}}),Array.from||(Array.from=Ma.default),String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)}),Array.prototype.flat||Object.defineProperty(Array.prototype,"flat",{configurable:!0,value:function e(){var t=isNaN(arguments[0])?1:Number(arguments[0]);return t?Array.prototype.reduce.call(this,(function(r,n){return Array.isArray(n)?r.push.apply(r,e.call(n,t-1)):r.push(n),r}),[]):Array.prototype.slice.call(this)},writable:!0}),i.Node&&!("isConnected"in i.Node.prototype)&&Object.defineProperty(i.Node.prototype,"isConnected",{get:function(){return!(this.ownerDocument&&this.ownerDocument.compareDocumentPosition(this)&this.DOCUMENT_POSITION_DISCONNECTED)}});var Pa=me(xr()),Ia=me(Er()),Ba=function(){return/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g},La=me(ta());function ja(e,t){var r=e.length;Array.isArray(e[0])||(e=[e]),Array.isArray(t[0])||(t=t.map((function(e){return[e]})));var n=t[0].length,a=t[0].map((function(e,r){return t.map((function(e){return e[r]}))})),o=e.map((function(e){return a.map((function(t){var r=0;if(!Array.isArray(e)){var n,a=te(t);try{for(a.s();!(n=a.n()).done;){var o=n.value;r+=e*o}}catch(e){a.e(e)}finally{a.f()}return r}for(var i=0;i<e.length;i++)r+=e[i]*(t[i]||0);return r}))}));return 1===r&&(o=o[0]),1===n?o.map((function(e){return e[0]})):o}function qa(e){return"string"===za(e)}function za(e){return(Object.prototype.toString.call(e).match(/^\[object\s+(.*?)\]$/)[1]||"").toLowerCase()}function Va(e,t){e=+e,t=+t;var r=(Math.floor(e)+"").length;if(t>r)return+e.toFixed(t-r);var n=Math.pow(10,r-t);return Math.round(e/n)*n}function Ga(e){if(e){e=e.trim();var t=/^-?[\d.]+$/,r=e.match(/^([a-z]+)\((.+?)\)$/i);if(r){var n=[];return r[2].replace(/\/?\s*([-\w.]+(?:%|deg)?)/g,(function(e,r){/%$/.test(r)?(r=new Number(r.slice(0,-1)/100)).type="<percentage>":/deg$/.test(r)?((r=new Number(+r.slice(0,-3))).type="<angle>",r.unit="deg"):t.test(r)&&((r=new Number(r)).type="<number>"),e.startsWith("/")&&((r=r instanceof Number?r:new Number(r)).alpha=!0),n.push(r)})),{name:r[1].toLowerCase(),rawName:r[1],rawArgs:r[2],args:n}}}}function $a(e){return e[e.length-1]}function Ha(e,t,r){return isNaN(e)?t:isNaN(t)?e:e+(t-e)*r}function Ua(e,t,r){return(r-e)/(t-e)}function Wa(e,t,r){return Ha(t[0],t[1],Ua(e[0],e[1],r))}function Ya(e){return e.map((function(e){return e.split("|").map((function(e){var t=(e=e.trim()).match(/^(<[a-z]+>)\[(-?[.\d]+),\s*(-?[.\d]+)\]?$/);if(t){var r=new String(t[1]);return r.range=[+t[2],+t[3]],r}return e}))}))}var Ka=Object.freeze({__proto__:null,isString:qa,type:za,toPrecision:Va,parseFunction:Ga,last:$a,interpolate:Ha,interpolateInv:Ua,mapRange:Wa,parseCoordGrammar:Ya,multiplyMatrices:ja}),Xa=Q((function e(){Z(this,e)}),[{key:"add",value:function(e,t,r){if("string"==typeof arguments[0])(Array.isArray(e)?e:[e]).forEach((function(e){this[e]=this[e]||[],t&&this[e][r?"unshift":"push"](t)}),this);else for(var e in arguments[0])this.add(e,arguments[0][e],arguments[1])}},{key:"run",value:function(e,t){this[e]=this[e]||[],this[e].forEach((function(e){e.call(t&&t.context?t.context:t,t)}))}}]),Za=new Xa,Ja={gamut_mapping:"lch.c",precision:5,deltaE:"76"},Qa={D50:[.3457/.3585,1,.2958/.3585],D65:[.3127/.329,1,.3583/.329]};function eo(e){return Array.isArray(e)?e:Qa[e]}function to(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(e=eo(e),t=eo(t),!e||!t)throw new TypeError("Missing white point to convert ".concat(e?"":"from").concat(e||t?"":"/").concat(t?"":"to"));if(e===t)return r;var a={W1:e,W2:t,XYZ:r,options:n};if(Za.run("chromatic-adaptation-start",a),a.M||(a.W1===Qa.D65&&a.W2===Qa.D50?a.M=[[1.0479298208405488,.022946793341019088,-.05019222954313557],[.029627815688159344,.990434484573249,-.01707382502938514],[-.009243058152591178,.015055144896577895,.7518742899580008]]:a.W1===Qa.D50&&a.W2===Qa.D65&&(a.M=[[.9554734527042182,-.023098536874261423,.0632593086610217],[-.028369706963208136,1.0099954580058226,.021041398966943008],[.012314001688319899,-.020507696433477912,1.3303659366080753]])),Za.run("chromatic-adaptation-end",a),a.M)return ja(a.M,a.XYZ);throw new TypeError("Only Bradford CAT with white points D50 and D65 supported for now.")}var ro=(e=new WeakSet,t=new WeakMap,Q((function r(n){var a,o,i,u,s,l,c;Z(this,r),G(this,e),V(this,t,void 0),this.id=n.id,this.name=n.name,this.base=n.base?ro.get(n.base):null,this.aliases=n.aliases,this.base&&(this.fromBase=n.fromBase,this.toBase=n.toBase);var d=null!==(a=n.coords)&&void 0!==a?a:this.base.coords;this.coords=d;var p=null!==(o=null!==(i=n.white)&&void 0!==i?i:this.base.white)&&void 0!==o?o:"D65";for(var f in this.white=eo(p),this.formats=null!==(u=n.formats)&&void 0!==u?u:{},this.formats){var m=this.formats[f];m.type||(m.type="function"),m.name||(m.name=f)}!n.cssId||null!==(s=this.formats.functions)&&void 0!==s&&s.color?null===(l=this.formats)||void 0===l||!l.color||null!==(c=this.formats)&&void 0!==c&&c.color.id||(this.formats.color.id=this.id):(this.formats.color={id:n.cssId},Object.defineProperty(this,"cssId",{value:n.cssId})),this.referred=n.referred,U(t,this,W(e,this,ao).call(this).reverse()),Za.run("colorspace-init-end",this)}),[{key:"inGamut",value:function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).epsilon,r=void 0===t?75e-6:t;if(this.isPolar)return e=this.toBase(e),this.base.inGamut(e,{epsilon:r});var n=Object.values(this.coords);return e.every((function(e,t){var a=n[t];if("angle"!==a.type&&a.range){if(Number.isNaN(e))return!0;var o=Y(a.range,2),i=o[0],u=o[1];return(void 0===i||e>=i-r)&&(void 0===u||e<=u+r)}return!0}))}},{key:"cssId",get:function(){var e;return(null===(e=this.formats.functions)||void 0===e||null===(e=e.color)||void 0===e?void 0:e.id)||this.id}},{key:"isPolar",get:function(){for(var e in this.coords)if("angle"===this.coords[e].type)return!0;return!1}},{key:"getFormat",value:function(t){return"object"===l(t)?t=W(e,this,no).call(this,t):(r="default"===t?Object.values(this.formats)[0]:this.formats[t])?r=W(e,this,no).call(this,r):null;var r}},{key:"to",value:function(e,r){if(1===arguments.length){var n=[e.space,e.coords];e=n[0],r=n[1]}if(this===(e=ro.get(e)))return r;r=r.map((function(e){return Number.isNaN(e)?0:e}));for(var a,o,i=H(t,this),u=H(t,e),s=0;s<i.length&&i[s]===u[s];s++)a=i[s],o=s;if(!a)throw new Error("Cannot convert between color spaces ".concat(this," and ").concat(e,": no connection space was found"));for(var l=i.length-1;l>o;l--)r=i[l].toBase(r);for(var c=o+1;c<u.length;c++)r=u[c].fromBase(r);return r}},{key:"from",value:function(e,t){if(1===arguments.length){var r=[e.space,e.coords];e=r[0],t=r[1]}return(e=ro.get(e)).to(this,t)}},{key:"toString",value:function(){return"".concat(this.name," (").concat(this.id,")")}},{key:"getMinCoords",value:function(){var e=[];for(var t in this.coords){var r,n=this.coords[t],a=n.range||n.refRange;e.push(null!==(r=null==a?void 0:a.min)&&void 0!==r?r:0)}return e}}],[{key:"all",get:function(){return q(new Set(Object.values(ro.registry)))}},{key:"register",value:function(e,t){if(1===arguments.length&&(e=(t=arguments[0]).id),t=this.get(t),this.registry[e]&&this.registry[e]!==t)throw new Error("Duplicate color space registration: '".concat(e,"'"));if(this.registry[e]=t,1===arguments.length&&t.aliases){var r,n=te(t.aliases);try{for(n.s();!(r=n.n()).done;){var a=r.value;this.register(a,t)}}catch(e){n.e(e)}finally{n.f()}}return t}},{key:"get",value:function(e){if(!e||e instanceof ro)return e;if("string"===za(e)){var t=ro.registry[e.toLowerCase()];if(!t)throw new TypeError('No color space found with id = "'.concat(e,'"'));return t}for(var r=arguments.length,n=new Array(r>1?r-1:0),a=1;a<r;a++)n[a-1]=arguments[a];if(n.length)return ro.get.apply(ro,n);throw new TypeError("".concat(e," is not a valid color space"))}},{key:"resolveCoord",value:function(e,t){var r,n,a=za(e);if("string"===a)if(e.includes(".")){var o=Y(e.split("."),2);r=o[0],n=o[1]}else r=void 0,n=e;else if(Array.isArray(e)){var i=Y(e,2);r=i[0],n=i[1]}else r=e.space,n=e.coordId;if((r=ro.get(r))||(r=t),!r)throw new TypeError("Cannot resolve coordinate reference ".concat(e,": No color space specified and relative references are not allowed here"));if("number"===(a=za(n))||"string"===a&&n>=0){var u=Object.entries(r.coords)[n];if(u)return j({space:r,id:u[0],index:n},u[1])}r=ro.get(r);var s=n.toLowerCase(),l=0;for(var c in r.coords){var d,p=r.coords[c];if(c.toLowerCase()===s||(null===(d=p.name)||void 0===d?void 0:d.toLowerCase())===s)return j({space:r,id:c,index:l},p);l++}throw new TypeError('No "'.concat(n,'" coordinate found in ').concat(r.name,". Its coordinates are: ").concat(Object.keys(r.coords).join(", ")))}}]));function no(e){if(e.coords&&!e.coordGrammar){e.type||(e.type="function"),e.name||(e.name="color"),e.coordGrammar=Ya(e.coords);var t=Object.entries(this.coords).map((function(t,r){var n=Y(t,2),a=(n[0],n[1]),o=e.coordGrammar[r][0],i=a.range||a.refRange,u=o.range,s="";return"<percentage>"==o?(u=[0,100],s="%"):"<angle>"==o&&(s="deg"),{fromRange:i,toRange:u,suffix:s}}));e.serializeCoords=function(e,r){return e.map((function(e,n){var a=t[n],o=a.fromRange,i=a.toRange,u=a.suffix;return o&&i&&(e=Wa(o,i,e)),e=Va(e,r),u&&(e+=u),e}))}}return e}function ao(){for(var e=[this],t=this;t=t.base;)e.push(t);return e}var oo=ro;he(oo,"registry",{}),he(oo,"DEFAULT_FORMAT",{type:"functions",name:"color"});var io=new oo({id:"xyz-d65",name:"XYZ D65",coords:{x:{name:"X"},y:{name:"Y"},z:{name:"Z"}},white:"D65",formats:{color:{ids:["xyz-d65","xyz"]}},aliases:["xyz"]}),uo=function(e){function t(e){var r,n,a,o;(Z(this,t),e.coords||(e.coords={r:{range:[0,1],name:"Red"},g:{range:[0,1],name:"Green"},b:{range:[0,1],name:"Blue"}}),e.base||(e.base=io),e.toXYZ_M&&e.fromXYZ_M)&&(null!==(a=e.toBase)&&void 0!==a||(e.toBase=function(t){var r=ja(e.toXYZ_M,t);return n.white!==n.base.white&&(r=to(n.white,n.base.white,r)),r}),null!==(o=e.fromBase)&&void 0!==o||(e.fromBase=function(t){return t=to(n.base.white,n.white,t),ja(e.fromXYZ_M,t)}));return null!==(r=e.referred)&&void 0!==r||(e.referred="display"),n=M(this,t,[e])}return B(t,e),Q(t)}(oo);function so(e){var t,r={str:null===(t=String(e))||void 0===t?void 0:t.trim()};if(Za.run("parse-start",r),r.color)return r.color;if(r.parsed=Ga(r.str),r.parsed){var n=r.parsed.name;if("color"===n){var a,o=r.parsed.args.shift(),i=r.parsed.rawArgs.indexOf("/")>0?r.parsed.args.pop():1,u=te(oo.all);try{var s,l=function(){var e,t=a.value,n=t.getFormat("color");if(n&&(o===n.id||null!==(e=n.ids)&&void 0!==e&&e.includes(o))){var u=Object.keys(t.coords).length,s=Array(u).fill(0);return s.forEach((function(e,t){return s[t]=r.parsed.args[t]||0})),{v:{spaceId:t.id,coords:s,alpha:i}}}};for(u.s();!(a=u.n()).done;)if(s=l())return s.v}catch(e){u.e(e)}finally{u.f()}var c="";if(o in oo.registry){var d,p=null===(d=oo.registry[o].formats)||void 0===d||null===(d=d.functions)||void 0===d||null===(d=d.color)||void 0===d?void 0:d.id;p&&(c="Did you mean color(".concat(p,")?"))}throw new TypeError("Cannot parse color(".concat(o,"). ")+(c||"Missing a plugin?"))}var f,m=te(oo.all);try{var h,g=function(){var e=f.value,t=e.getFormat(n);if(t&&"function"===t.type){var a=1;(t.lastAlpha||$a(r.parsed.args).alpha)&&(a=r.parsed.args.pop());var o=r.parsed.args;return t.coordGrammar&&Object.entries(e.coords).forEach((function(e,r){var a,i=Y(e,2),u=i[0],s=i[1],l=t.coordGrammar[r],c=null===(a=o[r])||void 0===a?void 0:a.type;if(!(l=l.find((function(e){return e==c})))){var d=s.name||u;throw new TypeError("".concat(c," not allowed for ").concat(d," in ").concat(n,"()"))}var p=l.range;"<percentage>"===c&&(p||(p=[0,1]));var f=s.range||s.refRange;p&&f&&(o[r]=Wa(p,f,o[r]))})),{v:{spaceId:e.id,coords:o,alpha:a}}}};for(m.s();!(f=m.n()).done;)if(h=g())return h.v}catch(e){m.e(e)}finally{m.f()}}else{var v,b=te(oo.all);try{for(b.s();!(v=b.n()).done;){var y=v.value;for(var w in y.formats){var D=y.formats[w];if("custom"===D.type&&(!D.test||D.test(r.str))){var x,E=D.parse(r.str);if(E)return null!==(x=E.alpha)&&void 0!==x||(E.alpha=1),E}}}}catch(e){b.e(e)}finally{b.f()}}throw new TypeError("Could not parse ".concat(e," as a color. Missing a plugin?"))}function lo(e){if(!e)throw new TypeError("Empty color reference");qa(e)&&(e=so(e));var t=e.space||e.spaceId;return t instanceof oo||(e.space=oo.get(t)),void 0===e.alpha&&(e.alpha=1),e}function co(e,t){return(t=oo.get(t)).from(e)}function po(e,t){var r=oo.resolveCoord(t,e.space),n=r.space,a=r.index;return co(e,n)[a]}function fo(e,t,r){return t=oo.get(t),e.coords=t.to(e.space,r),e}function mo(e,t,r){if(e=lo(e),2===arguments.length&&"object"===za(arguments[1])){var n=arguments[1];for(var a in n)mo(e,a,n[a])}else{"function"==typeof r&&(r=r(po(e,t)));var o=oo.resolveCoord(t,e.space),i=o.space,u=o.index,s=co(e,i);s[u]=r,fo(e,i,s)}return e}var ho=new oo({id:"xyz-d50",name:"XYZ D50",white:"D50",base:io,fromBase:function(e){return to(io.white,"D50",e)},toBase:function(e){return to("D50",io.white,e)},formats:{color:{}}}),go=216/24389,vo=24/116,bo=24389/27,yo=Qa.D50,wo=new oo({id:"lab",name:"Lab",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:yo,base:ho,fromBase:function(e){var t=e.map((function(e,t){return e/yo[t]})),r=t.map((function(e){return e>go?Math.cbrt(e):(bo*e+16)/116}));return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>vo?Math.pow(t[0],3):(116*t[0]-16)/bo,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/bo,t[2]>vo?Math.pow(t[2],3):(116*t[2]-16)/bo].map((function(e,t){return e*yo[t]}))},formats:{lab:{coords:["<number> | <percentage>","<number>","<number>"]}}});function Do(e){return(e%360+360)%360}var xo=new oo({id:"lch",name:"LCH",coords:{l:{refRange:[0,100],name:"Lightness"},c:{refRange:[0,150],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},base:wo,fromBase:function(e){var t,r=Y(e,3),n=r[0],a=r[1],o=r[2];return t=Math.abs(a)<.02&&Math.abs(o)<.02?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),Do(t)]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2];return n<0&&(n=0),isNaN(a)&&(a=0),[r,n*Math.cos(a*Math.PI/180),n*Math.sin(a*Math.PI/180)]},formats:{lch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),Eo=Math.pow(25,7),Ao=Math.PI,Fo=180/Ao,Co=Ao/180;function ko(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.kL,a=void 0===n?1:n,o=r.kC,i=void 0===o?1:o,u=r.kH,s=void 0===u?1:u,l=Y(wo.from(e),3),c=l[0],d=l[1],p=l[2],f=xo.from(wo,[c,d,p])[1],m=Y(wo.from(t),3),h=m[0],g=m[1],v=m[2],b=xo.from(wo,[h,g,v])[1];f<0&&(f=0),b<0&&(b=0);var y=(f+b)/2,w=Math.pow(y,7),D=.5*(1-Math.sqrt(w/(w+Eo))),x=(1+D)*d,E=(1+D)*g,A=Math.sqrt(Math.pow(x,2)+Math.pow(p,2)),F=Math.sqrt(Math.pow(E,2)+Math.pow(v,2)),C=0===x&&0===p?0:Math.atan2(p,x),k=0===E&&0===v?0:Math.atan2(v,E);C<0&&(C+=2*Ao),k<0&&(k+=2*Ao);var N,R=h-c,_=F-A,T=(k*=Fo)-(C*=Fo),S=C+k,O=Math.abs(T);A*F==0?N=0:O<=180?N=T:T>180?N=T-360:T<-180?N=T+360:console.log("the unthinkable has happened");var M,P=2*Math.sqrt(F*A)*Math.sin(N*Co/2),I=(c+h)/2,B=(A+F)/2,L=Math.pow(B,7);M=A*F==0?S:O<=180?S/2:S<360?(S+360)/2:(S-360)/2;var j=Math.pow(I-50,2),q=1+.015*j/Math.sqrt(20+j),z=1+.045*B,V=1;V-=.17*Math.cos((M-30)*Co),V+=.24*Math.cos(2*M*Co),V+=.32*Math.cos((3*M+6)*Co);var G=1+.015*B*(V-=.2*Math.cos((4*M-63)*Co)),$=30*Math.exp(-1*Math.pow((M-275)/25,2)),H=2*Math.sqrt(L/(L+Eo)),U=-1*Math.sin(2*$*Co)*H,W=Math.pow(R/(a*q),2);return W+=Math.pow(_/(i*z),2),W+=Math.pow(P/(s*G),2),W+=U*(_/(i*z))*(P/(s*G)),Math.sqrt(W)}function No(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.space,r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).epsilon,n=void 0===r?75e-6:r;e=lo(e),t=oo.get(t);var a=e.coords;return t!==e.space&&(a=t.from(e)),t.inGamut(a,{epsilon:n})}function Ro(e){return{space:e.space,coords:e.coords.slice(),alpha:e.alpha}}function _o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.method,n=void 0===r?Ja.gamut_mapping:r,a=t.space,o=void 0===a?e.space:a;if(qa(arguments[1])&&(o=arguments[1]),No(e,o=oo.get(o),{epsilon:0}))return e;var i=To(e,o);if("clip"!==n&&!No(e,o)){var u=_o(Ro(i),{method:"clip",space:o});if(ko(e,u)>2){for(var s=oo.resolveCoord(n),l=s.space,c=s.id,d=To(i,l),p=(s.range||s.refRange)[0],f=po(d,c);f-p>.01;){var m=Ro(d);ko(d,m=_o(m,{space:o,method:"clip"}))-2<.01?p=po(d,c):f=po(d,c),mo(d,c,(p+f)/2)}i=To(d,o)}else i=u}if("clip"===n||!No(i,o,{epsilon:0})){var h=Object.values(o.coords).map((function(e){return e.range||[]}));i.coords=i.coords.map((function(e,t){var r=Y(h[t],2),n=r[0],a=r[1];return void 0!==n&&(e=Math.max(n,e)),void 0!==a&&(e=Math.min(e,a)),e}))}return o!==e.space&&(i=To(i,e.space)),e.coords=i.coords,e}function To(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).inGamut;e=lo(e);var n=(t=oo.get(t)).from(e),a={space:t,coords:n,alpha:e.alpha};return r&&(a=_o(a)),a}function So(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=a.precision,i=void 0===o?Ja.precision:o,u=a.format,s=void 0===u?"default":u,l=a.inGamut,c=void 0===l||l,p=O(a,d),f=s;s=null!==(t=null!==(r=(e=lo(e)).space.getFormat(s))&&void 0!==r?r:e.space.getFormat("default"))&&void 0!==t?t:oo.DEFAULT_FORMAT,c||(c=s.toGamut);var m=e.coords;if(m=m.map((function(e){return e||0})),c&&!No(e)&&(m=_o(Ro(e),!0===c?void 0:c).coords),"custom"===s.type){if(p.precision=i,!s.serialize)throw new TypeError("format ".concat(f," can only be used to parse colors, not for serialization"));n=s.serialize(m,e.alpha,p)}else{var h=s.name||"color";s.serializeCoords?m=s.serializeCoords(m,i):null!==i&&(m=m.map((function(e){return Va(e,i)})));var g=q(m);if("color"===h){var v,b=s.id||(null===(v=s.ids)||void 0===v?void 0:v[0])||e.space.id;g.unshift(b)}var y=e.alpha;null!==i&&(y=Va(y,i));var w=e.alpha<1&&!s.noAlpha?"".concat(s.commas?",":" /"," ").concat(y):"";n="".concat(h,"(").concat(g.join(s.commas?", ":" ")).concat(w,")")}return n}_o.returns="color",To.returns="color";var Oo=new uo({id:"rec2020-linear",name:"Linear REC.2020",white:"D65",toXYZ_M:[[.6369580483012914,.14461690358620832,.1688809751641721],[.2627002120112671,.6779980715188708,.05930171646986196],[0,.028072693049087428,1.060985057710791]],fromXYZ_M:[[1.716651187971268,-.355670783776392,-.25336628137366],[-.666684351832489,1.616481236634939,.0157685458139111],[.017639857445311,-.042770613257809,.942103121235474]],formats:{color:{}}}),Mo=1.09929682680944,Po=.018053968510807,Io=new uo({id:"rec2020",name:"REC.2020",base:Oo,toBase:function(e){return e.map((function(e){return e<4.5*Po?e/4.5:Math.pow((e+Mo-1)/Mo,1/.45)}))},fromBase:function(e){return e.map((function(e){return e>=Po?Mo*Math.pow(e,.45)-(Mo-1):4.5*e}))},formats:{color:{}}}),Bo=new uo({id:"p3-linear",name:"Linear P3",white:"D65",toXYZ_M:[[.4865709486482162,.26566769316909306,.1982172852343625],[.2289745640697488,.6917385218365064,.079286914093745],[0,.04511338185890264,1.043944368900976]],fromXYZ_M:[[2.493496911941425,-.9313836179191239,-.40271078445071684],[-.8294889695615747,1.7626640603183463,.023624685841943577],[.03584583024378447,-.07617238926804182,.9568845240076872]]}),Lo=new uo({id:"srgb-linear",name:"Linear sRGB",white:"D65",toXYZ_M:[[.41239079926595934,.357584339383878,.1804807884018343],[.21263900587151027,.715168678767756,.07219231536073371],[.01933081871559182,.11919477979462598,.9505321522496607]],fromXYZ_M:[[3.2409699419045226,-1.537383177570094,-.4986107602930034],[-.9692436362808796,1.8759675015077202,.04155505740717559],[.05563007969699366,-.20397695888897652,1.0569715142428786]],formats:{color:{}}}),jo={aliceblue:[240/255,248/255,1],antiquewhite:[250/255,235/255,215/255],aqua:[0,1,1],aquamarine:[127/255,1,212/255],azure:[240/255,1,1],beige:[245/255,245/255,220/255],bisque:[1,228/255,196/255],black:[0,0,0],blanchedalmond:[1,235/255,205/255],blue:[0,0,1],blueviolet:[138/255,43/255,226/255],brown:[165/255,42/255,42/255],burlywood:[222/255,184/255,135/255],cadetblue:[95/255,158/255,160/255],chartreuse:[127/255,1,0],chocolate:[210/255,105/255,30/255],coral:[1,127/255,80/255],cornflowerblue:[100/255,149/255,237/255],cornsilk:[1,248/255,220/255],crimson:[220/255,20/255,60/255],cyan:[0,1,1],darkblue:[0,0,139/255],darkcyan:[0,139/255,139/255],darkgoldenrod:[184/255,134/255,11/255],darkgray:[169/255,169/255,169/255],darkgreen:[0,100/255,0],darkgrey:[169/255,169/255,169/255],darkkhaki:[189/255,183/255,107/255],darkmagenta:[139/255,0,139/255],darkolivegreen:[85/255,107/255,47/255],darkorange:[1,140/255,0],darkorchid:[.6,50/255,.8],darkred:[139/255,0,0],darksalmon:[233/255,150/255,122/255],darkseagreen:[143/255,188/255,143/255],darkslateblue:[72/255,61/255,139/255],darkslategray:[47/255,79/255,79/255],darkslategrey:[47/255,79/255,79/255],darkturquoise:[0,206/255,209/255],darkviolet:[148/255,0,211/255],deeppink:[1,20/255,147/255],deepskyblue:[0,191/255,1],dimgray:[105/255,105/255,105/255],dimgrey:[105/255,105/255,105/255],dodgerblue:[30/255,144/255,1],firebrick:[178/255,34/255,34/255],floralwhite:[1,250/255,240/255],forestgreen:[34/255,139/255,34/255],fuchsia:[1,0,1],gainsboro:[220/255,220/255,220/255],ghostwhite:[248/255,248/255,1],gold:[1,215/255,0],goldenrod:[218/255,165/255,32/255],gray:[128/255,128/255,128/255],green:[0,128/255,0],greenyellow:[173/255,1,47/255],grey:[128/255,128/255,128/255],honeydew:[240/255,1,240/255],hotpink:[1,105/255,180/255],indianred:[205/255,92/255,92/255],indigo:[75/255,0,130/255],ivory:[1,1,240/255],khaki:[240/255,230/255,140/255],lavender:[230/255,230/255,250/255],lavenderblush:[1,240/255,245/255],lawngreen:[124/255,252/255,0],lemonchiffon:[1,250/255,205/255],lightblue:[173/255,216/255,230/255],lightcoral:[240/255,128/255,128/255],lightcyan:[224/255,1,1],lightgoldenrodyellow:[250/255,250/255,210/255],lightgray:[211/255,211/255,211/255],lightgreen:[144/255,238/255,144/255],lightgrey:[211/255,211/255,211/255],lightpink:[1,182/255,193/255],lightsalmon:[1,160/255,122/255],lightseagreen:[32/255,178/255,170/255],lightskyblue:[135/255,206/255,250/255],lightslategray:[119/255,136/255,.6],lightslategrey:[119/255,136/255,.6],lightsteelblue:[176/255,196/255,222/255],lightyellow:[1,1,224/255],lime:[0,1,0],limegreen:[50/255,205/255,50/255],linen:[250/255,240/255,230/255],magenta:[1,0,1],maroon:[128/255,0,0],mediumaquamarine:[.4,205/255,170/255],mediumblue:[0,0,205/255],mediumorchid:[186/255,85/255,211/255],mediumpurple:[147/255,112/255,219/255],mediumseagreen:[60/255,179/255,113/255],mediumslateblue:[123/255,104/255,238/255],mediumspringgreen:[0,250/255,154/255],mediumturquoise:[72/255,209/255,.8],mediumvioletred:[199/255,21/255,133/255],midnightblue:[25/255,25/255,112/255],mintcream:[245/255,1,250/255],mistyrose:[1,228/255,225/255],moccasin:[1,228/255,181/255],navajowhite:[1,222/255,173/255],navy:[0,0,128/255],oldlace:[253/255,245/255,230/255],olive:[128/255,128/255,0],olivedrab:[107/255,142/255,35/255],orange:[1,165/255,0],orangered:[1,69/255,0],orchid:[218/255,112/255,214/255],palegoldenrod:[238/255,232/255,170/255],palegreen:[152/255,251/255,152/255],paleturquoise:[175/255,238/255,238/255],palevioletred:[219/255,112/255,147/255],papayawhip:[1,239/255,213/255],peachpuff:[1,218/255,185/255],peru:[205/255,133/255,63/255],pink:[1,192/255,203/255],plum:[221/255,160/255,221/255],powderblue:[176/255,224/255,230/255],purple:[128/255,0,128/255],rebeccapurple:[.4,.2,.6],red:[1,0,0],rosybrown:[188/255,143/255,143/255],royalblue:[65/255,105/255,225/255],saddlebrown:[139/255,69/255,19/255],salmon:[250/255,128/255,114/255],sandybrown:[244/255,164/255,96/255],seagreen:[46/255,139/255,87/255],seashell:[1,245/255,238/255],sienna:[160/255,82/255,45/255],silver:[192/255,192/255,192/255],skyblue:[135/255,206/255,235/255],slateblue:[106/255,90/255,205/255],slategray:[112/255,128/255,144/255],slategrey:[112/255,128/255,144/255],snow:[1,250/255,250/255],springgreen:[0,1,127/255],steelblue:[70/255,130/255,180/255],tan:[210/255,180/255,140/255],teal:[0,128/255,128/255],thistle:[216/255,191/255,216/255],tomato:[1,99/255,71/255],turquoise:[64/255,224/255,208/255],violet:[238/255,130/255,238/255],wheat:[245/255,222/255,179/255],white:[1,1,1],whitesmoke:[245/255,245/255,245/255],yellow:[1,1,0],yellowgreen:[154/255,205/255,50/255]},qo=Array(3).fill("<percentage> | <number>[0, 255]"),zo=Array(3).fill("<number>[0, 255]"),Vo=new uo({id:"srgb",name:"sRGB",base:Lo,fromBase:function(e){return e.map((function(e){var t=e<0?-1:1,r=e*t;return r>.0031308?t*(1.055*Math.pow(r,1/2.4)-.055):12.92*e}))},toBase:function(e){return e.map((function(e){var t=e<0?-1:1,r=e*t;return r<.04045?e/12.92:t*Math.pow((r+.055)/1.055,2.4)}))},formats:{rgb:{coords:qo},rgb_number:{name:"rgb",commas:!0,coords:zo,noAlpha:!0},color:{},rgba:{coords:qo,commas:!0,lastAlpha:!0},rgba_number:{name:"rgba",commas:!0,coords:zo},hex:{type:"custom",toGamut:!0,test:function(e){return/^#([a-f0-9]{3,4}){1,2}$/i.test(e)},parse:function(e){e.length<=5&&(e=e.replace(/[a-f0-9]/gi,"$&$&"));var t=[];return e.replace(/[a-f0-9]{2}/gi,(function(e){t.push(parseInt(e,16)/255)})),{spaceId:"srgb",coords:t.slice(0,3),alpha:t.slice(3)[0]}},serialize:function(e,t){var r=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}).collapse,n=void 0===r||r;t<1&&e.push(t),e=e.map((function(e){return Math.round(255*e)}));var a=n&&e.every((function(e){return e%17==0}));return"#"+e.map((function(e){return a?(e/17).toString(16):e.toString(16).padStart(2,"0")})).join("")}},keyword:{type:"custom",test:function(e){return/^[a-z]+$/i.test(e)},parse:function(e){var t={spaceId:"srgb",coords:null,alpha:1};if("transparent"===(e=e.toLowerCase())?(t.coords=jo.black,t.alpha=0):t.coords=jo[e],t.coords)return t}}}}),Go=new uo({id:"p3",name:"P3",base:Bo,fromBase:Vo.fromBase,toBase:Vo.toBase,formats:{color:{id:"display-p3"}}});if(Ja.display_space=Vo,"undefined"!=typeof CSS&&null!==(o=CSS)&&void 0!==o&&o.supports)for(var $o=0,Ho=[wo,Io,Go];$o<Ho.length;$o++){var Uo=Ho[$o],Wo=Uo.getMinCoords(),Yo=So({space:Uo,coords:Wo,alpha:1});if(CSS.supports("color",Yo)){Ja.display_space=Uo;break}}function Ko(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.space,a=void 0===n?Ja.display_space:n,o=O(r,p),i=So(e,o);if("undefined"==typeof CSS||null!==(t=CSS)&&void 0!==t&&t.supports("color",i)||!Ja.display_space)(i=new String(i)).color=e;else{var u=To(e,a);(i=new String(So(u,o))).color=u}return i}function Xo(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"lab",n=(r=oo.get(r)).from(e),a=r.from(t);return Math.sqrt(n.reduce((function(e,t,r){var n=a[r];return isNaN(t)||isNaN(n)?e:e+Math.pow(n-t,2)}),0))}function Zo(e){return po(e,[io,"y"])}function Jo(e,t){mo(e,[io,"y"],t)}var Qo=Object.freeze({__proto__:null,getLuminance:Zo,setLuminance:Jo,register:function(e){Object.defineProperty(e.prototype,"luminance",{get:function(){return Zo(this)},set:function(e){Jo(this,e)}})}});function ei(e){return e>=.022?e:e+Math.pow(.022-e,1.414)}function ti(e){var t=e<0?-1:1,r=Math.abs(e);return t*Math.pow(r,2.4)}var ri=216/24389,ni=24/116,ai=24389/27,oi=Qa.D65,ii=new oo({id:"lab-d65",name:"Lab D65",coords:{l:{refRange:[0,100],name:"L"},a:{refRange:[-125,125]},b:{refRange:[-125,125]}},white:oi,base:io,fromBase:function(e){var t=e.map((function(e,t){return e/oi[t]})),r=t.map((function(e){return e>ri?Math.cbrt(e):(ai*e+16)/116}));return[116*r[1]-16,500*(r[0]-r[1]),200*(r[1]-r[2])]},toBase:function(e){var t=[];return t[1]=(e[0]+16)/116,t[0]=e[1]/500+t[1],t[2]=t[1]-e[2]/200,[t[0]>ni?Math.pow(t[0],3):(116*t[0]-16)/ai,e[0]>8?Math.pow((e[0]+16)/116,3):e[0]/ai,t[2]>ni?Math.pow(t[2],3):(116*t[2]-16)/ai].map((function(e,t){return e*oi[t]}))},formats:{"lab-d65":{coords:["<number> | <percentage>","<number>","<number>"]}}}),ui=.5*Math.pow(5,.5)+.5;var si=Object.freeze({__proto__:null,contrastWCAG21:function(e,t){e=lo(e),t=lo(t);var r=Math.max(Zo(e),0),n=Math.max(Zo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return(r+.05)/(n+.05)},contrastAPCA:function(e,t){var r,n,a,o;t=lo(t),e=lo(e);var i=Y((t=To(t,"srgb")).coords,3);n=i[0],a=i[1],o=i[2];var u=.2126729*ti(n)+.7151522*ti(a)+.072175*ti(o),s=Y((e=To(e,"srgb")).coords,3);n=s[0],a=s[1],o=s[2];var l=.2126729*ti(n)+.7151522*ti(a)+.072175*ti(o),c=ei(u),d=ei(l),p=d>c;return r=Math.abs(d-c)<5e-4?0:p?1.14*(Math.pow(d,.56)-Math.pow(c,.57)):1.14*(Math.pow(d,.65)-Math.pow(c,.62)),100*(Math.abs(r)<.1?0:r>0?r-.027:r+.027)},contrastMichelson:function(e,t){e=lo(e),t=lo(t);var r=Math.max(Zo(e),0),n=Math.max(Zo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}var o=r+n;return 0===o?0:(r-n)/o},contrastWeber:function(e,t){e=lo(e),t=lo(t);var r=Math.max(Zo(e),0),n=Math.max(Zo(t),0);if(n>r){var a=[n,r];r=a[0],n=a[1]}return 0===n?5e4:(r-n)/n},contrastLstar:function(e,t){e=lo(e),t=lo(t);var r=po(e,[wo,"l"]),n=po(t,[wo,"l"]);return Math.abs(r-n)},contrastDeltaPhi:function(e,t){e=lo(e),t=lo(t);var r=po(e,[ii,"l"]),n=po(t,[ii,"l"]),a=Math.abs(Math.pow(r,ui)-Math.pow(n,ui)),o=Math.pow(a,1/ui)*Math.SQRT2-40;return o<7.5?0:o}});function li(e){var t=Y(co(e,io),3),r=t[0],n=t[1],a=r+15*n+3*t[2];return[4*r/a,9*n/a]}function ci(e){var t=Y(co(e,io),3),r=t[0],n=t[1],a=r+n+t[2];return[r/a,n/a]}var di=Object.freeze({__proto__:null,uv:li,xy:ci,register:function(e){Object.defineProperty(e.prototype,"uv",{get:function(){return li(this)}}),Object.defineProperty(e.prototype,"xy",{get:function(){return ci(this)}})}});var pi=Math.PI/180;var fi=new oo({id:"xyz-abs-d65",name:"Absolute XYZ D65",coords:{x:{refRange:[0,9504.7],name:"Xa"},y:{refRange:[0,1e4],name:"Ya"},z:{refRange:[0,10888.3],name:"Za"}},base:io,fromBase:function(e){return e.map((function(e){return Math.max(203*e,0)}))},toBase:function(e){return e.map((function(e){return Math.max(e/203,0)}))}}),mi=1.15,hi=.66,gi=2610/Math.pow(2,14),vi=Math.pow(2,14)/2610,bi=3424/Math.pow(2,12),yi=2413/Math.pow(2,7),wi=2392/Math.pow(2,7),Di=1.7*2523/Math.pow(2,5),xi=Math.pow(2,5)/(1.7*2523),Ei=-.56,Ai=16295499532821565e-27,Fi=[[.41478972,.579999,.014648],[-.20151,1.120649,.0531008],[-.0166008,.2648,.6684799]],Ci=[[1.9242264357876067,-1.0047923125953657,.037651404030618],[.35031676209499907,.7264811939316552,-.06538442294808501],[-.09098281098284752,-.3127282905230739,1.5227665613052603]],ki=[[.5,.5,0],[3.524,-4.066708,.542708],[.199076,1.096799,-1.295875]],Ni=[[1,.1386050432715393,.05804731615611886],[.9999999999999999,-.1386050432715393,-.05804731615611886],[.9999999999999998,-.09601924202631895,-.8118918960560388]],Ri=new oo({id:"jzazbz",name:"Jzazbz",coords:{jz:{refRange:[0,1],name:"Jz"},az:{refRange:[-.5,.5]},bz:{refRange:[-.5,.5]}},base:fi,fromBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=ja(Fi,[mi*r-(mi-1)*a,hi*n-(hi-1)*r,a]).map((function(e){var t=bi+yi*Math.pow(e/1e4,gi),r=1+wi*Math.pow(e/1e4,gi);return Math.pow(t/r,Di)})),i=Y(ja(ki,o),3),u=i[0],s=i[1],l=i[2];return[(1+Ei)*u/(1+Ei*u)-Ai,s,l]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=ja(Ni,[(r+Ai)/(1+Ei-Ei*(r+Ai)),n,a]).map((function(e){var t=bi-Math.pow(e,xi),r=wi*Math.pow(e,xi)-yi;return 1e4*Math.pow(t/r,vi)})),i=Y(ja(Ci,o),3),u=i[0],s=i[1],l=i[2],c=(u+(mi-1)*l)/mi;return[c,(s+(hi-1)*c)/hi,l]},formats:{color:{}}}),_i=new oo({id:"jzczhz",name:"JzCzHz",coords:{jz:{refRange:[0,1],name:"Jz"},cz:{refRange:[0,1],name:"Chroma"},hz:{refRange:[0,360],type:"angle",name:"Hue"}},base:Ri,fromBase:function(e){var t,r=Y(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),Do(t)]},toBase:function(e){return[e[0],e[1]*Math.cos(e[2]*Math.PI/180),e[1]*Math.sin(e[2]*Math.PI/180)]},formats:{color:{}}});var Ti=.8359375,Si=2413/128,Oi=18.6875,Mi=2610/16384,Pi=2523/32,Ii=16384/2610,Bi=32/2523,Li=[[.3592,.6976,-.0358],[-.1922,1.1004,.0755],[.007,.0749,.8434]],ji=[[.5,.5,0],[6610/4096,-13613/4096,7003/4096],[17933/4096,-17390/4096,-543/4096]],qi=[[.9999888965628402,.008605050147287059,.11103437159861648],[1.00001110343716,-.008605050147287059,-.11103437159861648],[1.0000320633910054,.56004913547279,-.3206339100541203]],zi=[[2.0701800566956137,-1.326456876103021,.20661600684785517],[.3649882500326575,.6804673628522352,-.04542175307585323],[-.04959554223893211,-.04942116118675749,1.1879959417328034]],Vi=new oo({id:"ictcp",name:"ICTCP",coords:{i:{refRange:[0,1],name:"I"},ct:{refRange:[-.5,.5],name:"CT"},cp:{refRange:[-.5,.5],name:"CP"}},base:fi,fromBase:function(e){return function(e){var t=e.map((function(e){var t=Ti+Si*Math.pow(e/1e4,Mi),r=1+Oi*Math.pow(e/1e4,Mi);return Math.pow(t/r,Pi)}));return ja(ji,t)}(ja(Li,e))},toBase:function(e){var t=function(e){var t=ja(qi,e),r=t.map((function(e){var t=Math.max(Math.pow(e,Bi)-Ti,0),r=Si-Oi*Math.pow(e,Bi);return 1e4*Math.pow(t/r,Ii)}));return r}(e);return ja(zi,t)},formats:{color:{}}});var Gi=[[.8190224432164319,.3619062562801221,-.12887378261216414],[.0329836671980271,.9292868468965546,.03614466816999844],[.048177199566046255,.26423952494422764,.6335478258136937]],$i=[[1.2268798733741557,-.5578149965554813,.28139105017721583],[-.04057576262431372,1.1122868293970594,-.07171106666151701],[-.07637294974672142,-.4214933239627914,1.5869240244272418]],Hi=[[.2104542553,.793617785,-.0040720468],[1.9779984951,-2.428592205,.4505937099],[.0259040371,.7827717662,-.808675766]],Ui=[[.9999999984505198,.39633779217376786,.2158037580607588],[1.0000000088817609,-.10556134232365635,-.06385417477170591],[1.0000000546724108,-.08948418209496575,-1.2914855378640917]],Wi=new oo({id:"oklab",name:"OKLab",coords:{l:{refRange:[0,1],name:"L"},a:{refRange:[-.4,.4]},b:{refRange:[-.4,.4]}},white:"D65",base:io,fromBase:function(e){var t=ja(Gi,e).map((function(e){return Math.cbrt(e)}));return ja(Hi,t)},toBase:function(e){var t=ja(Ui,e).map((function(e){return Math.pow(e,3)}));return ja($i,t)},formats:{oklab:{coords:["<number> | <percentage>","<number>","<number>"]}}});var Yi=Object.freeze({__proto__:null,deltaE76:function(e,t){return Xo(e,t,"lab")},deltaECMC:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=r.l,a=void 0===n?2:n,o=r.c,i=void 0===o?1:o,u=Y(wo.from(e),3),s=u[0],l=u[1],c=u[2],d=Y(xo.from(wo,[s,l,c]),3),p=d[1],f=d[2],m=Y(wo.from(t),3),h=m[0],g=m[1],v=m[2],b=xo.from(wo,[h,g,v])[1];p<0&&(p=0),b<0&&(b=0);var y=s-h,w=p-b,D=l-g,x=c-v,E=Math.pow(D,2)+Math.pow(x,2)-Math.pow(w,2),A=.511;s>=16&&(A=.040975*s/(1+.01765*s));var F,C=.0638*p/(1+.0131*p)+.638;Number.isNaN(f)&&(f=0),F=f>=164&&f<=345?.56+Math.abs(.2*Math.cos((f+168)*pi)):.36+Math.abs(.4*Math.cos((f+35)*pi));var k=Math.pow(p,4),N=Math.sqrt(k/(k+1900)),R=C*(N*F+1-N),_=Math.pow(y/(a*A),2);return _+=Math.pow(w/(i*C),2),_+=E/Math.pow(R,2),Math.sqrt(_)},deltaE2000:ko,deltaEJz:function(e,t){var r=Y(_i.from(e),3),n=r[0],a=r[1],o=r[2],i=Y(_i.from(t),3),u=i[0],s=i[1],l=i[2],c=n-u,d=a-s;Number.isNaN(o)&&Number.isNaN(l)?(o=0,l=0):Number.isNaN(o)?o=l:Number.isNaN(l)&&(l=o);var p=o-l,f=2*Math.sqrt(a*s)*Math.sin(p/2*(Math.PI/180));return Math.sqrt(Math.pow(c,2)+Math.pow(d,2)+Math.pow(f,2))},deltaEITP:function(e,t){var r=Y(Vi.from(e),3),n=r[0],a=r[1],o=r[2],i=Y(Vi.from(t),3),u=i[0],s=i[1],l=i[2];return 720*Math.sqrt(Math.pow(n-u,2)+.25*Math.pow(a-s,2)+Math.pow(o-l,2))},deltaEOK:function(e,t){var r=Y(Wi.from(e),3),n=r[0],a=r[1],o=r[2],i=Y(Wi.from(t),3),u=n-i[0],s=a-i[1],l=o-i[2];return Math.sqrt(Math.pow(u,2)+Math.pow(s,2)+Math.pow(l,2))}});function Ki(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qa(r)&&(r={method:r});var n=r,a=n.method,o=void 0===a?Ja.deltaE:a,i=O(n,m);for(var u in e=lo(e),t=lo(t),Yi)if("deltae"+o.toLowerCase()===u.toLowerCase())return Yi[u](e,t,i);throw new TypeError("Unknown deltaE method: ".concat(o))}var Xi=Object.freeze({__proto__:null,lighten:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return mo(e,[oo.get("oklch","lch"),"l"],(function(e){return e*(1+t)}))},darken:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.25;return mo(e,[oo.get("oklch","lch"),"l"],(function(e){return e*(1-t)}))}});function Zi(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.5,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=[lo(e),lo(t)];if(e=a[0],t=a[1],"object"===za(r)){var o=[.5,r];r=o[0],n=o[1]}var i=n;return Qi(e,t,{space:i.space,outputSpace:i.outputSpace,premultiplied:i.premultiplied})(r)}function Ji(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(eu(e)){n=t;var a=Y((r=e).rangeArgs.colors,2);e=a[0],t=a[1]}var o=n,i=o.maxDeltaE,u=o.deltaEMethod,s=o.steps,l=void 0===s?2:s,c=o.maxSteps,d=void 0===c?1e3:c,p=O(o,h);if(!r){var f=[lo(e),lo(t)];r=Qi(e=f[0],t=f[1],p)}var m=Ki(e,t),g=i>0?Math.max(l,Math.ceil(m/i)+1):l,v=[];if(void 0!==d&&(g=Math.min(g,d)),1===g)v=[{p:.5,color:r(.5)}];else{var b=1/(g-1);v=Array.from({length:g},(function(e,t){var n=t*b;return{p:n,color:r(n)}}))}if(i>0)for(var y=v.reduce((function(e,t,r){if(0===r)return 0;var n=Ki(t.color,v[r-1].color,u);return Math.max(e,n)}),0);y>i;){y=0;for(var w=1;w<v.length&&v.length<d;w++){var D=v[w-1],x=v[w],E=(x.p+D.p)/2,A=r(E);y=Math.max(y,Ki(A,D.color),Ki(A,x.color)),v.splice(w,0,{p:E,color:r(E)}),w++}}return v=v.map((function(e){return e.color}))}function Qi(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(eu(e)){var n=e,a=t;return Qi.apply(void 0,q(n.rangeArgs.colors).concat([j({},n.rangeArgs.options,a)]))}var o=r.space,i=r.outputSpace,u=r.progression,s=r.premultiplied;e=lo(e),t=lo(t),e=Ro(e),t=Ro(t);var l={colors:[e,t],options:r};if(o=o?oo.get(o):oo.registry[Ja.interpolationSpace]||e.space,i=i?oo.get(i):o,e=To(e,o),t=To(t,o),e=_o(e),t=_o(t),o.coords.h&&"angle"===o.coords.h.type){var c=r.hue=r.hue||"shorter",d=[o,"h"],p=[po(e,d),po(t,d)],f=p[0],m=p[1],h=function(e,t){if("raw"===e)return t;var r=Y(t.map(Do),2),n=r[0],a=r[1],o=a-n;return"increasing"===e?o<0&&(a+=360):"decreasing"===e?o>0&&(n+=360):"longer"===e?-180<o&&o<180&&(o>0?a+=360:n+=360):"shorter"===e&&(o>180?n+=360:o<-180&&(a+=360)),[n,a]}(c,[f,m]),g=Y(h,2);f=g[0],m=g[1],mo(e,d,f),mo(t,d,m)}return s&&(e.coords=e.coords.map((function(t){return t*e.alpha})),t.coords=t.coords.map((function(e){return e*t.alpha}))),Object.assign((function(r){r=u?u(r):r;var n=e.coords.map((function(e,n){return Ha(e,t.coords[n],r)})),a=Ha(e.alpha,t.alpha,r),l={space:o,coords:n,alpha:a};return s&&(l.coords=l.coords.map((function(e){return e/a}))),i!==o&&(l=To(l,i)),l}),{rangeArgs:l})}function eu(e){return"function"===za(e)&&!!e.rangeArgs}Ja.interpolationSpace="lab";var tu=Object.freeze({__proto__:null,mix:Zi,steps:Ji,range:Qi,isRange:eu,register:function(e){e.defineFunction("mix",Zi,{returns:"color"}),e.defineFunction("range",Qi,{returns:"function<color>"}),e.defineFunction("steps",Ji,{returns:"array<color>"})}}),ru=new oo({id:"hsl",name:"HSL",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},l:{range:[0,100],name:"Lightness"}},base:Vo,fromBase:function(e){var t=Math.max.apply(Math,q(e)),r=Math.min.apply(Math,q(e)),n=Y(e,3),a=n[0],o=n[1],i=n[2],u=NaN,s=0,l=(r+t)/2,c=t-r;if(0!==c){switch(s=0===l||1===l?0:(t-l)/Math.min(l,1-l),t){case a:u=(o-i)/c+(o<i?6:0);break;case o:u=(i-a)/c+2;break;case i:u=(a-o)/c+4}u*=60}return[u,100*s,100*l]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2];function o(e){var t=(e+r/30)%12,o=n*Math.min(a,1-a);return a-o*Math.max(-1,Math.min(t-3,9-t,1))}return(r%=360)<0&&(r+=360),n/=100,a/=100,[o(0),o(8),o(4)]},formats:{hsl:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]},hsla:{coords:["<number> | <angle>","<percentage>","<percentage>"],commas:!0,lastAlpha:!0}}}),nu=new oo({id:"hsv",name:"HSV",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},s:{range:[0,100],name:"Saturation"},v:{range:[0,100],name:"Value"}},base:ru,fromBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)+(n/=100)*Math.min(a,1-a);return[r,0===o?0:200*(1-a/o),100*o]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=(a/=100)*(1-(n/=100)/2);return[r,0===o||1===o?0:(a-o)/Math.min(o,1-o)*100,100*o]},formats:{color:{toGamut:!0}}}),au=new oo({id:"hwb",name:"HWB",coords:{h:{refRange:[0,360],type:"angle",name:"Hue"},w:{range:[0,100],name:"Whiteness"},b:{range:[0,100],name:"Blackness"}},base:nu,fromBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2];return[r,a*(100-n)/100,100-a]},toBase:function(e){var t=Y(e,3),r=t[0],n=t[1],a=t[2],o=(n/=100)+(a/=100);if(o>=1)return[r,0,100*(n/o)];var i=1-a;return[r,100*(0===i?0:1-n/i),100*i]},formats:{hwb:{toGamut:!0,coords:["<number> | <angle>","<percentage>","<percentage>"]}}}),ou=new uo({id:"a98rgb-linear",name:"Linear Adobe® 98 RGB compatible",white:"D65",toXYZ_M:[[.5766690429101305,.1855582379065463,.1882286462349947],[.29734497525053605,.6273635662554661,.07529145849399788],[.02703136138641234,.07068885253582723,.9913375368376388]],fromXYZ_M:[[2.0415879038107465,-.5650069742788596,-.34473135077832956],[-.9692436362808795,1.8759675015077202,.04155505740717557],[.013444280632031142,-.11836239223101838,1.0151749943912054]]}),iu=new uo({id:"a98rgb",name:"Adobe® 98 RGB compatible",base:ou,toBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),563/256)*Math.sign(e)}))},fromBase:function(e){return e.map((function(e){return Math.pow(Math.abs(e),256/563)*Math.sign(e)}))},formats:{color:{id:"a98-rgb"}}}),uu=new uo({id:"prophoto-linear",name:"Linear ProPhoto",white:"D50",base:ho,toXYZ_M:[[.7977604896723027,.13518583717574031,.0313493495815248],[.2880711282292934,.7118432178101014,8565396060525902e-20],[0,0,.8251046025104601]],fromXYZ_M:[[1.3457989731028281,-.25558010007997534,-.05110628506753401],[-.5446224939028347,1.5082327413132781,.02053603239147973],[0,0,1.2119675456389454]]}),su=1/512,lu=new uo({id:"prophoto",name:"ProPhoto",base:uu,toBase:function(e){return e.map((function(e){return e<.03125?e/16:Math.pow(e,1.8)}))},fromBase:function(e){return e.map((function(e){return e>=su?Math.pow(e,1/1.8):16*e}))},formats:{color:{id:"prophoto-rgb"}}}),cu=new oo({id:"oklch",name:"OKLCh",coords:{l:{refRange:[0,1],name:"Lightness"},c:{refRange:[0,.4],name:"Chroma"},h:{refRange:[0,360],type:"angle",name:"Hue"}},white:"D65",base:Wi,fromBase:function(e){var t,r=Y(e,3),n=r[0],a=r[1],o=r[2],i=2e-4;return t=Math.abs(a)<i&&Math.abs(o)<i?NaN:180*Math.atan2(o,a)/Math.PI,[n,Math.sqrt(Math.pow(a,2)+Math.pow(o,2)),Do(t)]},toBase:function(e){var t,r,n=Y(e,3),a=n[0],o=n[1],i=n[2];return isNaN(i)?(t=0,r=0):(t=o*Math.cos(i*Math.PI/180),r=o*Math.sin(i*Math.PI/180)),[a,t,r]},formats:{oklch:{coords:["<number> | <percentage>","<number>","<number> | <angle>"]}}}),du=2610/Math.pow(2,14),pu=Math.pow(2,14)/2610,fu=2523/Math.pow(2,5),mu=Math.pow(2,5)/2523,hu=3424/Math.pow(2,12),gu=2413/Math.pow(2,7),vu=2392/Math.pow(2,7),bu=new uo({id:"rec2100pq",name:"REC.2100-PQ",base:Oo,toBase:function(e){return e.map((function(e){return 1e4*Math.pow(Math.max(Math.pow(e,mu)-hu,0)/(gu-vu*Math.pow(e,mu)),pu)/203}))},fromBase:function(e){return e.map((function(e){var t=Math.max(203*e/1e4,0),r=hu+gu*Math.pow(t,du),n=1+vu*Math.pow(t,du);return Math.pow(r/n,fu)}))},formats:{color:{id:"rec2100-pq"}}}),yu=.17883277,wu=.28466892,Du=.55991073,xu=3.7743,Eu=new uo({id:"rec2100hlg",cssid:"rec2100-hlg",name:"REC.2100-HLG",referred:"scene",base:Oo,toBase:function(e){return e.map((function(e){return e<=.5?Math.pow(e,2)/3*xu:Math.exp((e-Du)/yu+wu)/12*xu}))},fromBase:function(e){return e.map((function(e){return(e/=xu)<=1/12?Math.sqrt(3*e):yu*Math.log(12*e-wu)+Du}))},formats:{color:{id:"rec2100-hlg"}}}),Au={};function Fu(e){var t=e.id;e.toCone_M,e.fromCone_M;Au[t]=arguments[0]}function Cu(e,t){var r=Au[arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Bradford"],n=Y(ja(r.toCone_M,e),3),a=n[0],o=n[1],i=n[2],u=Y(ja(r.toCone_M,t),3),s=ja([[u[0]/a,0,0],[0,u[1]/o,0],[0,0,u[2]/i]],r.toCone_M);return ja(r.fromCone_M,s)}Za.add("chromatic-adaptation-start",(function(e){e.options.method&&(e.M=Cu(e.W1,e.W2,e.options.method))})),Za.add("chromatic-adaptation-end",(function(e){e.M||(e.M=Cu(e.W1,e.W2,e.options.method))})),Fu({id:"von Kries",toCone_M:[[.40024,.7076,-.08081],[-.2263,1.16532,.0457],[0,0,.91822]],fromCone_M:[[1.8599364,-1.1293816,.2198974],[.3611914,.6388125,-64e-7],[0,0,1.0890636]]}),Fu({id:"Bradford",toCone_M:[[.8951,.2664,-.1614],[-.7502,1.7135,.0367],[.0389,-.0685,1.0296]],fromCone_M:[[.9869929,-.1470543,.1599627],[.4323053,.5183603,.0492912],[-.0085287,.0400428,.9684867]]}),Fu({id:"CAT02",toCone_M:[[.7328,.4296,-.1624],[-.7036,1.6975,.0061],[.003,.0136,.9834]],fromCone_M:[[1.0961238,-.278869,.1827452],[.454369,.4735332,.0720978],[-.0096276,-.005698,1.0153256]]}),Fu({id:"CAT16",toCone_M:[[.401288,.650173,-.051461],[-.250268,1.204414,.045854],[-.002079,.048952,.953127]],fromCone_M:[[1.862067855087233,-1.011254630531685,.1491867754444518],[.3875265432361372,.6214474419314753,-.008973985167612518],[-.01584149884933386,-.03412293802851557,1.04996443687785]]}),Object.assign(Qa,{A:[1.0985,1,.35585],C:[.98074,1,1.18232],D55:[.95682,1,.92149],D75:[.94972,1,1.22638],E:[1,1,1],F2:[.99186,1,.67393],F7:[.95041,1,1.08747],F11:[1.00962,1,.6435]}),Qa.ACES=[.32168/.33767,1,.34065/.33767];var ku=new uo({id:"acescg",name:"ACEScg",coords:{r:{range:[0,65504],name:"Red"},g:{range:[0,65504],name:"Green"},b:{range:[0,65504],name:"Blue"}},referred:"scene",white:Qa.ACES,toXYZ_M:[[.6624541811085053,.13400420645643313,.1561876870049078],[.27222871678091454,.6740817658111484,.05368951740793705],[-.005574649490394108,.004060733528982826,1.0103391003129971]],fromXYZ_M:[[1.6410233796943257,-.32480329418479,-.23642469523761225],[-.6636628587229829,1.6153315916573379,.016756347685530137],[.011721894328375376,-.008284441996237409,.9883948585390215]],formats:{color:{}}}),Nu=Math.pow(2,-16),Ru=-.35828683,_u=(Math.log2(65504)+9.72)/17.52,Tu=new uo({id:"acescc",name:"ACEScc",coords:{r:{range:[Ru,_u],name:"Red"},g:{range:[Ru,_u],name:"Green"},b:{range:[Ru,_u],name:"Blue"}},referred:"scene",base:ku,toBase:function(e){return e.map((function(e){return e<=-.3013698630136986?2*(Math.pow(2,17.52*e-9.72)-Nu):e<_u?Math.pow(2,17.52*e-9.72):65504}))},fromBase:function(e){return e.map((function(e){return e<=0?(Math.log2(Nu)+9.72)/17.52:e<Nu?(Math.log2(Nu+.5*e)+9.72)/17.52:(Math.log2(e)+9.72)/17.52}))},formats:{color:{}}}),Su=Object.freeze({__proto__:null,XYZ_D65:io,XYZ_D50:ho,XYZ_ABS_D65:fi,Lab_D65:ii,Lab:wo,LCH:xo,sRGB_Linear:Lo,sRGB:Vo,HSL:ru,HWB:au,HSV:nu,P3_Linear:Bo,P3:Go,A98RGB_Linear:ou,A98RGB:iu,ProPhoto_Linear:uu,ProPhoto:lu,REC_2020_Linear:Oo,REC_2020:Io,OKLab:Wi,OKLCH:cu,Jzazbz:Ri,JzCzHz:_i,ICTCP:Vi,REC_2100_PQ:bu,REC_2100_HLG:Eu,ACEScg:ku,ACEScc:Tu}),Ou=(P=new WeakMap,Q((function e(){var t,r,n,a,o=this;Z(this,e),V(this,P,void 0);for(var i=arguments.length,u=new Array(i),s=0;s<i;s++)u[s]=arguments[s];1===u.length&&(t=lo(u[0])),t?(r=t.space||t.spaceId,n=t.coords,a=t.alpha):(r=u[0],n=u[1],a=u[2]),U(P,this,oo.get(r)),this.coords=n?n.slice():[0,0,0],this.alpha=a<1?a:1;for(var l=0;l<this.coords.length;l++)"NaN"===this.coords[l]&&(this.coords[l]=NaN);var c=function(e){Object.defineProperty(o,e,{get:function(){return o.get(e)},set:function(t){return o.set(e,t)}})};for(var d in H(P,this).coords)c(d)}),[{key:"space",get:function(){return H(P,this)}},{key:"spaceId",get:function(){return H(P,this).id}},{key:"clone",value:function(){return new Ou(this.space,this.coords,this.alpha)}},{key:"toJSON",value:function(){return{spaceId:this.spaceId,coords:this.coords,alpha:this.alpha}}},{key:"display",value:function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Ko.apply(void 0,[this].concat(t));return n.color=new Ou(n.color),n}}],[{key:"get",value:function(e){if(e instanceof Ou)return e;for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return S(Ou,[e].concat(r))}},{key:"defineFunction",value:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=r.instance,a=void 0===n||n,o=r.returns,i=function(){var e=t.apply(void 0,arguments);if("color"===o)e=Ou.get(e);else if("function<color>"===o){var r=e;e=function(){var e=r.apply(void 0,arguments);return Ou.get(e)},Object.assign(e,r)}else"array<color>"===o&&(e=e.map((function(e){return Ou.get(e)})));return e};e in Ou||(Ou[e]=i),a&&(Ou.prototype[e]=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return i.apply(void 0,[this].concat(t))})}},{key:"defineFunctions",value:function(e){for(var t in e)Ou.defineFunction(t,e[t],e[t])}},{key:"extend",value:function(e){if(e.register)e.register(Ou);else for(var t in e)Ou.defineFunction(t,e[t])}}]));Ou.defineFunctions({get:po,getAll:co,set:mo,setAll:fo,to:To,equals:function(e,t){return e=lo(e),t=lo(t),e.space===t.space&&e.alpha===t.alpha&&e.coords.every((function(e,r){return e===t.coords[r]}))},inGamut:No,toGamut:_o,distance:Xo,toString:So}),Object.assign(Ou,{util:Ka,hooks:Za,WHITES:Qa,Space:oo,spaces:oo.registry,parse:so,defaults:Ja});for(var Mu=0,Pu=Object.keys(Su);Mu<Pu.length;Mu++){var Iu=Pu[Mu];oo.register(Su[Iu])}for(var Bu in oo.registry)Lu(Bu,oo.registry[Bu]);function Lu(e,t){Object.keys(t.coords),Object.values(t.coords).map((function(e){return e.name}));var r=e.replace(/-/g,"_");Object.defineProperty(Ou.prototype,r,{get:function(){var r=this,n=this.getAll(e);return"undefined"==typeof Proxy?n:new Proxy(n,{has:function(e,r){try{return oo.resolveCoord([t,r]),!0}catch(e){}return Reflect.has(e,r)},get:function(e,r,n){if(r&&"symbol"!==l(r)&&!(r in e)){var a=oo.resolveCoord([t,r]).index;if(a>=0)return e[a]}return Reflect.get(e,r,n)},set:function(n,a,o,i){if(a&&"symbol"!==l(a)&&!(a in n)||a>=0){var u=oo.resolveCoord([t,a]).index;if(u>=0)return n[u]=o,r.setAll(e,n),!0}return Reflect.set(n,a,o,i)}})},set:function(t){this.setAll(e,t)},configurable:!0,enumerable:!0})}Za.add("colorspace-init-end",(function(e){var t;Lu(e.id,e),null===(t=e.aliases)||void 0===t||t.forEach((function(t){Lu(t,e)}))})),Ou.extend(Yi),Ou.extend({deltaE:Ki}),Ou.extend(Xi),Ou.extend({contrast:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};qa(r)&&(r={algorithm:r});var n=r,a=n.algorithm,o=O(n,f);if(!a){var i=Object.keys(si).map((function(e){return e.replace(/^contrast/,"")})).join(", ");throw new TypeError("contrast() function needs a contrast algorithm. Please specify one of: ".concat(i))}for(var u in e=lo(e),t=lo(t),si)if("contrast"+a.toLowerCase()===u.toLowerCase())return si[u](e,t,o);throw new TypeError("Unknown contrast algorithm: ".concat(a))}}),Ou.extend(di),Ou.extend(Qo),Ou.extend(tu),Ou.extend(si);var ju=me(br());Ia.default.templateSettings.strip=!1,c._memoizedFns=[];var qu=function(e){var t=(0,La.default)(e);return c._memoizedFns.push(t),t},zu=qu((function(e){return!(null==e||!e.createElement)&&"A"===e.createElement("A").localName}));function Vu(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t)return"";var n=t.getRootNode&&t.getRootNode()||s;if(11!==n.nodeType)return e(t,r,n);for(var a=[];11===n.nodeType;){if(!n.host)return"";a.unshift({elm:t,doc:n}),n=(t=n.host).getRootNode()}return a.unshift({elm:t,doc:n}),a.map((function(t){return e(t.elm,r,t.doc)}))}var Gu=["class","style","id","selected","checked","disabled","tabindex","aria-checked","aria-selected","aria-invalid","aria-activedescendant","aria-busy","aria-disabled","aria-expanded","aria-grabbed","aria-pressed","aria-valuenow","xmlns"],$u=31,Hu=/([\\"])/g,Uu=/(\r\n|\r|\n)/g;function Wu(e){return e.replace(Hu,"\\$1").replace(Uu,"\\a ")}function Yu(e,t){var r,n=t.name;if(-1!==n.indexOf("href")||-1!==n.indexOf("src")){var a=Fa(e.getAttribute(n));r=a?xa(t.name)+'$="'+Wu(a)+'"':xa(t.name)+'="'+Wu(e.getAttribute(n))+'"'}else r=xa(n)+'="'+Wu(t.value)+'"';return r}function Ku(e,t){return e.count<t.count?-1:e.count===t.count?0:1}function Xu(e){return!Gu.includes(e.name)&&-1===e.name.indexOf(":")&&(!e.value||e.value.length<$u)}function Zu(e){for(var t={classes:{},tags:{},attributes:{}},r=(e=Array.isArray(e)?e:[e]).slice(),n=[],a=function(){var e=r.pop(),a=e.actualNode;if(a.querySelectorAll){var o=a.nodeName;t.tags[o]?t.tags[o]++:t.tags[o]=1,a.classList&&Array.from(a.classList).forEach((function(e){var r=xa(e);t.classes[r]?t.classes[r]++:t.classes[r]=1})),a.hasAttributes()&&Array.from(ka(a)).filter(Xu).forEach((function(e){var r=Yu(a,e);r&&(t.attributes[r]?t.attributes[r]++:t.attributes[r]=1)}))}for(e.children.length&&(n.push(r),r=e.children.slice());!r.length&&n.length;)r=n.pop()};r.length;)a();return t}function Ju(e,t){var r=e.parentNode&&Array.from(e.parentNode.children||"")||[];return r.find((function(r){return r!==e&&Na(r,t)}))?":nth-child("+(1+r.indexOf(e))+")":""}function Qu(e){if(e.getAttribute("id")){var t=e.getRootNode&&e.getRootNode()||s,r="#"+xa(e.getAttribute("id")||"");return r.match(/player_uid_/)||1!==t.querySelectorAll(r).length?void 0:r}}function es(e){var t=zu(s);return xa(t?e.localName:e.nodeName.toLowerCase())}function ts(e,t){var r,n="",a=function(e,t){var r=[],n=t.classes,a=t.tags;return e.classList&&Array.from(e.classList).forEach((function(t){var o=xa(t);n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"class"})})),r.sort(Ku)}(e,t),o=function(e,t){var r=[],n=t.attributes,a=t.tags;return e.hasAttributes()&&Array.from(ka(e)).filter(Xu).forEach((function(t){var o=Yu(e,t);o&&n[o]<a[e.nodeName]&&r.push({name:o,count:n[o],species:"attribute"})})),r.sort(Ku)}(e,t);return a.length&&1===a[0].count?r=[a[0]]:o.length&&1===o[0].count?(r=[o[0]],n=es(e)):((r=a.concat(o)).sort(Ku),(r=r.slice(0,3)).some((function(e){return"class"===e.species}))?r.sort((function(e,t){return e.species!==t.species&&"class"===e.species?-1:e.species===t.species?0:1})):n=es(e)),n+r.reduce((function(e,t){switch(t.species){case"class":return e+"."+t.name;case"attribute":return e+"["+t.name+"]"}return e}),"")}function rs(e,t,r){if(!c._selectorData)throw new Error("Expect axe._selectorData to be set up");var n,a,o=t.toRoot,i=void 0!==o&&o;do{var u=Qu(e);u||(u=ts(e,c._selectorData),u+=Ju(e,u)),n=n?u+" > "+n:u,a=!a||a.length>na.selectorSimilarFilterLimit?as(r,n):a.filter((function(e){return Na(e,n)})),e=e.parentElement}while((a.length>1||i)&&e&&11!==e.nodeType);return 1===a.length?n:-1!==n.indexOf(" > ")?":root"+n.substring(n.indexOf(" > ")):":root"}var ns=qu((function(e,t){return Vu(rs,e,t)})),as=qu((function(e,t){return Array.from(e.querySelectorAll(t))}));function os(e){var t=e.nodeName.toLowerCase(),r=e.parentElement,n=e.parentNode,a="";if("head"!==t&&"body"!==t&&(null==n?void 0:n.children.length)>1){var o=Array.prototype.indexOf.call(n.children,e)+1;a=":nth-child(".concat(o,")")}return r?os(r)+" > "+t+a:t+a}function is(e,t){return Vu(os,e,t)}function us(e,t){var r,n;if(!e)return[];if(!t&&9===e.nodeType)return t=[{str:"html"}];if(t=t||[],e.parentNode&&e.parentNode!==e&&(t=us(e.parentNode,t)),e.previousSibling){n=1,r=e.previousSibling;do{1===r.nodeType&&r.nodeName===e.nodeName&&n++,r=r.previousSibling}while(r);1===n&&(n=null)}else if(e.nextSibling){r=e.nextSibling;do{1===r.nodeType&&r.nodeName===e.nodeName?(n=1,r=null):(n=null,r=r.previousSibling)}while(r)}if(1===e.nodeType){var a={};a.str=e.nodeName.toLowerCase();var o=e.getAttribute&&xa(e.getAttribute("id"));o&&1===e.ownerDocument.querySelectorAll("#"+o).length&&(a.id=e.getAttribute("id")),n>1&&(a.count=n),t.push(a)}return t}var ss=function(e){return function(e){return e.reduce((function(e,t){return t.id?"//".concat(t.str,"[@id='").concat(t.id,"']"):e+"/".concat(t.str)+(t.count>0?"[".concat(t.count,"]"):"")}),"")}(us(e))},ls={},cs={set:function(e,t){!function(e){wa("string"==typeof e,"key must be a string, "+l(e)+" given"),wa(""!==e,"key must not be empty")}(e),ls[e]=t},get:function(e,t){if(function(e){wa("function"==typeof e||void 0===e,"creator must be a function or undefined, "+l(e)+" given")}(t),e in ls)return ls[e];if("function"==typeof t){var r=t();return wa(void 0!==r,"Cache creator function should not return undefined"),this.set(e,r),ls[e]}},clear:function(){ls={}}};var ds=cs;var ps=function(e,t){var r=t||e;return ds.get("nodeMap")?ds.get("nodeMap").get(r):null},fs={};fe(fs,{createGrid:function(){return pl},findElmsInContext:function(){return gs},findNearbyElms:function(){return xl},findUp:function(){return bs},findUpVirtual:function(){return vs},focusDisabled:function(){return _l},getComposedParent:function(){return js},getElementByReference:function(){return Ml},getElementCoordinates:function(){return zs},getElementStack:function(){return jl},getModalDialog:function(){return Fl},getNodeGrid:function(){return Dl},getOverflowHiddenAncestors:function(){return Ds},getRootNode:function(){return hs},getScrollOffset:function(){return qs},getTabbableElements:function(){return ql},getTargetRects:function(){return $l},getTargetSize:function(){return Hl},getTextElementStack:function(){return _d},getViewportSize:function(){return Vs},getVisibleChildTextRects:function(){return Nd},hasContent:function(){return Id},hasContentVirtual:function(){return Pd},hasLangText:function(){return Bd},idrefs:function(){return Wl},insertedIntoFocusOrder:function(){return Ld},isCurrentPageLink:function(){return Ol},isFocusable:function(){return Vl},isHTML5:function(){return Vd},isHiddenForEveryone:function(){return Is},isHiddenWithCSS:function(){return zd},isInTabOrder:function(){return Gl},isInTextBlock:function(){return Wd},isInert:function(){return Cl},isModalOpen:function(){return Yd},isMultiline:function(){return Kd},isNativelyFocusable:function(){return zl},isNode:function(){return Xd},isOffscreen:function(){return Gs},isOpaque:function(){return sp},isSkipLink:function(){return lp},isVisible:function(){return mp},isVisibleOnScreen:function(){return Hs},isVisibleToScreenReaders:function(){return Hc},isVisualContent:function(){return Sd},reduceToElementsBelowFloating:function(){return hp},shadowElementsFromPoint:function(){return yp},urlPropsFromAttribute:function(){return xp},visuallyContains:function(){return gp},visuallyOverlaps:function(){return Ep},visuallySort:function(){return Pl}});var ms=function(e){var t=e.getRootNode&&e.getRootNode()||s;return t===e&&(t=s),t},hs=ms;var gs=function(e){var t,r=e.context,n=e.value,a=e.attr,o=e.elm,i=void 0===o?"":o,u=xa(n);return t=9===r.nodeType||11===r.nodeType?r:hs(r),Array.from(t.querySelectorAll(i+"["+a+"="+u+"]"))};var vs=function(e,t){var r;if(r=e.actualNode,!e.shadowId&&"function"==typeof e.actualNode.closest){var n=e.actualNode.closest(t);return n||null}do{(r=r.assignedSlot?r.assignedSlot:r.parentNode)&&11===r.nodeType&&(r=r.host)}while(r&&!Na(r,t)&&r!==s.documentElement);return r&&Na(r,t)?r:null};var bs=function(e,t){return vs(ps(e),t)};function ys(e,t){return(0|e.left)<(0|t.right)&&(0|e.right)>(0|t.left)&&(0|e.top)<(0|t.bottom)&&(0|e.bottom)>(0|t.top)}var ws=qu((function(e){var t=[];return e?("hidden"===e.getComputedStylePropertyValue("overflow")&&t.push(e),t.concat(ws(e.parent))):t})),Ds=ws,xs=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,Es=/(\w+)\((\d+)/;function As(e){return["style","script","noscript","template"].includes(e.props.nodeName)}function Fs(e){return"area"!==e.props.nodeName&&"none"===e.getComputedStylePropertyValue("display")}function Cs(e){return!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&["hidden","collapse"].includes(e.getComputedStylePropertyValue("visibility"))}function ks(e){return!!(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor&&"hidden"===e.getComputedStylePropertyValue("content-visibility")}function Ns(e){return"true"===e.attr("aria-hidden")}function Rs(e){return"0"===e.getComputedStylePropertyValue("opacity")}function _s(e){var t=Lm(e.actualNode),r=parseInt(e.getComputedStylePropertyValue("height")),n=parseInt(e.getComputedStylePropertyValue("width"));return!!t&&(0===r||0===n)}function Ts(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=e.getComputedStylePropertyValue("position");if("fixed"===t)return!1;var r=Ds(e);if(!r.length)return!1;var n=e.boundingClientRect;return r.some((function(r){if("absolute"===t&&!function(e,t){var r=e.parent;for(;r&&r!==t;){if(["relative","sticky"].includes(r.getComputedStylePropertyValue("position")))return!0;r=r.parent}return!1}(e,r)&&"static"===r.getComputedStylePropertyValue("position"))return!1;var a=r.boundingClientRect;return a.width<2||a.height<2||!ys(n,a)}))}function Ss(e){var t=e.getComputedStylePropertyValue("clip").match(xs),r=e.getComputedStylePropertyValue("clip-path").match(Es);if(t&&5===t.length){var n=e.getComputedStylePropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}function Os(e,t){var r=Kp(e,"map");if(!r)return!0;var n=r.attr("name");if(!n)return!0;var a=ms(e.actualNode);if(!a||9!==a.nodeType)return!0;var o=Fh(c._tree,'img[usemap="#'.concat(xa(n),'"]'));return!o||!o.length||o.some((function(e){return!t(e)}))}function Ms(e){var t;if("details"!==(null===(t=e.parent)||void 0===t?void 0:t.props.nodeName))return!1;if("summary"===e.props.nodeName&&e.parent.children.find((function(e){return"summary"===e.props.nodeName}))===e)return!1;return!e.parent.hasAttr("open")}var Ps=[Fs,Cs,ks,Ms];function Is(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor,a=void 0!==n&&n;return e=ah(e).vNode,r?Bs(e,a):Ls(e,a)}var Bs=qu((function(e,t){return!!As(e)||!!e.actualNode&&(!!Ps.some((function(r){return r(e,{isAncestor:t})}))||!e.actualNode.isConnected)})),Ls=qu((function(e,t){return!!Bs(e,t)||!!e.parent&&Ls(e.parent,!0)}));var js=function e(t){if(t.assignedSlot)return e(t.assignedSlot);if(t.parentNode){var r=t.parentNode;if(1===r.nodeType)return r;if(r.host)return r.host}return null};var qs=function(e){if(!e.nodeType&&e.document&&(e=e.document),9===e.nodeType){var t=e.documentElement,r=e.body;return{left:t&&t.scrollLeft||r&&r.scrollLeft||0,top:t&&t.scrollTop||r&&r.scrollTop||0}}return{left:e.scrollLeft,top:e.scrollTop}};var zs=function(e){var t=qs(s),r=t.left,n=t.top,a=e.getBoundingClientRect();return{top:a.top+n,right:a.right+r,bottom:a.bottom+n,left:a.left+r,width:a.right-a.left,height:a.bottom-a.top}};var Vs=function(e){var t=e.document,r=t.documentElement;if(e.innerWidth)return{width:e.innerWidth,height:e.innerHeight};if(r)return{width:r.clientWidth,height:r.clientHeight};var n=t.body;return{width:n.clientWidth,height:n.clientHeight}};var Gs=function(e){if((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).isAncestor)return!1;var t=ah(e).domNode;if(t){var r,n=s.documentElement,a=i.getComputedStyle(t),o=i.getComputedStyle(s.body||n).getPropertyValue("direction"),u=zs(t);if(u.bottom<0&&(function(e,t){for(e=js(e);e&&"html"!==e.nodeName.toLowerCase();){if(e.scrollTop&&(t+=e.scrollTop)>=0)return!1;e=js(e)}return!0}(t,u.bottom)||"absolute"===a.position))return!0;if(0===u.left&&0===u.right)return!1;if("ltr"===o){if(u.right<=0)return!0}else if(r=Math.max(n.scrollWidth,Vs(i).width),u.left>=r)return!0;return!1}},$s=[Rs,_s,Ts,Ss,Gs];function Hs(e){return e=ah(e).vNode,Us(e)}var Us=qu((function(e,t){return e.actualNode&&"area"===e.props.nodeName?!Os(e,Us):!Is(e,{skipAncestors:!0,isAncestor:t})&&((!e.actualNode||!$s.some((function(r){return r(e,{isAncestor:t})})))&&(!e.parent||Us(e.parent,!0)))}));function Ws(e,t){var r=Math.min(e.top,t.top),n=Math.max(e.right,t.right),a=Math.max(e.bottom,t.bottom),o=Math.min(e.left,t.left);return new i.DOMRect(o,r,n-o,a-r)}function Ys(e,t){var r=e.x,n=e.y,a=t.top,o=t.right,i=t.bottom,u=t.left;return n>=a&&r<=o&&n<=i&&r>=u}var Ks={};function Xs(e,t){var r=Math.max(e.left,t.left),n=Math.min(e.right,t.right),a=Math.max(e.top,t.top),o=Math.min(e.bottom,t.bottom);return r>=n||a>=o?null:new i.DOMRect(r,a,n-r,o-a)}function Zs(e){var t=e.left,r=e.top,n=e.width,a=e.height;return new i.DOMPoint(t+n/2,r+a/2)}fe(Ks,{getBoundingRect:function(){return Ws},getIntersectionRect:function(){return Xs},getOffset:function(){return el},getRectCenter:function(){return Zs},hasVisualOverlap:function(){return nl},isPointInRect:function(){return Ys},rectHasMinimumSize:function(){return Qs},rectsOverlap:function(){return ys},splitRects:function(){return al}});var Js=.05;function Qs(e,t){var r=t.width,n=t.height;return r+Js>=e&&n+Js>=e}function el(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,n=$l(e),a=$l(t);if(!n.length||!a.length)return null;var o,i=Zs(n.reduce(Ws)),u=1/0,s=te(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if(Ys(i,l))return 0;var c=rl(i,tl(i,l));u=Math.min(u,c)}}catch(e){s.e(e)}finally{s.f()}if(Qs(2*r,Hl(t)))return u;var d=rl(i,Zs(a.reduce(Ws)))-r;return Math.max(0,Math.min(u,d))}function tl(e,t){return{x:e.x<t.left?t.left:e.x>t.right?t.right:e.x,y:e.y<t.top?t.top:e.y>t.bottom?t.bottom:e.y}}function rl(e,t){return Math.hypot(e.x-t.x,e.y-t.y)}function nl(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return!(r.left>=n.right||r.right<=n.left||r.top>=n.bottom||r.bottom<=n.top)&&Pl(e,t)>0}function al(e,t){var r,n=[e],a=te(t);try{var o=function(){var e=r.value;if((n=n.reduce((function(t,r){return t.concat(function(e,t){var r=e.top,n=e.left,a=e.bottom,o=e.right,i=r<t.bottom&&a>t.top,u=n<t.right&&o>t.left,s=[];ol(t.top,r,a)&&u&&s.push({top:r,left:n,bottom:t.top,right:o});ol(t.right,n,o)&&i&&s.push({top:r,left:t.right,bottom:a,right:o});ol(t.bottom,r,a)&&u&&s.push({top:t.bottom,right:o,bottom:a,left:n});ol(t.left,n,o)&&i&&s.push({top:r,left:n,bottom:a,right:t.left});if(0===s.length){if(c=t,(l=e).top>=c.top&&l.left>=c.left&&l.bottom<=c.bottom&&l.right<=c.right)return[];s.push(e)}var l,c;return s.map(il)}(r,e))}),[])).length>4e3)throw new Error("splitRects: Too many rects")};for(a.s();!(r=a.n()).done;)o()}catch(e){a.e(e)}finally{a.f()}return n}var ol=function(e,t,r){return e>t&&e<r};function il(e){return new i.DOMRect(e.left,e.top,e.right-e.left,e.bottom-e.top)}var ul=0,sl=.1,ll=.2,cl=.3,dl=0;function pl(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.body,t=arguments.length>1?arguments[1]:void 0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(ds.get("gridCreated")&&!r)return na.gridSize;if(ds.set("gridCreated",!0),!r){var n=ps(s.documentElement);if(n||(n=new Cp(s.documentElement)),dl=0,n._stackingOrder=[gl(ul,dl++,null)],null!=t||(t=new yl),bl(t,n),Lm(n.actualNode)){var a=new yl(n);n._subGrid=a}}for(var o=s.createTreeWalker(e,i.NodeFilter.SHOW_ELEMENT,null,!1),u=r?o.nextNode():o.currentNode;u;){var l=ps(u);l&&l.parent?r=l.parent:u.assignedSlot?r=ps(u.assignedSlot):u.parentElement?r=ps(u.parentElement):u.parentNode&&ps(u.parentNode)&&(r=ps(u.parentNode)),l||(l=new c.VirtualNode(u,r)),l._stackingOrder=hl(l,r,dl++);var d=vl(l,r),p=d?d._subGrid:t;if(Lm(l.actualNode)){var f=new yl(l);l._subGrid=f}var m=l.boundingClientRect;0!==m.width&&0!==m.height&&Hs(u)&&bl(p,l),Jf(u)&&pl(u.shadowRoot,p,l),u=o.nextNode()}return na.gridSize}function fl(e,t){var r=e.getComputedStylePropertyValue("position"),n=e.getComputedStylePropertyValue("z-index");if("fixed"===r||"sticky"===r)return!0;if("auto"!==n&&"static"!==r)return!0;if("1"!==e.getComputedStylePropertyValue("opacity"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-transform")||e.getComputedStylePropertyValue("-ms-transform")||e.getComputedStylePropertyValue("transform")||"none"))return!0;var a=e.getComputedStylePropertyValue("mix-blend-mode");if(a&&"normal"!==a)return!0;var o=e.getComputedStylePropertyValue("filter");if(o&&"none"!==o)return!0;var i=e.getComputedStylePropertyValue("perspective");if(i&&"none"!==i)return!0;var u=e.getComputedStylePropertyValue("clip-path");if(u&&"none"!==u)return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask")||e.getComputedStylePropertyValue("mask")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-image")||e.getComputedStylePropertyValue("mask-image")||"none"))return!0;if("none"!==(e.getComputedStylePropertyValue("-webkit-mask-border")||e.getComputedStylePropertyValue("mask-border")||"none"))return!0;if("isolate"===e.getComputedStylePropertyValue("isolation"))return!0;var s=e.getComputedStylePropertyValue("will-change");if("transform"===s||"opacity"===s)return!0;if("touch"===e.getComputedStylePropertyValue("-webkit-overflow-scrolling"))return!0;var l=e.getComputedStylePropertyValue("contain");return!!["layout","paint","strict","content"].includes(l)||!("auto"===n||!ml(t))}function ml(e){if(!e)return!1;var t=e.getComputedStylePropertyValue("display");return["flex","inline-flex","grid","inline-grid"].includes(t)}function hl(e,t,r){var n=t._stackingOrder.slice();if(fl(e,t)){var a=n.findIndex((function(e){var t=e.stackLevel;return[ul,ll,cl].includes(t)}));-1!==a&&n.splice(a,n.length-a)}var o=function(e,t){var r=function(e,t){var r=e.getComputedStylePropertyValue("position");if("static"===r&&!ml(t))return"auto";return e.getComputedStylePropertyValue("z-index")}(e,t);if(!["auto","0"].includes(r))return parseInt(r);if("static"!==e.getComputedStylePropertyValue("position"))return cl;if("none"!==e.getComputedStylePropertyValue("float"))return ll;if(fl(e,t))return sl;return null}(e,t);return null!==o&&n.push(gl(o,r,e)),n}function gl(e,t,r){return{stackLevel:e,treeOrder:t,vNode:r}}function vl(e,t){for(var r=null,n=[e];t;){if(Lm(t.actualNode)){r=t;break}if(t._scrollRegionParent){r=t._scrollRegionParent;break}n.push(t),t=ps(t.actualNode.parentElement||t.actualNode.parentNode)}return n.forEach((function(e){return e._scrollRegionParent=r})),r}function bl(e,t){var r=Ds(t);t.clientRects.forEach((function(n){var a,o=r.reduce((function(e,t){return e&&Xs(e,t.boundingClientRect)}),n);if(o){null!==(a=t._grid)&&void 0!==a||(t._grid=e);var i=e.getGridPositionOfRect(o);e.loopGridPosition(i,(function(e){e.includes(t)||e.push(t)}))}}))}var yl=Q((function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;Z(this,e),this.container=t,this.cells=[]}),[{key:"toGridIndex",value:function(e){return Math.floor(e/na.gridSize)}},{key:"getCellFromPoint",value:function(e){var t,r,n=e.x,a=e.y;wa(this.boundaries,"Grid does not have cells added");var o=this.toGridIndex(a),i=this.toGridIndex(n);wa(Ys({y:o,x:i},this.boundaries),"Element midpoint exceeds the grid bounds");var u=null!==(t=this.cells[o-this.cells._negativeIndex])&&void 0!==t?t:[];return null!==(r=u[i-u._negativeIndex])&&void 0!==r?r:[]}},{key:"loopGridPosition",value:function(e,t){var r=e,n=r.left,a=r.right,o=r.top,i=r.bottom;this.boundaries&&(e=Ws(this.boundaries,e)),this.boundaries=e,wl(this.cells,o,i,(function(e,r){wl(e,n,a,(function(e,n){t(e,{row:r,col:n})}))}))}},{key:"getGridPositionOfRect",value:function(e){var t=e.top,r=e.right,n=e.bottom,a=e.left,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=this.toGridIndex(t-o),r=this.toGridIndex(r+o-1),n=this.toGridIndex(n+o-1),a=this.toGridIndex(a-o),new i.DOMRect(a,t,r-a,n-t)}}]);function wl(e,t,r,n){var a;if(null!==(a=e._negativeIndex)&&void 0!==a||(e._negativeIndex=0),t<e._negativeIndex){for(var o=0;o<e._negativeIndex-t;o++)e.splice(0,0,[]);e._negativeIndex=t}for(var i=t-e._negativeIndex,u=r-e._negativeIndex,s=i;s<=u;s++){var l,c;null!==(c=e[l=s])&&void 0!==c||(e[l]=[]),n(e[s],s+e._negativeIndex)}}function Dl(e){return pl(),ah(e).vNode._grid}function xl(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=Dl(e);if(null==n||null===(t=n.cells)||void 0===t||!t.length)return[];var a=e.boundingClientRect,o=El(e),i=n.getGridPositionOfRect(a,r),u=[];return n.loopGridPosition(i,(function(t){var r,n=te(t);try{for(n.s();!(r=n.n()).done;){var a=r.value;a&&a!==e&&!u.includes(a)&&o===El(a)&&u.push(a)}}catch(e){n.e(e)}finally{n.f()}})),u}var El=qu((function(e){return!!e&&("fixed"===e.getComputedStylePropertyValue("position")||El(e.parent))})),Al=qu((function(){var e;if(!c._tree)return null;var t=mh(c._tree[0],"dialog[open]",(function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left+1,t.top+1).includes(e.actualNode)&&Hs(e)}));if(!t.length)return null;var r=t.find((function(e){var t=e.boundingClientRect;return s.elementsFromPoint(t.left-10,t.top-10).includes(e.actualNode)}));return r||(null!==(e=t.find((function(e){var t,r=null!==(t=function(e){pl();var t=c._tree[0]._grid,r=new i.DOMRect(0,0,i.innerWidth,i.innerHeight);if(!t)return;for(var n=0;n<t.cells.length;n++){var a=t.cells[n];if(a)for(var o=0;o<a.length;o++){var u=a[o];if(u)for(var s=0;s<u.length;s++){var l=u[s],d=Xs(l.boundingClientRect,r);if("html"!==l.props.nodeName&&l!==e&&"none"!==l.getComputedStylePropertyValue("pointer-events")&&d)return{vNode:l,rect:d}}}}}(e))&&void 0!==t?t:{},n=r.vNode,a=r.rect;return!!n&&!s.elementsFromPoint(a.left+1,a.top+1).includes(n.actualNode)})))&&void 0!==e?e:null)})),Fl=Al;function Cl(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.skipAncestors,n=t.isAncestor;return r?kl(e,n):Nl(e,n)}var kl=qu((function(e,t){if(e.hasAttr("inert"))return!0;if(!t&&e.actualNode){var r=Fl();if(r&&!Yf(r,e))return!0}return!1})),Nl=qu((function(e,t){return!!kl(e,t)||!!e.parent&&Nl(e.parent,!0)})),Rl=["button","command","fieldset","keygen","optgroup","option","select","textarea","input"];var _l=function(e){var t,r=ah(e).vNode;if(t=r.props.nodeName,Rl.includes(t)&&r.hasAttr("disabled")||Cl(r))return!0;for(var n=r.parent,a=[],o=!1;n&&n.shadowId===r.shadowId&&!o&&(a.push(n),"legend"!==n.props.nodeName);){if(void 0!==n._inDisabledFieldset){o=n._inDisabledFieldset;break}"fieldset"===n.props.nodeName&&n.hasAttr("disabled")&&(o=!0),n=n.parent}return a.forEach((function(e){return e._inDisabledFieldset=o})),!!o||"area"!==r.props.nodeName&&(!!r.actualNode&&Is(r))},Tl=/^\/\#/,Sl=/^#[!/]/;function Ol(e){var t,r=e.getAttribute("href");if(!r||"#"===r)return!1;if(Tl.test(r))return!0;var n=e.hash,a=e.protocol,o=e.hostname,u=e.port,s=e.pathname;if(Sl.test(n))return!1;if("#"===r.charAt(0))return!0;if("string"!=typeof(null===(t=i.location)||void 0===t?void 0:t.origin)||-1===i.location.origin.indexOf("://"))return null;var l,c=i.location.origin+i.location.pathname;return l=o?"".concat(a,"//").concat(o).concat(u?":".concat(u):""):i.location.origin,(l+=s?("/"!==s[0]?"/":"")+s:i.location.pathname)===c}var Ml=function(e,t){var r=e.getAttribute(t);if(!r)return null;if("href"===t&&!Ol(e))return null;-1!==r.indexOf("#")&&(r=decodeURIComponent(r.substr(r.indexOf("#")+1)));var n=s.getElementById(r);return n||((n=s.getElementsByName(r)).length?n[0]:null)};function Pl(e,t){pl();for(var r=Math.max(e._stackingOrder.length,t._stackingOrder.length),n=0;n<r;n++){if(void 0===t._stackingOrder[n])return-1;if(void 0===e._stackingOrder[n])return 1;if(t._stackingOrder[n].stackLevel>e._stackingOrder[n].stackLevel)return 1;if(t._stackingOrder[n].stackLevel<e._stackingOrder[n].stackLevel)return-1;if(t._stackingOrder[n].treeOrder!==e._stackingOrder[n].treeOrder)return t._stackingOrder[n].treeOrder-e._stackingOrder[n].treeOrder}var a=e.actualNode,o=t.actualNode;if(a.getRootNode&&a.getRootNode()!==o.getRootNode()){for(var u=[];a;)u.push({root:a.getRootNode(),node:a}),a=a.getRootNode().host;for(;o&&!u.find((function(e){return e.root===o.getRootNode()}));)o=o.getRootNode().host;if((a=u.find((function(e){return e.root===o.getRootNode()})).node)===o)return e.actualNode.getRootNode()!==a.getRootNode()?-1:1}var s=i.Node,l=s.DOCUMENT_POSITION_FOLLOWING,c=s.DOCUMENT_POSITION_CONTAINS,d=s.DOCUMENT_POSITION_CONTAINED_BY,p=a.compareDocumentPosition(o),f=p&l?1:-1,m=p&c||p&d,h=Il(e),g=Il(t);return h===g||m?f:g-h}function Il(e){return-1!==e.getComputedStylePropertyValue("display").indexOf("inline")?2:Bl(e)?1:0}function Bl(e){if(!e)return!1;if(void 0!==e._isFloated)return e._isFloated;if("none"!==e.getComputedStylePropertyValue("float"))return e._isFloated=!0,!0;var t=Bl(e.parent);return e._isFloated=t,t}function Ll(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=Zs(t),a=e.getCellFromPoint(n)||[],o=Math.floor(n.x),i=Math.floor(n.y),u=a.filter((function(e){return e.clientRects.some((function(e){var t=e.left,r=e.top;return o<Math.floor(t+e.width)&&o>=Math.floor(t)&&i<Math.floor(r+e.height)&&i>=Math.floor(r)}))})),l=e.container;return l&&(u=Ll(l._grid,l.boundingClientRect,!0).concat(u)),r||(u=u.sort(Pl).map((function(e){return e.actualNode})).concat(s.documentElement).filter((function(e,t,r){return r.indexOf(e)===t}))),u}var jl=function(e){var t=Dl(e);return t?Ll(t,ps(e).boundingClientRect):[]};var ql=function(e){return Fh(e,"*").filter((function(e){var t=e.isFocusable,r=sh(e.actualNode.getAttribute("tabindex"));return null!==r?t&&r>=0:t}))};var zl=function(e){var t=ah(e).vNode;if(!t||_l(t))return!1;switch(t.props.nodeName){case"a":case"area":if(t.hasAttr("href"))return!0;break;case"input":return"hidden"!==t.props.type;case"textarea":case"select":case"summary":case"button":return!0;case"details":return!Fh(t,"summary").length}return!1};function Vl(e){var t=ah(e).vNode;return 1===t.props.nodeType&&(!_l(t)&&(!!zl(t)||null!==sh(t.attr("tabindex"))))}function Gl(e){var t=ah(e).vNode;return 1===t.props.nodeType&&(!(sh(t.attr("tabindex"))<=-1)&&Vl(t))}var $l=qu((function(e){var t=e.boundingClientRect,r=xl(e).filter((function(t){return nl(e,t)&&"none"!==t.getComputedStylePropertyValue("pointer-events")&&!function(e,t){return Yf(e,t)&&!Gl(t)}(e,t)}));if(!r.length)return[t];var n=r.map((function(e){return e.boundingClientRect}));return al(t,n)}));var Hl=qu((function(e,t){return function(e,t){return e.reduce((function(e,r){var n=Qs(t,e);return n!==Qs(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r}))}($l(e),t)}));var Ul={};fe(Ul,{accessibleText:function(){return Yl},accessibleTextVirtual:function(){return gd},autocomplete:function(){return wd},formControlValue:function(){return od},formControlValueMethods:function(){return nd},hasUnicode:function(){return md},isHumanInterpretable:function(){return yd},isIconLigature:function(){return hd},isValidAutocomplete:function(){return Dd},label:function(){return Fd},labelText:function(){return sd},labelVirtual:function(){return Ad},nativeElementType:function(){return Cd},nativeTextAlternative:function(){return fd},nativeTextMethods:function(){return pd},removeUnicode:function(){return bd},sanitize:function(){return mc},subtreeText:function(){return ud},titleText:function(){return zc},unsupported:function(){return $c},visible:function(){return Ed},visibleTextNodes:function(){return kd},visibleVirtual:function(){return Wc}});var Wl=function(e,t){e=e.actualNode||e;try{var r=hs(e),n=[],a=e.getAttribute(t);if(a){a=em(a);for(var o=0;o<a.length;o++)n.push(r.getElementById(a[o]))}return n}catch(e){throw new TypeError("Cannot resolve id references for non-DOM nodes")}};var Yl=function(e,t){return gd(ps(e),t)};var Kl=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=ah(e).vNode;return 1!==(null==r?void 0:r.props.nodeType)||1!==r.props.nodeType||t.inLabelledByContext||t.inControlContext||!r.attr("aria-labelledby")?"":Wl(r,"aria-labelledby").filter((function(e){return e})).reduce((function(e,n){var a=Yl(n,j({inLabelledByContext:!0,startNode:t.startNode||r},t));return e?"".concat(e," ").concat(a):a}),"")};function Xl(e){var t=ah(e).vNode;return 1!==(null==t?void 0:t.props.nodeType)?"":t.attr("aria-label")||""}var Zl={"aria-activedescendant":{type:"idref",allowEmpty:!0},"aria-atomic":{type:"boolean",global:!0},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"]},"aria-braillelabel":{type:"string",allowEmpty:!0,global:!0},"aria-brailleroledescription":{type:"string",allowEmpty:!0,global:!0},"aria-busy":{type:"boolean",global:!0},"aria-checked":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-colcount":{type:"int",minValue:-1},"aria-colindex":{type:"int",minValue:1},"aria-colspan":{type:"int",minValue:1},"aria-controls":{type:"idrefs",allowEmpty:!0,global:!0},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],global:!0},"aria-describedby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-description":{type:"string",allowEmpty:!0,global:!0},"aria-details":{type:"idref",allowEmpty:!0,global:!0},"aria-disabled":{type:"boolean",global:!0},"aria-dropeffect":{type:"nmtokens",values:["copy","execute","link","move","none","popup"],global:!0},"aria-errormessage":{type:"idref",allowEmpty:!0,global:!0},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"]},"aria-flowto":{type:"idrefs",allowEmpty:!0,global:!0},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],global:!0},"aria-hidden":{type:"nmtoken",values:["true","false","undefined"],global:!0},"aria-invalid":{type:"nmtoken",values:["grammar","false","spelling","true"],global:!0},"aria-keyshortcuts":{type:"string",allowEmpty:!0,global:!0},"aria-label":{type:"string",allowEmpty:!0,global:!0},"aria-labelledby":{type:"idrefs",allowEmpty:!0,global:!0},"aria-level":{type:"int",minValue:1},"aria-live":{type:"nmtoken",values:["assertive","off","polite"],global:!0},"aria-modal":{type:"boolean"},"aria-multiline":{type:"boolean"},"aria-multiselectable":{type:"boolean"},"aria-orientation":{type:"nmtoken",values:["horizontal","undefined","vertical"]},"aria-owns":{type:"idrefs",allowEmpty:!0,global:!0},"aria-placeholder":{type:"string",allowEmpty:!0},"aria-posinset":{type:"int",minValue:1},"aria-pressed":{type:"nmtoken",values:["false","mixed","true","undefined"]},"aria-readonly":{type:"boolean"},"aria-relevant":{type:"nmtokens",values:["additions","all","removals","text"],global:!0},"aria-required":{type:"boolean"},"aria-roledescription":{type:"string",allowEmpty:!0,global:!0},"aria-rowcount":{type:"int",minValue:-1},"aria-rowindex":{type:"int",minValue:1},"aria-rowspan":{type:"int",minValue:0},"aria-selected":{type:"nmtoken",values:["false","true","undefined"]},"aria-setsize":{type:"int",minValue:-1},"aria-sort":{type:"nmtoken",values:["ascending","descending","none","other"]},"aria-valuemax":{type:"decimal"},"aria-valuemin":{type:"decimal"},"aria-valuenow":{type:"decimal"},"aria-valuetext":{type:"string",allowEmpty:!0}},Jl={alert:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},alertdialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["alert","dialog"],accessibleNameRequired:!0},application:{type:"landmark",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["structure"],accessibleNameRequired:!0},article:{type:"structure",allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["document"]},banner:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},blockquote:{type:"structure",superclassRole:["section"]},button:{type:"widget",allowedAttrs:["aria-expanded","aria-pressed"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},caption:{type:"structure",requiredContext:["figure","table","grid","treegrid"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},cell:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-expanded"],superclassRole:["section"],nameFromContent:!0},checkbox:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-readonly","aria-expanded","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},code:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},columnheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},combobox:{type:"widget",requiredAttrs:["aria-expanded","aria-controls"],allowedAttrs:["aria-owns","aria-autocomplete","aria-readonly","aria-required","aria-activedescendant","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},command:{type:"abstract",superclassRole:["widget"]},complementary:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},composite:{type:"abstract",superclassRole:["widget"]},contentinfo:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},comment:{type:"structure",allowedAttrs:["aria-level","aria-posinset","aria-setsize"],superclassRole:["article"]},definition:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},deletion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},dialog:{type:"window",allowedAttrs:["aria-expanded","aria-modal"],superclassRole:["window"],accessibleNameRequired:!0},directory:{type:"structure",deprecated:!0,allowedAttrs:["aria-expanded"],superclassRole:["list"],nameFromContent:!0},document:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["structure"]},emphasis:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},feed:{type:"structure",requiredOwned:["article"],allowedAttrs:["aria-expanded"],superclassRole:["list"]},figure:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},form:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},grid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-level","aria-multiselectable","aria-readonly","aria-activedescendant","aria-colcount","aria-expanded","aria-rowcount"],superclassRole:["composite","table"],accessibleNameRequired:!1},gridcell:{type:"widget",requiredContext:["row"],allowedAttrs:["aria-readonly","aria-required","aria-selected","aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan"],superclassRole:["cell","widget"],nameFromContent:!0},group:{type:"structure",allowedAttrs:["aria-activedescendant","aria-expanded"],superclassRole:["section"]},heading:{type:"structure",requiredAttrs:["aria-level"],allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},img:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!0,childrenPresentational:!0},input:{type:"abstract",superclassRole:["widget"]},insertion:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},landmark:{type:"abstract",superclassRole:["section"]},link:{type:"widget",allowedAttrs:["aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},list:{type:"structure",requiredOwned:["listitem"],allowedAttrs:["aria-expanded"],superclassRole:["section"]},listbox:{type:"widget",requiredOwned:["group","option"],allowedAttrs:["aria-multiselectable","aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!0},listitem:{type:"structure",requiredContext:["list"],allowedAttrs:["aria-level","aria-posinset","aria-setsize","aria-expanded"],superclassRole:["section"],nameFromContent:!0},log:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},main:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},marquee:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},math:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],childrenPresentational:!0},menu:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"]},menubar:{type:"composite",requiredOwned:["group","menuitemradio","menuitem","menuitemcheckbox","menu","separator"],allowedAttrs:["aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["menu"]},menuitem:{type:"widget",requiredContext:["menu","menubar","group"],allowedAttrs:["aria-posinset","aria-setsize","aria-expanded"],superclassRole:["command"],accessibleNameRequired:!0,nameFromContent:!0},menuitemcheckbox:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["checkbox","menuitem"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},menuitemradio:{type:"widget",requiredContext:["menu","menubar","group"],requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-posinset","aria-readonly","aria-setsize"],superclassRole:["menuitemcheckbox","radio"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},meter:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},mark:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},navigation:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},none:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},note:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},option:{type:"widget",requiredContext:["group","listbox"],allowedAttrs:["aria-selected","aria-checked","aria-posinset","aria-setsize"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},paragraph:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},presentation:{type:"structure",superclassRole:["structure"],prohibitedAttrs:["aria-label","aria-labelledby"]},progressbar:{type:"widget",allowedAttrs:["aria-expanded","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext"],superclassRole:["range"],accessibleNameRequired:!0,childrenPresentational:!0},radio:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-posinset","aria-setsize","aria-required"],superclassRole:["input"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},radiogroup:{type:"composite",allowedAttrs:["aria-readonly","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},range:{type:"abstract",superclassRole:["widget"]},region:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"],accessibleNameRequired:!1},roletype:{type:"abstract",superclassRole:[]},row:{type:"structure",requiredContext:["grid","rowgroup","table","treegrid"],requiredOwned:["cell","columnheader","gridcell","rowheader"],allowedAttrs:["aria-colindex","aria-level","aria-rowindex","aria-selected","aria-activedescendant","aria-expanded","aria-posinset","aria-setsize"],superclassRole:["group","widget"],nameFromContent:!0},rowgroup:{type:"structure",requiredContext:["grid","table","treegrid"],requiredOwned:["row"],superclassRole:["structure"],nameFromContent:!0},rowheader:{type:"structure",requiredContext:["row"],allowedAttrs:["aria-sort","aria-colindex","aria-colspan","aria-expanded","aria-readonly","aria-required","aria-rowindex","aria-rowspan","aria-selected"],superclassRole:["cell","gridcell","sectionhead"],accessibleNameRequired:!1,nameFromContent:!0},scrollbar:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-controls","aria-orientation","aria-valuemax","aria-valuemin","aria-valuetext"],superclassRole:["range"],childrenPresentational:!0},search:{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},searchbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["textbox"],accessibleNameRequired:!0},section:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},sectionhead:{type:"abstract",superclassRole:["structure"],nameFromContent:!0},select:{type:"abstract",superclassRole:["composite","group"]},separator:{type:"structure",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-valuetext"],superclassRole:["structure","widget"],childrenPresentational:!0},slider:{type:"widget",requiredAttrs:["aria-valuenow"],allowedAttrs:["aria-valuemax","aria-valuemin","aria-orientation","aria-readonly","aria-required","aria-valuetext"],superclassRole:["input","range"],accessibleNameRequired:!0,childrenPresentational:!0},spinbutton:{type:"widget",allowedAttrs:["aria-valuemax","aria-valuemin","aria-readonly","aria-required","aria-activedescendant","aria-valuetext","aria-valuenow"],superclassRole:["composite","input","range"],accessibleNameRequired:!0},status:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"]},strong:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},structure:{type:"abstract",superclassRole:["roletype"]},subscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},superscript:{type:"structure",superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},switch:{type:"widget",requiredAttrs:["aria-checked"],allowedAttrs:["aria-expanded","aria-readonly","aria-required"],superclassRole:["checkbox"],accessibleNameRequired:!0,nameFromContent:!0,childrenPresentational:!0},suggestion:{type:"structure",requiredOwned:["insertion","deletion"],superclassRole:["section"],prohibitedAttrs:["aria-label","aria-labelledby"]},tab:{type:"widget",requiredContext:["tablist"],allowedAttrs:["aria-posinset","aria-selected","aria-setsize","aria-expanded"],superclassRole:["sectionhead","widget"],nameFromContent:!0,childrenPresentational:!0},table:{type:"structure",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-colcount","aria-rowcount","aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1,nameFromContent:!0},tablist:{type:"composite",requiredOwned:["tab"],allowedAttrs:["aria-level","aria-multiselectable","aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["composite"]},tabpanel:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],accessibleNameRequired:!1},term:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},text:{type:"structure",superclassRole:["section"],nameFromContent:!0},textbox:{type:"widget",allowedAttrs:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-placeholder","aria-readonly","aria-required"],superclassRole:["input"],accessibleNameRequired:!0},time:{type:"structure",superclassRole:["section"]},timer:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["status"]},toolbar:{type:"structure",allowedAttrs:["aria-orientation","aria-activedescendant","aria-expanded"],superclassRole:["group"],accessibleNameRequired:!0},tooltip:{type:"structure",allowedAttrs:["aria-expanded"],superclassRole:["section"],nameFromContent:!0},tree:{type:"composite",requiredOwned:["group","treeitem"],allowedAttrs:["aria-multiselectable","aria-required","aria-activedescendant","aria-expanded","aria-orientation"],superclassRole:["select"],accessibleNameRequired:!1},treegrid:{type:"composite",requiredOwned:["rowgroup","row"],allowedAttrs:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-readonly","aria-required","aria-rowcount"],superclassRole:["grid","tree"],accessibleNameRequired:!1},treeitem:{type:"widget",requiredContext:["group","tree"],allowedAttrs:["aria-checked","aria-expanded","aria-level","aria-posinset","aria-selected","aria-setsize"],superclassRole:["listitem","option"],accessibleNameRequired:!0,nameFromContent:!0},widget:{type:"abstract",superclassRole:["roletype"]},window:{type:"abstract",superclassRole:["roletype"]}},Ql={a:{variant:{href:{matches:"[href]",contentTypes:["interactive","phrasing","flow"],allowedRoles:["button","checkbox","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab","treeitem","doc-backlink","doc-biblioref","doc-glossref","doc-noteref"],namingMethods:["subtreeText"]},default:{contentTypes:["phrasing","flow"],allowedRoles:!0}}},abbr:{contentTypes:["phrasing","flow"],allowedRoles:!0},address:{contentTypes:["flow"],allowedRoles:!0},area:{variant:{href:{matches:"[href]",allowedRoles:!1},default:{allowedRoles:["button","link"]}},contentTypes:["phrasing","flow"],namingMethods:["altText"]},article:{contentTypes:["sectioning","flow"],allowedRoles:["feed","presentation","none","document","application","main","region"],shadowRoot:!0},aside:{contentTypes:["sectioning","flow"],allowedRoles:["feed","note","presentation","none","region","search","doc-dedication","doc-example","doc-footnote","doc-glossary","doc-pullquote","doc-tip"]},audio:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"Audio"},b:{contentTypes:["phrasing","flow"],allowedRoles:!0},base:{allowedRoles:!1,noAriaAttrs:!0},bdi:{contentTypes:["phrasing","flow"],allowedRoles:!0},bdo:{contentTypes:["phrasing","flow"],allowedRoles:!0},blockquote:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},body:{allowedRoles:!1,shadowRoot:!0},br:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"],namingMethods:["titleText","singleSpace"]},button:{contentTypes:["interactive","phrasing","flow"],allowedRoles:["checkbox","combobox","gridcell","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","separator","slider","switch","tab","treeitem"],namingMethods:["subtreeText"]},canvas:{allowedRoles:!0,contentTypes:["embedded","phrasing","flow"],chromiumRole:"Canvas"},caption:{allowedRoles:!1},cite:{contentTypes:["phrasing","flow"],allowedRoles:!0},code:{contentTypes:["phrasing","flow"],allowedRoles:!0},col:{allowedRoles:!1,noAriaAttrs:!0},colgroup:{allowedRoles:!1,noAriaAttrs:!0},data:{contentTypes:["phrasing","flow"],allowedRoles:!0},datalist:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0,implicitAttrs:{"aria-multiselectable":"false"}},dd:{allowedRoles:!1},del:{contentTypes:["phrasing","flow"],allowedRoles:!0},dfn:{contentTypes:["phrasing","flow"],allowedRoles:!0},details:{contentTypes:["interactive","flow"],allowedRoles:!1},dialog:{contentTypes:["flow"],allowedRoles:["alertdialog"]},div:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},dl:{contentTypes:["flow"],allowedRoles:["group","list","presentation","none"],chromiumRole:"DescriptionList"},dt:{allowedRoles:["listitem"]},em:{contentTypes:["phrasing","flow"],allowedRoles:!0},embed:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","presentation","none"],chromiumRole:"EmbeddedObject"},fieldset:{contentTypes:["flow"],allowedRoles:["none","presentation","radiogroup"],namingMethods:["fieldsetLegendText"]},figcaption:{allowedRoles:["group","none","presentation"]},figure:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["figureText","titleText"]},footer:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},form:{contentTypes:["flow"],allowedRoles:["form","search","none","presentation"]},h1:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"1"}},h2:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"2"}},h3:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"3"}},h4:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"4"}},h5:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"5"}},h6:{contentTypes:["heading","flow"],allowedRoles:["none","presentation","tab","doc-subtitle"],shadowRoot:!0,implicitAttrs:{"aria-level":"6"}},head:{allowedRoles:!1,noAriaAttrs:!0},header:{contentTypes:["flow"],allowedRoles:["group","none","presentation","doc-footnote"],shadowRoot:!0},hgroup:{contentTypes:["heading","flow"],allowedRoles:!0},hr:{contentTypes:["flow"],allowedRoles:["none","presentation","doc-pagebreak"],namingMethods:["titleText","singleSpace"]},html:{allowedRoles:!1,noAriaAttrs:!0},i:{contentTypes:["phrasing","flow"],allowedRoles:!0},iframe:{contentTypes:["interactive","embedded","phrasing","flow"],allowedRoles:["application","document","img","none","presentation"],chromiumRole:"Iframe"},img:{variant:{nonEmptyAlt:{matches:[{attributes:{alt:"/.+/"}},{hasAccessibleName:!0}],allowedRoles:["button","checkbox","link","math","menuitem","menuitemcheckbox","menuitemradio","meter","option","progressbar","radio","scrollbar","separator","slider","switch","tab","treeitem","doc-cover"]},usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","flow"]},default:{allowedRoles:["presentation","none"],contentTypes:["embedded","flow"]}},namingMethods:["altText"]},input:{variant:{button:{matches:{properties:{type:"button"}},allowedRoles:["checkbox","combobox","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","switch","tab"]},buttonType:{matches:{properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},checkboxPressed:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":"/.*/"}},allowedRoles:["button","menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},checkbox:{matches:{properties:{type:"checkbox"},attributes:{"aria-pressed":null}},allowedRoles:["menuitemcheckbox","option","switch"],implicitAttrs:{"aria-checked":"false"}},noRoles:{matches:{properties:{type:["color","date","datetime-local","file","month","number","password","range","reset","submit","time","week"]}},allowedRoles:!1},hidden:{matches:{properties:{type:"hidden"}},contentTypes:["flow"],allowedRoles:!1,noAriaAttrs:!0},image:{matches:{properties:{type:"image"}},allowedRoles:["link","menuitem","menuitemcheckbox","menuitemradio","radio","switch"],namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},radio:{matches:{properties:{type:"radio"}},allowedRoles:["menuitemradio"],implicitAttrs:{"aria-checked":"false"}},textWithList:{matches:{properties:{type:"text"},attributes:{list:"/.*/"}},allowedRoles:!1},default:{contentTypes:["interactive","flow"],allowedRoles:["combobox","searchbox","spinbutton"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText","placeholderText"]}}},ins:{contentTypes:["phrasing","flow"],allowedRoles:!0},kbd:{contentTypes:["phrasing","flow"],allowedRoles:!0},label:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,chromiumRole:"Label"},legend:{allowedRoles:!1},li:{allowedRoles:["menuitem","menuitemcheckbox","menuitemradio","option","none","presentation","radio","separator","tab","treeitem","doc-biblioentry","doc-endnote"],implicitAttrs:{"aria-setsize":"1","aria-posinset":"1"}},link:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},main:{contentTypes:["flow"],allowedRoles:!1,shadowRoot:!0},map:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},math:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!1},mark:{contentTypes:["phrasing","flow"],allowedRoles:!0},menu:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},meta:{variant:{itemprop:{matches:"[itemprop]",contentTypes:["phrasing","flow"]}},allowedRoles:!1,noAriaAttrs:!0},meter:{contentTypes:["phrasing","flow"],allowedRoles:!1,chromiumRole:"progressbar"},nav:{contentTypes:["sectioning","flow"],allowedRoles:["doc-index","doc-pagelist","doc-toc","menu","menubar","none","presentation","tablist"],shadowRoot:!0},noscript:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},object:{variant:{usemap:{matches:"[usemap]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application","document","img"],chromiumRole:"PluginObject"},ol:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},optgroup:{allowedRoles:!1},option:{allowedRoles:!1,implicitAttrs:{"aria-selected":"false"}},output:{contentTypes:["phrasing","flow"],allowedRoles:!0,namingMethods:["subtreeText"]},p:{contentTypes:["flow"],allowedRoles:!0,shadowRoot:!0},param:{allowedRoles:!1,noAriaAttrs:!0},picture:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},pre:{contentTypes:["flow"],allowedRoles:!0},progress:{contentTypes:["phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":"0"}},q:{contentTypes:["phrasing","flow"],allowedRoles:!0},rp:{allowedRoles:!0},rt:{allowedRoles:!0},ruby:{contentTypes:["phrasing","flow"],allowedRoles:!0},s:{contentTypes:["phrasing","flow"],allowedRoles:!0},samp:{contentTypes:["phrasing","flow"],allowedRoles:!0},script:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},search:{contentTypes:["flow"],allowedRoles:["form","group","none","presentation","region","search"]},section:{contentTypes:["sectioning","flow"],allowedRoles:["alert","alertdialog","application","banner","complementary","contentinfo","dialog","document","feed","group","log","main","marquee","navigation","none","note","presentation","search","status","tabpanel","doc-abstract","doc-acknowledgments","doc-afterword","doc-appendix","doc-bibliography","doc-chapter","doc-colophon","doc-conclusion","doc-credit","doc-credits","doc-dedication","doc-endnotes","doc-epigraph","doc-epilogue","doc-errata","doc-example","doc-foreword","doc-glossary","doc-index","doc-introduction","doc-notice","doc-pagelist","doc-part","doc-preface","doc-prologue","doc-pullquote","doc-qna","doc-toc"],shadowRoot:!0},select:{variant:{combobox:{matches:{attributes:{multiple:null,size:[null,"1"]}},allowedRoles:["menu"]},default:{allowedRoles:!1}},contentTypes:["interactive","phrasing","flow"],implicitAttrs:{"aria-valuenow":""},namingMethods:["labelText"]},slot:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},small:{contentTypes:["phrasing","flow"],allowedRoles:!0},source:{allowedRoles:!1,noAriaAttrs:!0},span:{contentTypes:["phrasing","flow"],allowedRoles:!0,shadowRoot:!0},strong:{contentTypes:["phrasing","flow"],allowedRoles:!0},style:{allowedRoles:!1,noAriaAttrs:!0},svg:{contentTypes:["embedded","phrasing","flow"],allowedRoles:!0,chromiumRole:"SVGRoot",namingMethods:["svgTitleText"]},sub:{contentTypes:["phrasing","flow"],allowedRoles:!0},summary:{allowedRoles:!1,namingMethods:["subtreeText"]},sup:{contentTypes:["phrasing","flow"],allowedRoles:!0},table:{contentTypes:["flow"],allowedRoles:!0,namingMethods:["tableCaptionText","tableSummaryText"]},tbody:{allowedRoles:!0},template:{contentTypes:["phrasing","flow"],allowedRoles:!1,noAriaAttrs:!0},textarea:{contentTypes:["interactive","phrasing","flow"],allowedRoles:!1,implicitAttrs:{"aria-valuenow":"","aria-multiline":"true"},namingMethods:["labelText","placeholderText"]},tfoot:{allowedRoles:!0},thead:{allowedRoles:!0},time:{contentTypes:["phrasing","flow"],allowedRoles:!0},title:{allowedRoles:!1,noAriaAttrs:!0},td:{allowedRoles:!0},th:{allowedRoles:!0},tr:{allowedRoles:!0},track:{allowedRoles:!1,noAriaAttrs:!0},u:{contentTypes:["phrasing","flow"],allowedRoles:!0},ul:{contentTypes:["flow"],allowedRoles:["directory","group","listbox","menu","menubar","none","presentation","radiogroup","tablist","toolbar","tree"]},var:{contentTypes:["phrasing","flow"],allowedRoles:!0},video:{variant:{controls:{matches:"[controls]",contentTypes:["interactive","embedded","phrasing","flow"]},default:{contentTypes:["embedded","phrasing","flow"]}},allowedRoles:["application"],chromiumRole:"video"},wbr:{contentTypes:["phrasing","flow"],allowedRoles:["presentation","none"]}},ec={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},tc={ariaAttrs:Zl,ariaRoles:j({},Jl,{"doc-abstract":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-acknowledgments":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-afterword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-appendix":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-backlink":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-biblioentry":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-bibliography":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-biblioref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-chapter":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-colophon":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-conclusion":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-cover":{type:"img",allowedAttrs:["aria-expanded"],superclassRole:["img"]},"doc-credit":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-credits":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-dedication":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-endnote":{type:"listitem",allowedAttrs:["aria-expanded","aria-level","aria-posinset","aria-setsize"],superclassRole:["listitem"],deprecated:!0},"doc-endnotes":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-epigraph":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-epilogue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-errata":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-example":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-footnote":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-foreword":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossary":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-glossref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-index":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-introduction":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-noteref":{type:"link",allowedAttrs:["aria-expanded"],nameFromContent:!0,superclassRole:["link"]},"doc-notice":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-pagebreak":{type:"separator",allowedAttrs:["aria-expanded","aria-orientation"],superclassRole:["separator"],childrenPresentational:!0},"doc-pagelist":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]},"doc-part":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-preface":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-prologue":{type:"landmark",allowedAttrs:["aria-expanded"],superclassRole:["landmark"]},"doc-pullquote":{type:"none",superclassRole:["none"]},"doc-qna":{type:"section",allowedAttrs:["aria-expanded"],superclassRole:["section"]},"doc-subtitle":{type:"sectionhead",allowedAttrs:["aria-expanded"],superclassRole:["sectionhead"]},"doc-tip":{type:"note",allowedAttrs:["aria-expanded"],superclassRole:["note"]},"doc-toc":{type:"navigation",allowedAttrs:["aria-expanded"],superclassRole:["navigation"]}},{"graphics-document":{type:"structure",superclassRole:["document"],accessibleNameRequired:!0},"graphics-object":{type:"structure",superclassRole:["group"],nameFromContent:!0},"graphics-symbol":{type:"structure",superclassRole:["img"],accessibleNameRequired:!0,childrenPresentational:!0}}),htmlElms:Ql,cssColors:ec},rc=j({},tc);var nc=rc;var ac=function(e){var t=nc.ariaRoles[e];return!!t&&!!t.unsupported};var oc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.allowAbstract,n=t.flagUnsupported,a=void 0!==n&&n,o=nc.ariaRoles[e],i=ac(e);return!(!o||a&&i)&&(!!r||"abstract"!==o.type)};var ic=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.fallback,n=t.abstracts,a=t.dpub;if(1!==(e=e instanceof ia?e:ps(e)).props.nodeType)return null;var o=(e.attr("role")||"").trim().toLowerCase();return(r?em(o):[o]).find((function(e){return!(!a&&"doc-"===e.substr(0,4))&&oc(e,{allowAbstract:n})}))||null};var uc=function(e){return Object.keys(nc.htmlElms).filter((function(t){var r=nc.htmlElms[t];return r.contentTypes?r.contentTypes.includes(e):!!r.variant&&(!(!r.variant.default||!r.variant.default.contentTypes)&&r.variant.default.contentTypes.includes(e))}))};var sc=function(){return ds.get("globalAriaAttrs",(function(){return Object.keys(nc.ariaAttrs).filter((function(e){return nc.ariaAttrs[e].global}))}))};var lc=qu((function(e){for(var t=[],r=e.rows,n=0,a=r.length;n<a;n++){var o=r[n].cells;t[n]=t[n]||[];for(var i=0,u=0,s=o.length;u<s;u++)for(var l=0;l<o[u].colSpan;l++){for(var c=o[u].getAttribute("rowspan"),d=0===parseInt(c)||0===o[u].rowspan?r.length:o[u].rowSpan,p=0;p<d;p++){for(t[n+p]=t[n+p]||[];t[n+p][i];)i++;t[n+p][i]=o[u]}i++}}return t}));var cc=qu((function(e,t){var r,n;for(t||(t=lc(bs(e,"table"))),r=0;r<t.length;r++)if(t[r]&&-1!==(n=t[r].indexOf(e)))return{x:n,y:r}}));function dc(e){var t=ah(e),r=t.vNode,n=t.domNode,a=r.attr("scope"),o=ic(r);if(!["td","th"].includes(r.props.nodeName))throw new TypeError("Expected TD or TH element");if("columnheader"===o)return"col";if("rowheader"===o)return"row";if("col"===a||"row"===a)return a;if("th"!==r.props.nodeName)return!1;if(!r.actualNode)return"auto";var i=lc(bs(n,"table")),u=cc(n,i);return i[u.y].every((function(e){return"TH"===e.nodeName.toUpperCase()}))?"col":i.map((function(e){return e[u.x]})).every((function(e){return e&&"TH"===e.nodeName.toUpperCase()}))?"row":"auto"}var pc=function(e){return-1!==["col","auto"].indexOf(dc(e))};var fc=function(e){return["row","auto"].includes(dc(e))};var mc=function(e){return e?e.replace(/\r\n/g,"\n").replace(/\u00A0/g," ").replace(/[\s]{2,}/g," ").trim():""},hc=function(){return ds.get("sectioningContentSelector",(function(){return uc("sectioning").map((function(e){return"".concat(e,":not([role])")})).join(", ")+" , [role=article], [role=complementary], [role=navigation], [role=region]"}))},gc=function(){return ds.get("sectioningContentPlusMainSelector",(function(){return hc()+" , main:not([role]), [role=main]"}))};function vc(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).checkTitle,r=void 0!==t&&t;return!!(mc(Kl(e))||mc(Xl(e))||r&&1===(null==e?void 0:e.props.nodeType)&&mc(e.attr("title")))}var bc={a:function(e){return e.hasAttr("href")?"link":null},area:function(e){return e.hasAttr("href")?"link":null},article:"article",aside:function(e){return Kp(e.parent,hc())&&!vc(e,{checkTitle:!0})?null:"complementary"},body:"document",button:"button",datalist:"listbox",dd:"definition",dfn:"term",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",footer:function(e){return Kp(e,gc())?null:"contentinfo"},form:function(e){return vc(e)?"form":null},h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:function(e){return Kp(e,gc())?null:"banner"},hr:"separator",img:function(e){var t=e.hasAttr("alt")&&!e.attr("alt"),r=sc().find((function(t){return e.hasAttr(t)}));return!t||r||Vl(e)?"img":"presentation"},input:function(e){var t;if(e.hasAttr("list")){var r=Wl(e.actualNode,"list").filter((function(e){return!!e}))[0];t=r&&"datalist"===r.nodeName.toLowerCase()}switch(e.props.type){case"checkbox":return"checkbox";case"number":return"spinbutton";case"radio":return"radio";case"range":return"slider";case"search":return t?"combobox":"searchbox";case"button":case"image":case"reset":case"submit":return"button";case"text":case"tel":case"url":case"email":case"":return t?"combobox":"textbox";default:return"textbox"}},li:"listitem",main:"main",math:"math",menu:"list",meter:"meter",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",search:"search",section:function(e){return vc(e)?"region":null},select:function(e){return e.hasAttr("multiple")||parseInt(e.attr("size"))>1?"listbox":"combobox"},summary:"button",table:"table",tbody:"rowgroup",td:function(e){var t=Kp(e,"table"),r=ic(t);return["grid","treegrid"].includes(r)?"gridcell":"cell"},textarea:"textbox",tfoot:"rowgroup",th:function(e){return pc(e)?"columnheader":fc(e)?"rowheader":void 0},thead:"rowgroup",tr:"row",ul:"list"};var yc=function(e,t){var r=l(t);if(Array.isArray(t)&&void 0!==e)return t.includes(e);if("function"===r)return!!t(e);if(null!=e){if(t instanceof RegExp)return t.test(e);if(/^\/.*\/$/.test(t)){var n=t.substring(1,t.length-1);return new RegExp(n).test(e)}}return t===e};var wc=function(e,t){return yc(!!gd(e),t)};var Dc=function(e,t){if("object"!==l(t)||Array.isArray(t)||t instanceof RegExp)throw new Error("Expect matcher to be an object");return Object.keys(t).every((function(r){return yc(e(r),t[r])}))};var xc=function(e,t){return e=ah(e).vNode,Dc((function(t){return e.attr(t)}),t)};function Ec(e,t){return!!t(e)}var Ac=function(e,t){return yc(ic(e),t)};var Fc=function(e,t){return yc(Mc(e),t)};var Cc=function(e,t){return e=ah(e).vNode,yc(e.props.nodeName,t)};var kc=function(e,t){return e=ah(e).vNode,Dc((function(t){return e.props[t]}),t)};var Nc=function(e,t){return yc(jc(e),t)},Rc={hasAccessibleName:wc,attributes:xc,condition:Ec,explicitRole:Ac,implicitRole:Fc,nodeName:Cc,properties:kc,semanticRole:Nc};var _c=function e(t,r){return t=ah(t).vNode,Array.isArray(r)?r.some((function(r){return e(t,r)})):"string"==typeof r?Bp(t,r):Object.keys(r).every((function(e){if(!Rc[e])throw new Error('Unknown matcher type "'.concat(e,'"'));var n=Rc[e],a=r[e];return n(t,a)}))};var Tc=function(e,t){return _c(e,t)};Tc.hasAccessibleName=wc,Tc.attributes=xc,Tc.condition=Ec,Tc.explicitRole=Ac,Tc.fromDefinition=_c,Tc.fromFunction=Dc,Tc.fromPrimative=yc,Tc.implicitRole=Fc,Tc.nodeName=Cc,Tc.properties=kc,Tc.semanticRole=Nc;var Sc=Tc;var Oc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).noMatchAccessibleName,r=void 0!==t&&t,n=nc.htmlElms[e.props.nodeName];if(!n)return{};if(!n.variant)return n;var a=n.variant,o=O(n,g);for(var i in a)if(a.hasOwnProperty(i)&&"default"!==i){for(var u=a[i],s=u.matches,l=O(u,v),c=Array.isArray(s)?s:[s],d=0;d<c.length&&r;d++)if(c[d].hasOwnProperty("hasAccessibleName"))return n;if(Sc(e,s))for(var p in l)l.hasOwnProperty(p)&&(o[p]=l[p])}for(var f in a.default)a.default.hasOwnProperty(f)&&void 0===o[f]&&(o[f]=a.default[f]);return o};var Mc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).chromium,r=e instanceof ia?e:ps(e);if(e=r.actualNode,!r)throw new ReferenceError("Cannot get implicit role of a node outside the current scope.");var n=r.props.nodeName,a=bc[n];return!a&&t?Oc(r).chromiumRole||null:"function"==typeof a?a(r):a||null},Pc={td:["tr"],th:["tr"],tr:["thead","tbody","tfoot","table"],thead:["table"],tbody:["table"],tfoot:["table"],li:["ol","ul"],dt:["dl","div"],dd:["dl","div"],div:["dl"]};function Ic(e,t){var r=Pc[e.props.nodeName];if(!r)return null;if(!e.parent){if(!e.actualNode)return null;throw new ReferenceError("Cannot determine role presentational inheritance of a required parent outside the current scope.")}if(!r.includes(e.parent.props.nodeName))return null;var n=ic(e.parent,t);return["none","presentation"].includes(n)&&!Lc(e.parent)?n:n?null:Ic(e.parent,t)}function Bc(e,t){var r=t.chromium,n=O(t,b),a=Mc(e,{chromium:r});if(!a)return null;var o=Ic(e,n);return o||a}function Lc(e){return sc().some((function(t){return e.hasAttr(t)}))||Vl(e)}var jc=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noPresentational,n=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.noImplicit,n=O(t,y),a=ah(e).vNode;if(1!==a.props.nodeType)return null;var o=ic(a,n);return o?["presentation","none"].includes(o)&&Lc(a)?r?null:Bc(a,n):o:r?null:Bc(a,n)}(e,O(t,w));return r&&["presentation","none"].includes(n)?null:n},qc=["iframe"];var zc=function(e){var t=ah(e).vNode;return 1===t.props.nodeType&&e.hasAttr("title")?!Tc(t,qc)&&["none","presentation"].includes(jc(t))?"":t.attr("title"):""};var Vc=function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).strict;if(1!==(e=e instanceof ia?e:ps(e)).props.nodeType)return!1;var r=jc(e),n=nc.ariaRoles[r];return!(!n||!n.nameFromContent)||!t&&(!n||["presentation","none"].includes(r))};var Gc=function(e){var t=e.actualNode,r=e.children;if(!r)throw new Error("getOwnedVirtual requires a virtual node");if(e.hasAttr("aria-owns")){var n=Wl(t,"aria-owns").filter((function(e){return!!e})).map((function(e){return c.utils.getNodeFromTree(e)}));return[].concat(q(r),q(n))}return q(r)},$c={accessibleNameFromFieldValue:["progressbar"]};function Hc(e){return e=ah(e).vNode,Uc(e)}var Uc=qu((function(e,t){return!Ns(e)&&!Cl(e,{skipAncestors:!0,isAncestor:t})&&(e.actualNode&&"area"===e.props.nodeName?!Os(e,Uc):!Is(e,{skipAncestors:!0,isAncestor:t})&&(!e.parent||Uc(e.parent,!0)))}));var Wc=function e(t,r,n){var a=ah(t).vNode,o=r?Hc:Hs,i=!t.actualNode||t.actualNode&&o(t),u=a.children.map((function(t){var a=t.props,o=a.nodeType,u=a.nodeValue;if(3===o){if(u&&i)return u}else if(!n)return e(t,r)})).join("");return mc(u)},Yc=["button","checkbox","color","file","hidden","image","password","radio","reset","submit"];var Kc=function(e){var t=(e=e instanceof ia?e:ps(e)).props.nodeName;return"textarea"===t||"input"===t&&!Yc.includes((e.attr("type")||"").toLowerCase())};var Xc=function(e){return"select"===(e=e instanceof ia?e:ps(e)).props.nodeName};var Zc=function(e){return"textbox"===ic(e)};var Jc=function(e){return"listbox"===ic(e)};var Qc=function(e){return"combobox"===ic(e)},ed=["progressbar","scrollbar","slider","spinbutton"];var td=function(e){var t=ic(e);return ed.includes(t)},rd=["textbox","progressbar","scrollbar","slider","spinbutton","combobox","listbox"],nd={nativeTextboxValue:function(e){var t=ah(e).vNode;if(Kc(t))return t.props.value||"";return""},nativeSelectValue:function(e){var t=ah(e).vNode;if(!Xc(t))return"";var r=Fh(t,"option"),n=r.filter((function(e){return e.props.selected}));n.length||n.push(r[0]);return n.map((function(e){return Wc(e)})).join(" ")||""},ariaTextboxValue:function(e){var t=ah(e),r=t.vNode,n=t.domNode;if(!Zc(r))return"";return!n||n&&!Is(n)?Wc(r,!0):n.textContent},ariaListboxValue:ad,ariaComboboxValue:function(e,t){var r=ah(e).vNode;if(!Qc(r))return"";var n=Gc(r).filter((function(e){return"listbox"===jc(e)}))[0];return n?ad(n,t):""},ariaRangeValue:function(e){var t=ah(e).vNode;if(!td(t)||!t.hasAttr("aria-valuenow"))return"";var r=+t.attr("aria-valuenow");return isNaN(r)?"0":String(r)}};function ad(e,t){var r=ah(e).vNode;if(!Jc(r))return"";var n=Gc(r).filter((function(e){return"option"===jc(e)&&"true"===e.attr("aria-selected")}));return 0===n.length?"":gd(n[0],t)}var od=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode,n=$c.accessibleNameFromFieldValue||[],a=jc(e);if(t.startNode===e||!rd.includes(a)||n.includes(a))return"";var o=Object.keys(nd).map((function(e){return nd[e]})).reduce((function(r,n){return r||n(e,t)}),"");return t.debug&&aa(o||"{empty-value}",r,t),o};var id=uc("phrasing").concat(["#text"]);var ud=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=gd.alreadyProcessed;t.startNode=t.startNode||e;var n=t,a=n.strict,o=n.inControlContext,i=n.inLabelledByContext,u=jc(e),s=Oc(e,{noMatchAccessibleName:!0}).contentTypes;return r(e,t)||1!==e.props.nodeType||null!=s&&s.includes("embedded")||rd.includes(u)?"":t.subtreeDescendant||t.inLabelledByContext||Vc(e,{strict:a})?(a||(t=j({subtreeDescendant:!o&&!i},t)),Gc(e).reduce((function(e,r){return function(e,t,r){var n=t.props.nodeName,a=gd(t,r);if(!a)return e;id.includes(n)||(" "!==a[0]&&(a+=" "),e&&" "!==e[e.length-1]&&(a=" "+a));return e+a}(e,r,t)}),"")):""};var sd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=gd.alreadyProcessed;if(t.inControlContext||t.inLabelledByContext||r(e,t))return"";t.startNode||(t.startNode=e);var n,a=j({inControlContext:!0},t),o=function(e){if(!e.attr("id"))return[];if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");return gs({elm:"label",attr:"for",value:e.attr("id"),context:e.actualNode})}(e),i=Kp(e,"label");return i?(n=[].concat(q(o),[i.actualNode])).sort(nh):n=o,n.map((function(e){return Yl(e,a)})).filter((function(e){return""!==e})).join(" ")},ld={submit:"Submit",image:"Submit",reset:"Reset",button:""};function cd(e,t){return t.attr(e)||""}function dd(e,t,r){var n=t.actualNode,a=[e=e.toLowerCase(),n.nodeName.toLowerCase()].join(","),o=n.querySelector(a);return o&&o.nodeName.toLowerCase()===e?Yl(o,r):""}var pd={valueText:function(e){return e.props.value||""},buttonDefaultText:function(e){return ld[e.props.type]||""},tableCaptionText:dd.bind(null,"caption"),figureText:dd.bind(null,"figcaption"),svgTitleText:dd.bind(null,"title"),fieldsetLegendText:dd.bind(null,"legend"),altText:cd.bind(null,"alt"),tableSummaryText:cd.bind(null,"summary"),titleText:zc,subtreeText:ud,labelText:sd,singleSpace:function(){return" "},placeholderText:cd.bind(null,"placeholder")};function fd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.actualNode;if(1!==e.props.nodeType||["presentation","none"].includes(jc(e)))return"";var n=function(e){var t=Oc(e,{noMatchAccessibleName:!0});return(t.namingMethods||[]).map((function(e){return pd[e]}))}(e),a=n.reduce((function(r,n){return r||n(e,t)}),"");return t.debug&&c.log(a||"{empty-value}",r,t),a}var md=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations,o=!1;return r&&(o||(o=Ba().test(e))),n&&(o||(o=/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g.test(e)||/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g.test(e)||/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g.test(e))),a&&(o||(o=/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g.test(e))),o};function hd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.15,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:3,n=e.actualNode.nodeValue.trim();if(!mc(n)||md(n,{emoji:!0,nonBmp:!0}))return!1;var a=ds.get("canvasContext",(function(){return s.createElement("canvas").getContext("2d",{willReadFrequently:!0})})),o=a.canvas,u=ds.get("fonts",(function(){return{}})),l=i.getComputedStyle(e.parent.actualNode).getPropertyValue("font-family");u[l]||(u[l]={occurrences:0,numLigatures:0});var c=u[l];if(c.occurrences>=r){if(c.numLigatures/c.occurrences==1)return!0;if(0===c.numLigatures)return!1}c.occurrences++;var d=30,p="".concat(d,"px ").concat(l);a.font=p;var f=n.charAt(0),m=a.measureText(f).width;if(0===m)return c.numLigatures++,!0;if(m<30){var h=30/m;m*=h,p="".concat(d*=h,"px ").concat(l)}o.width=m,o.height=d,a.font=p,a.textAlign="left",a.textBaseline="top",a.fillText(f,0,0);var g=new Uint32Array(a.getImageData(0,0,m,d).data.buffer);if(!g.some((function(e){return e})))return c.numLigatures++,!0;a.clearRect(0,0,m,d),a.fillText(n,0,0);var v=new Uint32Array(a.getImageData(0,0,m,d).data.buffer),b=g.reduce((function(e,t,r){return 0===t&&0===v[r]||0!==t&&0!==v[r]?e:++e}),0),y=n.split("").reduce((function(e,t){return e+a.measureText(t).width}),0),w=a.measureText(n).width;return b/g.length>=t&&1-w/y>=t&&(c.numLigatures++,!0)}function gd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(t=function(e,t){t.startNode||(t=j({startNode:e},t));1===e.props.nodeType&&t.inLabelledByContext&&void 0===t.includeHidden&&(t=j({includeHidden:!Hc(e)},t));return t}(e,t),function(e,t){if(!e)return!1;if(1!==e.props.nodeType||t.includeHidden)return!1;return!Hc(e)}(e,t))return"";if(function(e,t){var r,n=t.ignoreIconLigature,a=t.pixelThreshold,o=null!==(r=t.occurrenceThreshold)&&void 0!==r?r:t.occuranceThreshold;if(3!==e.props.nodeType||!n)return!1;return hd(e,a,o)}(e,t))return"";var r=[Kl,Xl,fd,od,ud,vd,zc].reduce((function(r,n){return t.startNode===e&&(r=mc(r)),""!==r?r:n(e,t)}),"");return t.debug&&c.log(r||"{empty-value}",e.actualNode,t),r}function vd(e){return 3!==e.props.nodeType?"":e.props.nodeValue}gd.alreadyProcessed=function(e,t){return t.processed=t.processed||[],!!t.processed.includes(e)||(t.processed.push(e),!1)};var bd=function(e,t){var r=t.emoji,n=t.nonBmp,a=t.punctuations;return r&&(e=e.replace(Ba(),"")),n&&(e=e.replace(/[\u1D00-\u1D7F\u1D80-\u1DBF\u1DC0-\u1DFF\u20A0-\u20CF\u20D0-\u20FF\u2100-\u214F\u2150-\u218F\u2190-\u21FF\u2200-\u22FF\u2300-\u23FF\u2400-\u243F\u2440-\u245F\u2460-\u24FF\u2500-\u257F\u2580-\u259F\u25A0-\u25FF\u2600-\u26FF\u2700-\u27BF\uE000-\uF8FF]/g,"").replace(/[\uDB80-\uDBBF][\uDC00-\uDFFF]/g,"").replace(/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC38]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g,"")),a&&(e=e.replace(/[\u2000-\u206F\u2E00-\u2E7F\\'!"#$%&\xa3\xa2\xa5\xa7\u20ac()*+,\-.\/:;<=>?@\[\]^_`{|}~\xb1]/g,"")),e};var yd=function(e){return function(e){return 0===mc(e).length}(e)||function(e){return 1===e.length&&e.match(/\D/)}(e)||function(e){return["aa","abc"].includes(e.toLowerCase())}(e)||function(e){var t=bd(e,{emoji:!0,nonBmp:!0,punctuations:!0});return!mc(t)}(e)?0:1},wd={stateTerms:["on","off"],standaloneTerms:["name","honorific-prefix","given-name","additional-name","family-name","honorific-suffix","nickname","username","new-password","current-password","organization-title","organization","street-address","address-line1","address-line2","address-line3","address-level4","address-level3","address-level2","address-level1","country","country-name","postal-code","cc-name","cc-given-name","cc-additional-name","cc-family-name","cc-number","cc-exp","cc-exp-month","cc-exp-year","cc-csc","cc-type","transaction-currency","transaction-amount","language","bday","bday-day","bday-month","bday-year","sex","url","photo","one-time-code"],qualifiers:["home","work","mobile","fax","pager"],qualifiedTerms:["tel","tel-country-code","tel-national","tel-area-code","tel-local","tel-local-prefix","tel-local-suffix","tel-extension","email","impp"],locations:["billing","shipping"]};var Dd=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.looseTyped,n=void 0!==r&&r,a=t.stateTerms,o=void 0===a?[]:a,i=t.locations,u=void 0===i?[]:i,s=t.qualifiers,l=void 0===s?[]:s,c=t.standaloneTerms,d=void 0===c?[]:c,p=t.qualifiedTerms,f=void 0===p?[]:p,m=t.ignoredValues,h=void 0===m?[]:m;if(e=e.toLowerCase().trim(),(o=o.concat(wd.stateTerms)).includes(e)||""===e)return!0;l=l.concat(wd.qualifiers),u=u.concat(wd.locations),d=d.concat(wd.standaloneTerms),f=f.concat(wd.qualifiedTerms);var g=e.split(/\s+/g);if("webauthn"===g[g.length-1]&&(g.pop(),0===g.length))return!1;if(!n&&(g[0].length>8&&"section-"===g[0].substr(0,8)&&g.shift(),u.includes(g[0])&&g.shift(),l.includes(g[0])&&(g.shift(),d=[]),1!==g.length))return!1;var v=g[g.length-1];return h.includes(v)?void 0:d.includes(v)||f.includes(v)};var xd=function(e){var t;return e.attr("aria-labelledby")&&(t=Wl(e.actualNode,"aria-labelledby").map((function(e){var t=ps(e);return t?Wc(t):""})).join(" ").trim())||(t=e.attr("aria-label"))&&(t=mc(t))?t:null};var Ed=function(e,t,r){return e=ps(e),Wc(e,t,r)};var Ad=function(e){var t,r;if(r=xd(e))return r;if(e.attr("id")){if(!e.actualNode)throw new TypeError("Cannot resolve explicit label reference for non-DOM nodes");var n=xa(e.attr("id"));if(r=(t=hs(e.actualNode).querySelector('label[for="'+n+'"]'))&&Ed(t,!0))return r}return(r=(t=Kp(e,"label"))&&Wc(t,!0))||null};var Fd=function(e){return e=ps(e),Ad(e)},Cd=[{matches:[{nodeName:"textarea"},{nodeName:"input",properties:{type:["text","password","search","tel","email","url"]}}],namingMethods:"labelText"},{matches:{nodeName:"input",properties:{type:["button","submit","reset"]}},namingMethods:["valueText","titleText","buttonDefaultText"]},{matches:{nodeName:"input",properties:{type:"image"}},namingMethods:["altText","valueText","labelText","titleText","buttonDefaultText"]},{matches:"button",namingMethods:"subtreeText"},{matches:"fieldset",namingMethods:"fieldsetLegendText"},{matches:"OUTPUT",namingMethods:"subtreeText"},{matches:[{nodeName:"select"},{nodeName:"input",properties:{type:/^(?!text|password|search|tel|email|url|button|submit|reset)/}}],namingMethods:"labelText"},{matches:"summary",namingMethods:"subtreeText"},{matches:"figure",namingMethods:["figureText","titleText"]},{matches:"img",namingMethods:"altText"},{matches:"table",namingMethods:["tableCaptionText","tableSummaryText"]},{matches:["hr","br"],namingMethods:["titleText","singleSpace"]}];var kd=function e(t){var r=Hs(t),n=[];return t.children.forEach((function(t){3===t.actualNode.nodeType?r&&n.push(t):n=n.concat(e(t))})),n},Nd=qu((function(e){var t=ps(e),r=t.boundingClientRect,n=[],a=Ds(t);return e.childNodes.forEach((function(e){if(3===e.nodeType&&""!==mc(e.nodeValue)){var t=function(e){var t=s.createRange();return t.selectNodeContents(e),Array.from(t.getClientRects())}(e);(function(e,t){return e.some((function(e){return!Ys(Zs(e),t)}))})(t,r)||n.push.apply(n,q(Rd(t,a)))}})),n.length?n:Rd([r],a)}));function Rd(e,t){var r=[];return e.forEach((function(e){if(!(e.width<1||e.height<1)){var n=t.reduce((function(e,t){return e&&Xs(e,t.boundingClientRect)}),e);n&&r.push(n)}})),r}var _d=function(e){var t=Dl(e);return t?Nd(e).map((function(e){return Ll(t,e)})):[]},Td=["checkbox","img","meter","progressbar","scrollbar","radio","slider","spinbutton","textbox"];var Sd=function(e){var t=ah(e).vNode,r=c.commons.aria.getExplicitRole(t);if(r)return-1!==Td.indexOf(r);switch(t.props.nodeName){case"img":case"iframe":case"object":case"video":case"audio":case"canvas":case"svg":case"math":case"button":case"select":case"textarea":case"keygen":case"progress":case"meter":return!0;case"input":return"hidden"!==t.props.type;default:return!1}},Od=["head","title","template","script","style","iframe","object","video","audio","noscript"];function Md(e){return!Od.includes(e.props.nodeName)&&e.children.some((function(e){var t=e.props;return 3===t.nodeType&&t.nodeValue.trim()}))}var Pd=function e(t,r,n){return Md(t)||Sd(t.actualNode)||!n&&!!xd(t)||!r&&t.children.some((function(t){return 1===t.actualNode.nodeType&&e(t)}))};var Id=function(e,t,r){return e=ps(e),Pd(e,t,r)};function Bd(e){return!(void 0!==e.children&&!Md(e))||(1===e.props.nodeType&&Sd(e)?!!c.commons.text.accessibleTextVirtual(e):e.children.some((function(e){return!e.attr("lang")&&Bd(e)&&!Is(e)})))}var Ld=function(e){return sh(e.getAttribute("tabindex"))>-1&&Vl(e)&&!zl(e)};function jd(e,t){var r=ah(e),n=r.vNode,a=r.domNode;return n?(void 0===n._isHiddenWithCSS&&(n._isHiddenWithCSS=qd(a,t)),n._isHiddenWithCSS):qd(a,t)}function qd(e,t){if(9===e.nodeType)return!1;if(11===e.nodeType&&(e=e.host),["STYLE","SCRIPT"].includes(e.nodeName.toUpperCase()))return!1;var r=i.getComputedStyle(e,null);if(!r)throw new Error("Style does not exist for the given element.");if("none"===r.getPropertyValue("display"))return!0;var n=["hidden","collapse"],a=r.getPropertyValue("visibility");if(n.includes(a)&&!t)return!0;if(n.includes(a)&&t&&n.includes(t))return!0;var o=js(e);return!(!o||n.includes(a))&&jd(o,a)}var zd=jd;var Vd=function(e){var t=e.doctype;return null!==t&&("html"===t.name&&!t.publicId&&!t.systemId)};var Gd=function(e){var t;(e instanceof ia||null!==(t=i)&&void 0!==t&&t.Node&&e instanceof i.Node)&&(e=c.commons.aria.getRole(e));var r=nc.ariaRoles[e];return(null==r?void 0:r.type)||null};function $d(e,t){!1!==t(e.actualNode)&&e.children.forEach((function(e){return $d(e,t)}))}var Hd=["block","list-item","table","flex","grid","inline-block"];function Ud(e){var t=i.getComputedStyle(e).getPropertyValue("display");return Hd.includes(t)||"table-"===t.substr(0,6)}var Wd=function(e,t){if(Ud(e))return!1;var r=function(e){for(var t=js(e);t&&!Ud(t);)t=js(t);return ps(t)}(e),n="",a="",o=0;return $d(r,(function(t){if(2===o)return!1;if(3===t.nodeType&&(n+=t.nodeValue),1===t.nodeType){var r=(t.nodeName||"").toUpperCase();if(t===e&&(o=1),["BR","HR"].includes(r))0===o?(n="",a=""):o=2;else{if("none"===t.style.display||"hidden"===t.style.overflow||!["",null,"none"].includes(t.style.float)||!["",null,"relative"].includes(t.style.position))return!1;if("widget"===Gd(t))return a+=t.textContent,!1}}})),n=mc(n),null!=t&&t.noLengthCompare?0!==n.length:(a=mc(a),n.length>a.length)};var Yd=function(e){var t=(e=e||{}).modalPercent||.75;if(ds.get("isModalOpen"))return ds.get("isModalOpen");if(mh(c._tree[0],"dialog, [role=dialog], [aria-modal=true]",Hs).length)return ds.set("isModalOpen",!0),!0;for(var r,n=Vs(i),a=n.width*t,o=n.height*t,u=(n.width-a)/2,l=(n.height-o)/2,d=[{x:u,y:l},{x:n.width-u,y:l},{x:n.width/2,y:n.height/2},{x:u,y:n.height-l},{x:n.width-u,y:n.height-l}].map((function(e){return Array.from(s.elementsFromPoint(e.x,e.y))})),p=function(){var e=d[f].find((function(e){var t=i.getComputedStyle(e);return parseInt(t.width,10)>=a&&parseInt(t.height,10)>=o&&"none"!==t.getPropertyValue("pointer-events")&&("absolute"===t.position||"fixed"===t.position)}));if(e&&d.every((function(t){return t.includes(e)})))return ds.set("isModalOpen",!0),{v:!0}},f=0;f<d.length;f++)if(r=p())return r.v;ds.set("isModalOpen",void 0)};function Kd(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,r=e.ownerDocument.createRange();r.setStart(e,0),r.setEnd(e,e.childNodes.length);var n,a=0,o=0,i=te(r.getClientRects());try{for(i.s();!(n=i.n()).done;){var u=n.value;if(!(u.height<=t))if(a>u.top+t)a=Math.max(a,u.bottom);else{if(0!==o)return!0;a=u.bottom,o++}}}catch(e){i.e(e)}finally{i.f()}return!1}var Xd=function(e){return e instanceof i.Node},Zd="color.incompleteData",Jd={set:function(e,t){if("string"!=typeof e)throw new Error("Incomplete data: key must be a string");var r=ds.get(Zd,(function(){return{}}));return t&&(r[e]=t),r[e]},get:function(e){var t=ds.get(Zd);return null==t?void 0:t[e]},clear:function(){ds.set(Zd,{})}},Qd=Jd;var ep=function(e,t){var r=e.nodeName.toUpperCase();if(["IMG","CANVAS","OBJECT","IFRAME","VIDEO","SVG"].includes(r))return Qd.set("bgColor","imgNode"),!0;var n=(t=t||i.getComputedStyle(e)).getPropertyValue("background-image"),a="none"!==n;if(a){var o=/gradient/.test(n);Qd.set("bgColor",o?"bgGradient":"bgImage")}return a},tp=/^#[0-9a-f]{3,8}$/i,rp=/hsl\(\s*([-\d.]+)(rad|turn)/,np=(I=new WeakMap,L=new WeakMap,$=new WeakMap,J=new WeakMap,ee=new WeakMap,ae=new WeakMap,oe=new WeakSet,Q((function e(t,r,n){var a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(Z(this,e),G(this,oe),V(this,I,void 0),V(this,L,void 0),V(this,$,void 0),V(this,J,void 0),V(this,ee,void 0),V(this,ae,void 0),t instanceof np){var o=t.r,i=t.g,u=t.b;return this.r=o,this.g=i,this.b=u,void(this.alpha=t.alpha)}this.red=t,this.green=r,this.blue=n,this.alpha=a}),[{key:"r",get:function(){return H(I,this)},set:function(e){U(I,this,e),U(J,this,Math.round(255*ip(e,0,1)))}},{key:"g",get:function(){return H(L,this)},set:function(e){U(L,this,e),U(ee,this,Math.round(255*ip(e,0,1)))}},{key:"b",get:function(){return H($,this)},set:function(e){U($,this,e),U(ae,this,Math.round(255*ip(e,0,1)))}},{key:"red",get:function(){return H(J,this)},set:function(e){U(I,this,e/255),U(J,this,ip(e,0,255))}},{key:"green",get:function(){return H(ee,this)},set:function(e){U(L,this,e/255),U(ee,this,ip(e,0,255))}},{key:"blue",get:function(){return H(ae,this)},set:function(e){U($,this,e/255),U(ae,this,ip(e,0,255))}},{key:"toHexString",value:function(){var e=Math.round(this.red).toString(16),t=Math.round(this.green).toString(16),r=Math.round(this.blue).toString(16);return"#"+(this.red>15.5?e:"0"+e)+(this.green>15.5?t:"0"+t)+(this.blue>15.5?r:"0"+r)}},{key:"toJSON",value:function(){return{red:this.red,green:this.green,blue:this.blue,alpha:this.alpha}}},{key:"parseString",value:function(e){e=e.replace(rp,(function(e,t,r){var n=t+r;switch(r){case"rad":return e.replace(n,180*t/Math.PI);case"turn":return e.replace(n,360*t)}}));try{var t;"Prototype"in i&&"Version"in i.Prototype&&(t=Array.from,Array.from=ju.default);var r=new Ou(e).toGamut({space:"srgb",method:"clip"}).to("srgb");t&&(Array.from=t,t=null),this.r=r.r,this.g=r.g,this.b=r.b,this.alpha=+r.alpha}catch(t){throw Qd.set("colorParse",e),new Error('Unable to parse color "'.concat(e,'"'))}return this}},{key:"parseRgbString",value:function(e){this.parseString(e)}},{key:"parseHexString",value:function(e){e.match(tp)&&![6,8].includes(e.length)&&this.parseString(e)}},{key:"parseColorFnString",value:function(e){this.parseString(e)}},{key:"getRelativeLuminance",value:function(){var e=this.r,t=this.g,r=this.b;return.2126*(e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4))+.7152*(t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4))+.0722*(r<=.04045?r/12.92:Math.pow((r+.055)/1.055,2.4))}},{key:"getLuminosity",value:function(){return.3*this.r+.59*this.g+.11*this.b}},{key:"setLuminosity",value:function(e){var t=e-this.getLuminosity();return W(oe,this,ap).call(this,t).clip()}},{key:"getSaturation",value:function(){return Math.max(this.r,this.g,this.b)-Math.min(this.r,this.g,this.b)}},{key:"setSaturation",value:function(e){var t=new np(this),r=Y([{name:"r",value:t.r},{name:"g",value:t.g},{name:"b",value:t.b}].sort((function(e,t){return e.value-t.value})),3),n=r[0],a=r[1],o=r[2];return o.value>n.value?(a.value=(a.value-n.value)*e/(o.value-n.value),o.value=e):a.value=o.value=0,n.value=0,t[o.name]=o.value,t[n.name]=n.value,t[a.name]=a.value,t}},{key:"clip",value:function(){var e=new np(this),t=e.getLuminosity(),r=Math.min(e.r,e.g,e.b),n=Math.max(e.r,e.g,e.b);return r<0&&(e.r=t+(e.r-t)*t/(t-r),e.g=t+(e.g-t)*t/(t-r),e.b=t+(e.b-t)*t/(t-r)),n>1&&(e.r=t+(e.r-t)*(1-t)/(n-t),e.g=t+(e.g-t)*(1-t)/(n-t),e.b=t+(e.b-t)*(1-t)/(n-t)),e}}]));function ap(e){var t=new np(this);return t.r+=e,t.g+=e,t.b+=e,t}var op=np;function ip(e,t,r){return Math.min(Math.max(t,e),r)}var up=function(e){var t=new op;if(t.parseString(e.getPropertyValue("background-color")),0!==t.alpha){var r=e.getPropertyValue("opacity");t.alpha=t.alpha*r}return t};var sp=function(e){var t=i.getComputedStyle(e);return ep(e,t)||1===up(t).alpha};function lp(e){if(!e.href)return!1;var t=ds.get("firstPageLink",cp);return!t||e.compareDocumentPosition(t.actualNode)===e.DOCUMENT_POSITION_FOLLOWING}function cp(){return(i.location.origin?Fh(c._tree,'a[href]:not([href^="javascript:"])').find((function(e){return!Ol(e.actualNode)})):Fh(c._tree,'a:not([href^="#"]):not([href^="/#"]):not([href^="javascript:"])')[0])||null}var dp=/rect\s*\(([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px,?\s*([0-9]+)px\s*\)/,pp=/(\w+)\((\d+)/;function fp(e,t,r){var n;if(!e)throw new TypeError("Cannot determine if element is visible for non-DOM nodes");var a=e instanceof ia?e:ps(e);e=a?a.actualNode:e;var o="_isVisible"+(t?"ScreenReader":""),u=null!==(n=i.Node)&&void 0!==n?n:{},s=u.DOCUMENT_NODE,l=u.DOCUMENT_FRAGMENT_NODE,d=a?a.props.nodeType:e.nodeType,p=a?a.props.nodeName:e.nodeName.toLowerCase();if(a&&void 0!==a[o])return a[o];if(d===s)return!0;if(["style","script","noscript","template"].includes(p))return!1;if((e&&d===l&&(e=e.host),t)&&"true"===(a?a.attr("aria-hidden"):e.getAttribute("aria-hidden")))return!1;if(!e){var f=a.parent,m=!0;return f&&(m=fp(f,t,!0)),a&&(a[o]=m),m}var h=i.getComputedStyle(e,null);if(null===h)return!1;if("area"===p)return function(e,t,r){var n=bs(e,"map");if(!n)return!1;var a=n.getAttribute("name");if(!a)return!1;var o=hs(e);if(!o||9!==o.nodeType)return!1;var i=Fh(c._tree,'img[usemap="#'.concat(xa(a),'"]'));return!(!i||!i.length)&&i.some((function(e){return fp(e.actualNode,t,r)}))}(e,t,r);if("none"===h.getPropertyValue("display"))return!1;var g=parseInt(h.getPropertyValue("height")),v=parseInt(h.getPropertyValue("width")),b=Lm(e),y=b&&0===g,w=b&&0===v,D="absolute"===h.getPropertyValue("position")&&(g<2||v<2)&&"hidden"===h.getPropertyValue("overflow");if(!t&&(function(e){var t=e.getPropertyValue("clip").match(dp),r=e.getPropertyValue("clip-path").match(pp);if(t&&5===t.length){var n=e.getPropertyValue("position");if(["fixed","absolute"].includes(n))return t[3]-t[1]<=0&&t[2]-t[4]<=0}if(r){var a=r[1],o=parseInt(r[2],10);switch(a){case"inset":return o>=50;case"circle":return 0===o}}return!1}(h)||"0"===h.getPropertyValue("opacity")||y||w||D))return!1;if(!r&&("hidden"===h.getPropertyValue("visibility")||!t&&Gs(e)))return!1;var x=e.assignedSlot?e.assignedSlot:e.parentNode,E=!1;return x&&(E=fp(x,t,!0)),a&&(a[o]=E),E}var mp=fp;var hp=function(e,t){for(var r=["fixed","sticky"],n=[],a=!1,o=0;o<e.length;++o){var u=e[o];u===t&&(a=!0);var s=i.getComputedStyle(u);a||-1===r.indexOf(s.position)?n.push(u):n=[]}return n};function gp(e,t){var r=vp(t);do{var n=vp(e);if(n===r||n===t)return bp(e,t);e=n}while(e);return!1}function vp(e){for(var t=ps(e).parent;t;){if(Lm(t.actualNode))return t.actualNode;t=t.parent}}function bp(e,t){var r=i.getComputedStyle(t),n=r.getPropertyValue("overflow");if("inline"===r.getPropertyValue("display"))return!0;var a=Array.from(e.getClientRects()),o=t.getBoundingClientRect(),u={left:o.left,top:o.top,width:o.width,height:o.height};return(["scroll","auto"].includes(n)||t instanceof i.HTMLHtmlElement)&&(u.width=t.scrollWidth,u.height=t.scrollHeight),1===a.length&&"hidden"===n&&"nowrap"===r.getPropertyValue("white-space")&&(a[0]=u),a.some((function(e){return!(Math.ceil(e.left)<Math.floor(u.left)||Math.ceil(e.top)<Math.floor(u.top)||Math.floor(e.left+e.width)>Math.ceil(u.left+u.width)||Math.floor(e.top+e.height)>Math.ceil(u.top+u.height))}))}var yp=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(a>999)throw new Error("Infinite loop detected");return Array.from(n.elementsFromPoint(t,r)||[]).filter((function(e){return hs(e)===n})).reduce((function(n,o){if(Jf(o)){var i=e(t,r,o.shadowRoot,a+1);(n=n.concat(i)).length&&gp(n[0],o)&&n.push(o)}else n.push(o);return n}),[])};function wp(e){var t={};if(!e||!e.length)return t;var r=e.substring(1).split("&");if(!r||!r.length)return t;for(var n=0;n<r.length;n++){var a=Y(r[n].split("="),2),o=a[0],i=a[1],u=void 0===i?"":i;t[decodeURIComponent(o)]=decodeURIComponent(u)}return t}function Dp(e){if(!e)return"";var t=e.match(/#!?\/?/g);return t?"#"===Y(t,1)[0]?"":e:""}var xp=function(e,t){if(e.hasAttribute(t)){var r=e.nodeName.toUpperCase(),n=e;["A","AREA"].includes(r)&&!e.ownerSVGElement||((n=s.createElement("a")).href=e.getAttribute(t));var a,o=["https:","ftps:"].includes(n.protocol)?n.protocol.replace(/s:$/,":"):n.protocol,i=function(e){var t=e.split("/").pop();if(!t||-1===t.indexOf("."))return{pathname:e,filename:""};return{pathname:e.replace(t,""),filename:/index./.test(t)?"":t}}(/^\//.test(n.pathname)?n.pathname:"/".concat(n.pathname)),u=i.pathname,l=i.filename;return{protocol:o,hostname:n.hostname,port:(a=n.port,["443","80"].includes(a)?"":a),pathname:/\/$/.test(u)?u:"".concat(u,"/"),search:wp(n.search),hash:Dp(n.hash),filename:l}}};var Ep=function(e,t){var r=t.getBoundingClientRect(),n=r.top,a=r.left,o=n-t.scrollTop,u=n-t.scrollTop+t.scrollHeight,s=a-t.scrollLeft,l=a-t.scrollLeft+t.scrollWidth;if(e.left>l&&e.left>r.right||e.top>u&&e.top>r.bottom||e.right<s&&e.right<r.left||e.bottom<o&&e.bottom<r.top)return!1;var c=i.getComputedStyle(t);return!(e.left>r.right||e.top>r.bottom)||("scroll"===c.overflow||"auto"===c.overflow||t instanceof i.HTMLBodyElement||t instanceof i.HTMLHtmlElement)},Ap=0,Fp=function(e){function t(e,r,n){var a;if(Z(this,t),(a=M(this,t)).shadowId=n,a.children=[],a.actualNode=e,a.parent=r,r||(Ap=0),a.nodeIndex=Ap++,a._isHidden=null,a._cache={},a._isXHTML=zu(e.ownerDocument),"input"===e.nodeName.toLowerCase()){var o=e.getAttribute("type");o=a._isXHTML?o:(o||"").toLowerCase(),qh().includes(o)||(o="text"),a._type=o}return ds.get("nodeMap")&&ds.get("nodeMap").set(e,a),a}return B(t,e),Q(t,[{key:"props",get:function(){if(!this._cache.hasOwnProperty("props")){var e=this.actualNode,t=e.nodeType,r=e.nodeName,n=e.id,a=e.nodeValue;this._cache.props={nodeType:t,nodeName:this._isXHTML?r:r.toLowerCase(),id:n,type:this._type,nodeValue:a},1===t&&(this._cache.props.multiple=this.actualNode.multiple,this._cache.props.value=this.actualNode.value,this._cache.props.selected=this.actualNode.selected,this._cache.props.checked=this.actualNode.checked,this._cache.props.indeterminate=this.actualNode.indeterminate)}return this._cache.props}},{key:"attr",value:function(e){return"function"!=typeof this.actualNode.getAttribute?null:this.actualNode.getAttribute(e)}},{key:"hasAttr",value:function(e){return"function"==typeof this.actualNode.hasAttribute&&this.actualNode.hasAttribute(e)}},{key:"attrNames",get:function(){var e;this._cache.hasOwnProperty("attrNames")||(e=this.actualNode.attributes instanceof i.NamedNodeMap?this.actualNode.attributes:this.actualNode.cloneNode(!1).attributes,this._cache.attrNames=Array.from(e).map((function(e){return e.name})));return this._cache.attrNames}},{key:"getComputedStylePropertyValue",value:function(e){var t="computedStyle_"+e;return this._cache.hasOwnProperty(t)||(this._cache.hasOwnProperty("computedStyle")||(this._cache.computedStyle=i.getComputedStyle(this.actualNode)),this._cache[t]=this._cache.computedStyle.getPropertyValue(e)),this._cache[t]}},{key:"isFocusable",get:function(){return this._cache.hasOwnProperty("isFocusable")||(this._cache.isFocusable=Vl(this.actualNode)),this._cache.isFocusable}},{key:"tabbableElements",get:function(){return this._cache.hasOwnProperty("tabbableElements")||(this._cache.tabbableElements=ql(this)),this._cache.tabbableElements}},{key:"clientRects",get:function(){return this._cache.hasOwnProperty("clientRects")||(this._cache.clientRects=Array.from(this.actualNode.getClientRects()).filter((function(e){return e.width>0}))),this._cache.clientRects}},{key:"boundingClientRect",get:function(){return this._cache.hasOwnProperty("boundingClientRect")||(this._cache.boundingClientRect=this.actualNode.getBoundingClientRect()),this._cache.boundingClientRect}}])}(ia),Cp=Fp,kp="DqElm.RunOptions";function Np(e){var t=e.outerHTML;return t||"function"!=typeof i.XMLSerializer||(t=(new i.XMLSerializer).serializeToString(e)),t||""}function Rp(e){return e?function(e){var t=300,r=Np(e),n=ps(e);n||(n=new Cp(e));var a=n.props.nodeName;if(r.length<t)return r;var o=[],i=e.cloneNode(!1),u=ka(i),s=Np(i);if(s.length<t){var l,c="",d=te(u);try{for(d.s();!(l=d.n()).done;){var p=l.value,f={name:p.name,value:p.value};c+=" ".concat(f.name,'="').concat(f.value,'"')}}catch(e){d.e(e)}finally{d.f()}return"<".concat(a).concat(c,">")}var m,h="<".concat(a,">").length,g=te(u);try{for(g.s();!(m=g.n()).done;){var v=m.value,b=v.name,y=v.value;if(h>t)break;var w={name:b,value:y},D=w.name,x=w.value;D=D.length>20?D.substring(0,20)+"...":D,x=x.length>20?x.substring(0,20)+"...":x;var E="".concat(D,'="').concat(x,'"');h+=(" "+E).length,o.push(E)}}catch(e){g.e(e)}finally{g.f()}return(s="<".concat(a," ").concat(o.join(" "),">")).length>t?s=s.substring(0,t)+" ...>":o.length<u.length&&(s=s.substring(0,s.length-1)+" ...>"),s}(e):""}var _p=qu((function(e,t,r){var n,a,o,i;(null!=t||(t=null),null!=r||(r={}),t)||(t=null!==(o=ds.get(kp))&&void 0!==o?o:{});(this.spec=r,e instanceof ia?(this._virtualNode=e,this._element=e.actualNode):(this._element=e,this._virtualNode=ps(e)),this.fromFrame=(null===(n=this.spec.selector)||void 0===n?void 0:n.length)>1,this._includeElementInJson=t.elementRef,t.absolutePaths&&(this._options={toRoot:!0}),this.nodeIndexes=[],Array.isArray(this.spec.nodeIndexes)?this.nodeIndexes=this.spec.nodeIndexes:"number"==typeof(null===(a=this._virtualNode)||void 0===a?void 0:a.nodeIndex)&&(this.nodeIndexes=[this._virtualNode.nodeIndex]),this.source=null,c._audit.noHtml)||(this.source=null!==(i=this.spec.source)&&void 0!==i?i:Rp(this._element));return this}));_p.prototype={get selector(){return this.spec.selector||[ns(this.element,this._options)]},get ancestry(){return this.spec.ancestry||[is(this.element)]},get xpath(){return this.spec.xpath||[ss(this.element)]},get element(){return this._element},toJSON:function(){var e={selector:this.selector,source:this.source,xpath:this.xpath,ancestry:this.ancestry,nodeIndexes:this.nodeIndexes,fromFrame:this.fromFrame};return this._includeElementInJson&&(e.element=this._element),e}},_p.fromFrame=function(e,t,r){var n=_p.mergeSpecs(e,r);return new _p(r.element,t,n)},_p.mergeSpecs=function(e,t){return j({},e,{selector:[].concat(q(t.selector),q(e.selector)),ancestry:[].concat(q(t.ancestry),q(e.ancestry)),xpath:[].concat(q(t.xpath),q(e.xpath)),nodeIndexes:[].concat(q(t.nodeIndexes),q(e.nodeIndexes)),fromFrame:!0})},_p.setRunOptions=function(e){var t=e.elementRef,r=e.absolutePaths;ds.set(kp,{elementRef:t,absolutePaths:r})};var Tp=_p;var Sp=function(e,t,r,n){return{isAsync:!1,async:function(){return this.isAsync=!0,function(t){t instanceof Error==!1?(e.result=t,r(e)):n(t)}},data:function(t){e.data=t},relatedNodes:function(t){i.Node&&(t=t instanceof i.Node||t instanceof ia?[t]:Da(t),e.relatedNodes=[],t.forEach((function(t){if(t instanceof ia&&(t=t.actualNode),t instanceof i.Node){var r=new Tp(t);e.relatedNodes.push(r)}})))}}};function Op(e){return Mp(e,new Map)}function Mp(e,t){var r,n;if(null===e||"object"!==l(e))return e;if(null!==(r=i)&&void 0!==r&&r.Node&&e instanceof i.Node||null!==(n=i)&&void 0!==n&&n.HTMLCollection&&e instanceof i.HTMLCollection||"nodeName"in e&&"nodeType"in e&&"ownerDocument"in e)return e;if(t.has(e))return t.get(e);if(Array.isArray(e)){var a=[];return t.set(e,a),e.forEach((function(e){a.push(Mp(e,t))})),a}var o={};for(var u in t.set(e,o),e)o[u]=Mp(e[u],t);return o}var Pp=new Pa.CssSelectorParser;Pp.registerSelectorPseudos("not"),Pp.registerSelectorPseudos("is"),Pp.registerNestingOperators(">"),Pp.registerAttrEqualityMods("^","$","*","~");var Ip=Pp;function Bp(e,t){return Up(t).some((function(t){return Yp(e,t)}))}function Lp(e,t){return function(e,t){return 1===e.props.nodeType&&("*"===t.tag||e.props.nodeName===t.tag)}(e,t)&&function(e,t){return!t.classes||t.classes.every((function(t){return e.hasClass(t.value)}))}(e,t)&&function(e,t){return!t.attributes||t.attributes.every((function(t){var r=e.attr(t.key);return null!==r&&t.test(r)}))}(e,t)&&function(e,t){return!t.id||e.props.id===t.id}(e,t)&&(r=e,!((n=t).pseudos&&!n.pseudos.every((function(e){if("not"===e.name)return!e.expressions.some((function(e){return Yp(r,e)}));if("is"===e.name)return e.expressions.some((function(e){return Yp(r,e)}));throw new Error("the pseudo selector "+e.name+" has not yet been implemented")}))));var r,n}var jp,qp=(jp=/(?=[\-\[\]{}()*+?.\\\^$|,#\s])/g,function(e){return e.replace(jp,"\\")}),zp=/\\/g;function Vp(e){if(e)return e.map((function(e){var t,r,n=e.name.replace(zp,""),a=(e.value||"").replace(zp,"");switch(e.operator){case"^=":r=new RegExp("^"+qp(a));break;case"$=":r=new RegExp(qp(a)+"$");break;case"~=":r=new RegExp("(^|\\s)"+qp(a)+"(\\s|$)");break;case"|=":r=new RegExp("^"+qp(a)+"(-|$)");break;case"=":t=function(e){return a===e};break;case"*=":t=function(e){return e&&e.includes(a)};break;case"!=":t=function(e){return a!==e};break;default:t=function(e){return null!==e}}return""===a&&/^[*$^]=$/.test(e.operator)&&(t=function(){return!1}),t||(t=function(e){return e&&r.test(e)}),{key:n,value:a,type:void 0===e.value?"attrExist":"attrValue",test:t}}))}function Gp(e){if(e)return e.map((function(e){return{value:e=e.replace(zp,""),regexp:new RegExp("(^|\\s)"+qp(e)+"(\\s|$)")}}))}function $p(e){if(e)return e.map((function(e){var t;return["is","not"].includes(e.name)&&(t=Hp(t=(t=e.value).selectors?t.selectors:[t])),{name:e.name,expressions:t,value:e.value}}))}function Hp(e){return e.map((function(e){for(var t=[],r=e.rule;r;)t.push({tag:r.tagName?r.tagName.toLowerCase():"*",combinator:r.nestingOperator?r.nestingOperator:" ",id:r.id,attributes:Vp(r.attrs),classes:Gp(r.classNames),pseudos:$p(r.pseudos)}),r=r.rule;return t}))}function Up(e){var t=Ip.parse(e);return Hp(t=t.selectors?t.selectors:[t])}function Wp(e,t,r,n){if(!e)return!1;for(var a=Array.isArray(t)?t[r]:t,o=Lp(e,a);!o&&n&&e.parent;)o=Lp(e=e.parent,a);if(r>0){if(!1===[" ",">"].includes(a.combinator))throw new Error("axe.utils.matchesExpression does not support the combinator: "+a.combinator);o=o&&Wp(e.parent,t,r-1," "===a.combinator)}return o}function Yp(e,t,r){return Wp(e,t,t.length-1,r)}var Kp=function(e,t){for(;e;){if(Bp(e,t))return e;if(void 0===e.parent)throw new TypeError("Cannot resolve parent for non-DOM nodes");e=e.parent}return null};function Xp(){}function Zp(e){if("function"!=typeof e)throw new TypeError("Queue methods require functions as arguments")}var Jp,Qp,ef=function(){var e,t=[],r=0,n=0,a=Xp,o=!1,i=function(t){e=t,setTimeout((function(){null!=e&&aa("Uncaught error (of queue)",e)}),1)},u=i;function s(e){return function(r){t[e]=r,(n-=1)||a===Xp||(o=!0,a(t))}}function c(e){return a=Xp,u(e),t}var d={defer:function(a){if("object"===l(a)&&a.then&&a.catch){var i=a;a=function(e,t){i.then(e).catch(t)}}if(Zp(a),void 0===e){if(o)throw new Error("Queue already completed");return t.push(a),++n,function(){for(var e=t.length;r<e;r++){var n=t[r];try{n.call(null,s(r),c)}catch(e){c(e)}}}(),d}},then:function(r){if(Zp(r),a!==Xp)throw new Error("queue `then` already set");return e||(a=r,n||(o=!0,a(t))),d},catch:function(t){if(Zp(t),u!==i)throw new Error("queue `catch` already set");return e?(t(e),e=null):u=t,d},abort:c};return d},tf=i.crypto||i.msCrypto;if(!Qp&&tf&&tf.getRandomValues){var rf=new Uint8Array(16);Qp=function(){return tf.getRandomValues(rf),rf}}if(!Qp){var nf=new Array(16);Qp=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),nf[t]=e>>>((3&t)<<3)&255;return nf}}for(var af="function"==typeof i.Buffer?i.Buffer:Array,of=[],uf={},sf=0;sf<256;sf++)of[sf]=(sf+256).toString(16).substr(1),uf[of[sf]]=sf;function lf(e,t){var r=t||0,n=of;return n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+"-"+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]+n[e[r++]]}var cf=Qp(),df=[1|cf[0],cf[1],cf[2],cf[3],cf[4],cf[5]],pf=16383&(cf[6]<<8|cf[7]),ff=0,mf=0;function hf(e,t,r){var n=t&&r||0,a=t||[],o=null!=(e=e||{}).clockseq?e.clockseq:pf,i=null!=e.msecs?e.msecs:(new Date).getTime(),u=null!=e.nsecs?e.nsecs:mf+1,s=i-ff+(u-mf)/1e4;if(s<0&&null==e.clockseq&&(o=o+1&16383),(s<0||i>ff)&&null==e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");ff=i,mf=u,pf=o;var l=(1e4*(268435455&(i+=122192928e5))+u)%4294967296;a[n++]=l>>>24&255,a[n++]=l>>>16&255,a[n++]=l>>>8&255,a[n++]=255&l;var c=i/4294967296*1e4&268435455;a[n++]=c>>>8&255,a[n++]=255&c,a[n++]=c>>>24&15|16,a[n++]=c>>>16&255,a[n++]=o>>>8|128,a[n++]=255&o;for(var d=e.node||df,p=0;p<6;p++)a[n+p]=d[p];return t||lf(a)}function gf(e,t,r){var n=t&&r||0;"string"==typeof e&&(t="binary"==e?new af(16):null,e=null);var a=(e=e||{}).random||(e.rng||Qp)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t)for(var o=0;o<16;o++)t[n+o]=a[o];return t||lf(a)}(Jp=gf).v1=hf,Jp.v4=gf,Jp.parse=function(e,t,r){var n=t&&r||0,a=0;for(t=t||[],e.toLowerCase().replace(/[0-9a-f]{2}/g,(function(e){a<16&&(t[n+a++]=uf[e])}));a<16;)t[n+a++]=0;return t},Jp.unparse=lf,Jp.BufferClass=af,c._uuid=hf();var vf=gf,bf=Object.freeze(["EvalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError"]);function yf(e){var t;try{t=JSON.parse(e)}catch(e){return}if(null!==(r=t)&&"object"===l(r)&&"string"==typeof r.channelId&&r.source===wf()){var r,n=t,a=n.topic,o=n.channelId,u=n.messageId,s=n.keepalive;return{topic:a,message:"object"===l(t.error)?function(e){var t=e.message||"Unknown error occurred",r=bf.includes(e.name)?e.name:"Error",n=i[r]||Error;e.stack&&(t+="\n"+e.stack.replace(e.message,""));return new n(t)}(t.error):t.payload,messageId:u,channelId:o,keepalive:!!s}}}function wf(){var e="axeAPI",t="";return void 0!==c&&c._audit&&c._audit.application&&(e=c._audit.application),void 0!==c&&(t=c.version),e+"."+t}function Df(e){Ef(e),wa(i.parent===e,"Source of the response must be the parent window.")}function xf(e){Ef(e),wa(e.parent===i,"Respondable target must be a frame in the current window")}function Ef(e){wa(i!==e,"Messages can not be sent to the same window.")}var Af={};var Ff=[];function Cf(){var e="".concat(gf(),":").concat(gf());return Ff.includes(e)?Cf():(Ff.push(e),e)}function kf(e,t,r,n){if(r?Df(e):xf(e),t.message instanceof Error&&!r)return c.log(t.message),!1;var a=function(e){var t=e.topic,r=e.channelId,n=e.message,a={channelId:r,topic:t,messageId:e.messageId,keepalive:!!e.keepalive,source:wf()};return n instanceof Error?a.error={name:n.name,message:n.message,stack:n.stack}:a.payload=n,JSON.stringify(a)}(j({messageId:Cf()},t)),o=c._audit.allowedOrigins;return!(!o||!o.length)&&("function"==typeof n&&function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];wa(!Af[e],"A replyHandler already exists for this message channel."),Af[e]={replyHandler:t,sendToParent:r}}(t.channelId,n,r),o.forEach((function(t){try{e.postMessage(a,t)}catch(r){if(r instanceof e.DOMException)throw new Error('allowedOrigins value "'.concat(t,'" is not a valid origin'));throw r}})),!0)}function Nf(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];return function(n,a,o){kf(e,{channelId:t,message:n,keepalive:a},r,o)}}function Rf(e,t){var r,n=e.origin,a=e.data,o=e.source;try{var u=yf(a)||{},s=u.channelId,l=u.message,d=u.messageId;if(!function(e){var t=c._audit.allowedOrigins;return t&&t.includes("*")||t.includes(e)}(n)||(r=d,Ff.includes(r)||(Ff.push(r),0)))return;if(l instanceof Error&&o.parent!==i)return c.log(l),!1;try{if(u.topic){var p=Nf(o,s);Df(o),t(u,p)}else!function(e,t){var r=t.channelId,n=t.message,a=t.keepalive,o=function(e){return Af[e]}(r)||{},i=o.replyHandler,u=o.sendToParent;if(!i)return;u?Df(e):xf(e);var s=Nf(e,r,u);!a&&r&&function(e){delete Af[e]}(r);try{i(n,a,s)}catch(e){c.log(e),s(e,a)}}(o,u)}catch(e){!function(e,t,r){if(!e.parent!==i)return c.log(t);try{kf(e,{topic:null,channelId:r,message:t,messageId:Cf(),keepalive:!0},!0)}catch(e){return c.log(e)}}(o,e,s)}}catch(e){return c.log(e),!1}}var _f,Tf,Sf={open:function(e){if("function"==typeof i.addEventListener){var t=function(t){Rf(t,e)};return i.addEventListener("message",t,!1),function(){i.removeEventListener("message",t,!1)}}},post:function(e,t,r){return"function"==typeof i.addEventListener&&kf(e,t,!1,r)}};function Of(e){e.updateMessenger(Sf)}var Mf={};function Pf(e,t,r,n,a){var o={topic:t,message:r,channelId:"".concat(gf(),":").concat(gf()),keepalive:n};return Tf(e,o,a)}function If(e,t){var r=e.topic,n=e.message,a=e.keepalive,o=Mf[r];if(o)try{o(n,a,t)}catch(e){c.log(e),t(e,a)}}function Bf(e,t,r,n){var a,o,i=e.contentWindow,u=null!==(a=null===(o=t.options)||void 0===o?void 0:o.pingWaitTime)&&void 0!==a?a:500;if(!i)return aa("Frame does not have a content window",e),void r(null);if(0!==u){var s=setTimeout((function(){s=setTimeout((function(){t.debug?n(jf("No response from frame",e)):r(null)}),0)}),u);Pf(i,"axe.ping",null,void 0,(function(){clearTimeout(s),Lf(e,t,r,n)}))}else Lf(e,t,r,n)}function Lf(e,t,r,n){var a,o,i=null!==(a=null===(o=t.options)||void 0===o?void 0:o.frameWaitTime)&&void 0!==a?a:6e4,u=e.contentWindow,s=setTimeout((function(){n(jf("Axe in frame timed out",e))}),i);Pf(u,"axe.start",t,void 0,(function(e){clearTimeout(s),e instanceof Error==!1?r(e):n(e)}))}function jf(e,t){var r;return c._tree&&(r=ns(t)),new Error(e+": "+(r||t))}Pf.updateMessenger=function(e){var t=e.open,r=e.post;wa("function"==typeof t,"open callback must be a function"),wa("function"==typeof r,"post callback must be a function"),_f&&_f();var n=t(If);n?(wa("function"==typeof n,"open callback must return a cleanup function"),_f=n):_f=null,Tf=r},Pf.subscribe=function(e,t){wa("function"==typeof t,"Subscriber callback must be a function"),wa(!Mf[e],"Topic ".concat(e," is already registered to.")),Mf[e]=t},Pf.isInFrame=function(){return!!(arguments.length>0&&void 0!==arguments[0]?arguments[0]:i).frameElement},Of(Pf);var qf=null,zf={update:function(e){wa("object"===l(e),"serializer must be an object"),qf=e},toSpec:function(e){return zf.dqElmToSpec(new Tp(e))},dqElmToSpec:function(e,t){var r;return e instanceof Tp==!1?e:(t&&(e=function(e,t){var r=e.fromFrame,n=t.ancestry,a=t.xpath,o=!1!==t.selectors||r;return e=new Tp(e.element,t,{source:e.source,nodeIndexes:e.nodeIndexes,selector:o?e.selector:[":root"],ancestry:n?e.ancestry:[":root"],xpath:a?e.xpath:"/"}),e.fromFrame=r,e}(e,t)),"function"==typeof(null===(r=qf)||void 0===r?void 0:r.toSpec)?qf.toSpec(e):e.toJSON())},mergeSpecs:function(e,t){var r;return"function"==typeof(null===(r=qf)||void 0===r?void 0:r.mergeSpecs)?qf.mergeSpecs(e,t):Tp.mergeSpecs(e,t)},mapRawResults:function(e){return e.map((function(e){return j({},e,{nodes:zf.mapRawNodeResults(e.nodes)})}))},mapRawNodeResults:function(e){return null==e?void 0:e.map((function(e){var t=e.node,r=O(e,D);r.node=zf.dqElmToSpec(t);for(var n=0,a=["any","all","none"];n<a.length;n++){var o=a[n];r[o]=r[o].map((function(e){var t=e.relatedNodes,r=O(e,x);return r.relatedNodes=t.map(zf.dqElmToSpec),r}))}return r}))}},Vf=zf;var Gf=function(e){return[].concat(e.any||[]).concat(e.all||[]).concat(e.none||[])};var $f=function(e,t,r){if(Array.isArray(e))return e.find((function(e){return null!==e&&"object"===l(e)&&Object.hasOwn(e,t)&&e[t]===r}))};function Hf(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=Math.max(null==e?void 0:e.length,null==t?void 0:t.length),n=0;n<r;n++){var a=null==e?void 0:e[n],o=null==t?void 0:t[n];if("number"!=typeof a||isNaN(a))return 0===n?1:-1;if("number"!=typeof o||isNaN(o))return 0===n?-1:1;if(a!==o)return a-o}return 0}var Uf=function(e,t){var r=[];return e.forEach((function(e){var t,n=(t=e)&&t.results?Array.isArray(t.results)?t.results.length?t.results:null:[t.results]:null;if(n&&n.length){var a=function(e){if(e.frameElement)return Vf.toSpec(e.frameElement);if(e.frameSpec)return e.frameSpec;return null}(e);n.forEach((function(e){e.nodes&&a&&function(e,t,r){e.forEach((function(e){e.node=Vf.mergeSpecs(e.node,r),Gf(e).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return Vf.mergeSpecs(e,r)}))}))}))}(e.nodes,0,a);var t,n=$f(r,"id",e.id);n?(e.nodes.length&&function(e,t){for(var r,n=t[0].node,a=0;a<e.length;a++){var o=Hf((r=e[a].node).nodeIndexes,n.nodeIndexes);if(o>0||0===o&&n.selector.length<r.selector.length)return void e.splice.apply(e,[a,0].concat(q(t)))}e.push.apply(e,q(t))}(n.nodes,e.nodes),e.error&&(null!==(t=n.error)&&void 0!==t||(n.error=e.error))):r.push(e)}))}})),r.forEach((function(e){e.nodes&&e.nodes.sort((function(e,t){return Hf(e.node.nodeIndexes,t.node.nodeIndexes)}))})),r};function Wf(e,t,r,n,a,o){t=j({},t,{elementRef:!1});var i=ef();e.frames.forEach((function(e){var a=e.node,o=O(e,E);i.defer((function(e,i){Bf(a,{options:t,command:r,parameter:n,context:o},(function(t){return e(t?{results:t,frameElement:a}:null)}),i)}))})),i.then((function(e){a(Uf(e,t))})).catch(o)}function Yf(e,t){if(!e.shadowId&&!t.shadowId&&e.actualNode&&"function"==typeof e.actualNode.contains)return e.actualNode.contains(t.actualNode);do{if(e===t)return!0;if(t.nodeIndex<e.nodeIndex)return!1;t=t.parent}while(t);return!1}var Kf=function e(){for(var t={},r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];return n.forEach((function(r){if(r&&"object"===l(r)&&!Array.isArray(r))for(var n=0,a=Object.keys(r);n<a.length;n++){var o=a[n];!t.hasOwnProperty(o)||"object"!==l(r[o])||Array.isArray(t[o])?t[o]=r[o]:t[o]=e(t[o],r[o])}})),t};var Xf=function(e,t){Object.assign(e,t),Object.keys(t).filter((function(e){return"function"==typeof t[e]})).forEach((function(r){e[r]=null;try{e[r]=t[r](e)}catch(e){}}))},Zf=["article","aside","blockquote","body","div","footer","h1","h2","h3","h4","h5","h6","header","main","nav","p","section","span"];var Jf=function(e){if(e.shadowRoot){var t=e.nodeName.toLowerCase();if(Zf.includes(t)||/^[a-z][a-z0-9_.-]*-[a-z0-9_.-]*$/.test(t))return!0}return!1};var Qf,em=function(e){return(e||"").trim().replace(/\s{2,}/g," ").split(" ")},tm=" [idsMap]";function rm(e,t,r){var n=e[0]._selectorMap;if(n){for(var a=e[0].shadowId,o=0;o<t.length;o++)if(t[o].length>1&&t[o].some((function(e){return nm(e)})))return;var i=new Set;t.forEach((function(e){var t,r=function(e,t,r){var n=e[e.length-1],a=null,o=e.length>1||!!n.pseudos||!!n.classes;if(nm(n))a=t["*"];else{if(n.id){var i;if(!t[tm]||!Object.hasOwn(t[tm],n.id)||null===(i=t[tm][n.id])||void 0===i||!i.length)return;a=t[tm][n.id].filter((function(e){return e.shadowId===r}))}if(n.tag&&"*"!==n.tag){var u;if(null===(u=t[n.tag])||void 0===u||!u.length)return;var s=t[n.tag];a=a?am(s,a):s}if(n.classes){var l;if(null===(l=t["[class]"])||void 0===l||!l.length)return;var c=t["[class]"];a=a?am(c,a):c}if(n.attributes)for(var d=0;d<n.attributes.length;d++){var p,f=n.attributes[d];if("attrValue"===f.type&&(o=!0),null===(p=t["[".concat(f.key,"]")])||void 0===p||!p.length)return;var m=t["[".concat(f.key,"]")];a=a?am(m,a):m}}return{nodes:a,isComplexSelector:o}}(e,n,a);null==r||null===(t=r.nodes)||void 0===t||t.forEach((function(t){r.isComplexSelector&&!Yp(t,e)||i.add(t)}))}));var u=[];return i.forEach((function(e){return u.push(e)})),r&&(u=u.filter(r)),u.sort((function(e,t){return e.nodeIndex-t.nodeIndex}))}}function nm(e){return"*"===e.tag&&!e.attributes&&!e.id&&!e.classes}function am(e,t){return e.filter((function(e){return t.includes(e)}))}function om(e,t,r){Object.hasOwn(r,e)||(r[e]=[]),r[e].push(t)}function im(e,t){1===e.props.nodeType&&(om(e.props.nodeName,e,t),om("*",e,t),e.attrNames.forEach((function(r){"id"===r&&(t[tm]=t[tm]||{},em(e.attr(r)).forEach((function(r){om(r,e,t[tm])}))),om("[".concat(r,"]"),e,t)})))}function um(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:s.documentElement,t=arguments.length>1?arguments[1]:void 0;Qf=!1;var r={};ds.set("nodeMap",new WeakMap),ds.set("selectorMap",r);var n=cm(e,t,null);return n[0]._selectorMap=r,n[0]._hasShadowRoot=Qf,n}function sm(e,t,r){var n=new Cp(e,t,r);return im(n,ds.get("selectorMap")),n}function lm(e,t,r){var n=[];return e.forEach((function(e){var a=cm(e,r,t);a&&n.push.apply(n,q(a))})),n}function cm(e,t,r){var n,a;e.documentElement&&(e=e.documentElement);var o=e.nodeName.toLowerCase();if(Jf(e))return Qf=!0,n=sm(e,r,t),t="a"+Math.random().toString().substring(2),a=Array.from(e.shadowRoot.childNodes),n.children=lm(a,n,t),[n];if("content"===o&&"function"==typeof e.getDistributedNodes)return lm(a=Array.from(e.getDistributedNodes()),r,t);if("slot"===o&&"function"==typeof e.assignedNodes){(a=Array.from(e.assignedNodes())).length||(a=function(e){var t=[];for(e=e.firstChild;e;)t.push(e),e=e.nextSibling;return t}(e));i.getComputedStyle(e);return lm(a,r,t)}return e.nodeType===s.ELEMENT_NODE?(n=sm(e,r,t),a=Array.from(e.childNodes),n.children=lm(a,n,t),[n]):e.nodeType===s.TEXT_NODE?[sm(e,r)]:void 0}var dm=function(e){return e?e.trim().split("-")[0].toLowerCase():""};var pm=function(e){var t={};return t.none=e.none.concat(e.all),t.any=e.any,Object.keys(t).map((function(e){if(t[e].length){var r=c._audit.data.failureSummaries[e];return r&&"function"==typeof r.failureMessage?r.failureMessage(t[e].map((function(e){return e.message||""}))):void 0}})).filter((function(e){return void 0!==e})).join("\n\n")};function fm(){var e=c._audit.data.incompleteFallbackMessage;return"function"==typeof e&&(e=e()),"string"!=typeof e?"":e}var mm=na.resultGroups;function hm(e,t){var r=c.utils.aggregateResult(e);return mm.forEach((function(e){t.resultTypes&&!t.resultTypes.includes(e)&&(r[e]||[]).forEach((function(e){Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=[e.nodes[0]])})),r[e]=(r[e]||[]).map((function(e){return e=Object.assign({},e),Array.isArray(e.nodes)&&e.nodes.length>0&&(e.nodes=e.nodes.map((function(e){if("object"===l(e.node)){var r=gm(e.node,t);Object.assign(e,r)}return delete e.result,delete e.node,function(e,t){["any","all","none"].forEach((function(r){Array.isArray(e[r])&&e[r].filter((function(e){return Array.isArray(e.relatedNodes)})).forEach((function(e){e.relatedNodes=e.relatedNodes.map((function(e){return gm(e,t)}))}))}))}(e,t),e}))),mm.forEach((function(t){return delete e[t]})),delete e.pageLevel,delete e.result,e}))})),r}function gm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;e=Vf.dqElmToSpec(e,t);var r,n,a,o,i,u={};c._audit.noHtml?u.html=null:u.html=null!==(r=e.source)&&void 0!==r?r:"Undefined";t.elementRef&&!e.fromFrame&&(u.element=null!==(n=e.element)&&void 0!==n?n:null);(!1!==t.selectors||e.fromFrame)&&(u.target=null!==(a=e.selector)&&void 0!==a?a:[":root"]);t.ancestry&&(u.ancestry=null!==(o=e.ancestry)&&void 0!==o?o:[":root"]);t.xpath&&(u.xpath=null!==(i=e.xpath)&&void 0!==i?i:["/"]);return u}var vm=/\$\{\s?data\s?\}/g;function bm(e,t){if("string"==typeof t)return e.replace(vm,t);for(var r in t)if(t.hasOwnProperty(r)){var n=new RegExp("\\${\\s?data\\."+r+"\\s?}","g"),a=void 0===t[r]?"":String(t[r]);e=e.replace(n,a)}return e}var ym=function e(t,r){if(t){if(Array.isArray(r))return r.values=r.join(", "),"string"==typeof t.singular&&"string"==typeof t.plural?bm(1===r.length?t.singular:t.plural,r):bm(t,r);if("string"==typeof t)return bm(t,r);if("string"==typeof r)return bm(t[r],r);var n=t.default||fm();return r&&r.messageKey&&t[r.messageKey]&&(n=t[r.messageKey]),e(n,r)}};var wm=function(e,t,r){var n=c._audit.data.checks[e];if(!n)throw new Error("Cannot get message for unknown check: ".concat(e,"."));if(!n.messages[t])throw new Error('Check "'.concat(e,'"" does not have a "').concat(t,'" message.'));return ym(n.messages[t],r)};var Dm=function(e,t,r){var n=((r.rules&&r.rules[t]||{}).checks||{})[e.id],a=(r.checks||{})[e.id],o=e.enabled,i=e.options;return a&&(a.hasOwnProperty("enabled")&&(o=a.enabled),a.hasOwnProperty("options")&&(i=a.options)),n&&(n.hasOwnProperty("enabled")&&(o=n.enabled),n.hasOwnProperty("options")&&(i=n.options)),{enabled:o,options:i,absolutePaths:r.absolutePaths}};function xm(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:i;return t&&"object"===l(t)?t:"object"!==l(r)?{}:{testEngine:{name:"axe-core",version:c.version},testRunner:{name:c._audit.brand},testEnvironment:Em(r),timestamp:(new Date).toISOString(),url:null===(e=r.location)||void 0===e?void 0:e.href}}function Em(e){if(!e.navigator||"object"!==l(e.navigator))return{};var t,r=e.navigator,n=e.innerHeight,a=e.innerWidth,o=(t=e.screen).orientation||t.msOrientation||t.mozOrientation||{},i=o.angle,u=o.type;return{userAgent:r.userAgent,windowWidth:a,windowHeight:n,orientationAngle:i,orientationType:u}}function Am(e,t){var r=t.focusable,n=t.page;return{node:e,include:[],exclude:[],initiator:!1,focusable:r&&Fm(e),size:Cm(e),page:n}}function Fm(e){var t=sh(e.getAttribute("tabindex"));return null===t||t>=0}function Cm(e){var t=parseInt(e.getAttribute("width"),10),r=parseInt(e.getAttribute("height"),10);if(isNaN(t)||isNaN(r)){var n=e.getBoundingClientRect();t=isNaN(t)?n.width:t,r=isNaN(r)?n.height:r}return{width:t,height:r}}function km(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[];Hm(e)||(e=[e]);for(var r=0;r<e.length;r++){var n=Nm(e[r]);n&&t.push(n)}return t}function Nm(e){return e instanceof i.Node?e:"string"==typeof e?[e]:(Xm(e)?(!function(e){Tm(Array.isArray(e.fromFrames),"fromFrames property must be an array"),Tm(e.fromFrames.every((function(e){return!Um(e,"fromFrames")})),"Invalid context; fromFrames selector must be appended, rather than nested"),Tm(!Um(e,"fromShadowDom"),"fromFrames and fromShadowDom cannot be used on the same object")}(e),e=e.fromFrames):Zm(e)&&(e=[e]),function(e){if(!Array.isArray(e))return;var t,r=[],n=te(e);try{for(n.s();!(t=n.n()).done;){var a=t.value;if(Zm(a)&&(Rm(a),a=a.fromShadowDom),"string"!=typeof a&&!_m(a))return;r.push(a)}}catch(e){n.e(e)}finally{n.f()}return r}(e))}function Rm(e){Tm(Array.isArray(e.fromShadowDom),"fromShadowDom property must be an array"),Tm(e.fromShadowDom.every((function(e){return!Um(e,"fromFrames")})),"shadow selector must be inside fromFrame instead"),Tm(e.fromShadowDom.every((function(e){return!Um(e,"fromShadowDom")})),"fromShadowDom selector must be appended, rather than nested")}function _m(e){return Array.isArray(e)&&e.every((function(e){return"string"==typeof e}))}function Tm(e,t){wa(e,"Invalid context; ".concat(t,"\nSee: https://github.com/dequelabs/axe-core/blob/master/doc/context.md"))}function Sm(e,t){for(var r=[],n=0,a=e[t].length;n<a;n++){var o=e[t][n];if(o instanceof i.Node)if(o.documentElement instanceof i.Node)r.push(e.flatTree[0]);else if(o.host instanceof i.Node){var u=Array.from(o.children).map((function(e){return ps(e)}));r.push.apply(r,q(u))}else r.push(ps(o));else if(o&&o.length)if(o.length>1)Om(e,t,o);else{var s=Lh(o[0]);r.push.apply(r,q(s.map((function(e){return ps(e)}))))}}return r.filter((function(e){return e}))}function Om(e,t,r){e.frames=e.frames||[],Lh(r.shift()).forEach((function(n){var a=e.frames.find((function(e){return e.node===n}));a||(a=Am(n,e),e.frames.push(a)),a[t].push(r)}))}function Mm(e,t){var r,n,a,o,u,c=this;e=Op(e),this.frames=[],this.page="boolean"==typeof(null===(r=e)||void 0===r?void 0:r.page)?e.page:void 0,this.initiator="boolean"!=typeof(null===(n=e)||void 0===n?void 0:n.initiator)||e.initiator,this.focusable="boolean"!=typeof(null===(a=e)||void 0===a?void 0:a.focusable)||e.focusable,this.size="object"===l(null===(o=e)||void 0===o?void 0:o.size)?e.size:{},e=function(e){if(Ym(e)){var t=" must be used inside include or exclude. It should not be on the same object.";Tm(!Um(e,"fromFrames"),"fromFrames"+t),Tm(!Um(e,"fromShadowDom"),"fromShadowDom"+t)}else{if(!Km(e))return{include:[s],exclude:[]};e={include:e,exclude:[]}}var r=km(e.include);return 0===r.length&&r.push(s),{include:r,exclude:km(e.exclude)}}(e),this.flatTree=null!=t?t:um(function(e){for(var t=e.include,r=e.exclude,n=Array.from(t).concat(Array.from(r)),a=0;a<n.length;a++){var o=n[a];if(o instanceof i.Element)return o.ownerDocument.documentElement;if(o instanceof i.Document)return o.documentElement}return s.documentElement}(e)),this.exclude=e.exclude,this.include=e.include,this.include=Sm(this,"include"),this.exclude=Sm(this,"exclude"),_h("frame, iframe",this).forEach((function(e){eh(e,c)&&function(e,t){if(!Hc(t)||$f(e.frames,"node",t))return;e.frames.push(Am(t,e))}(c,e.actualNode)})),void 0===this.page&&(this.page=1===(u=this.include).length&&u[0].actualNode===s.documentElement,this.frames.forEach((function(e){e.page=c.page}))),function(e){if(0===e.include.length&&0===e.frames.length){var t=Pf.isInFrame()?"frame":"page";throw new Error("No elements found for include in "+t+" Context")}}(this),Array.isArray(this.include)||(this.include=Array.from(this.include)),this.include.sort(nh)}function Pm(e){return!1===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).iframes?[]:new Mm(e).frames.map((function(e){var t=e.node,r=O(e,A);return r.initiator=!1,{frameSelector:is(t),frameContext:r}}))}function Im(e){var t=c._audit.rules.find((function(t){return t.id===e}));if(!t)throw new Error("Cannot find rule by id: ".concat(e));return t}function Bm(e,t){var r=e.getPropertyValue(t);return["scroll","auto"].includes(r)}var Lm=qu((function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=e.scrollWidth>e.clientWidth+t,n=e.scrollHeight>e.clientHeight+t;if(r||n){var a=i.getComputedStyle(e),o=Bm(a,"overflow-x"),u=Bm(a,"overflow-y");return r&&o||n&&u?{elm:e,top:e.scrollTop,left:e.scrollLeft}:void 0}}));function jm(e){return Array.from(e.children||e.childNodes||[]).reduce((function(e,t){var r=Lm(t);return r&&e.push(r),e.concat(jm(t))}),[])}var qm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,t=e.document.documentElement;return[void 0!==e.pageXOffset?{elm:e,top:e.pageYOffset,left:e.pageXOffset}:{elm:t,top:t.scrollTop,left:t.scrollLeft}].concat(jm(s.body))};function zm(){return Op(nc)}var Vm,Gm=function(e){if(!e)throw new Error("axe.utils.getStyleSheetFactory should be invoked with an argument");return function(t){var r=t.data,n=t.isCrossOrigin,a=void 0!==n&&n,o=t.shadowId,i=t.root,u=t.priority,s=t.isLink,l=void 0!==s&&s,c=e.createElement("style");if(l){var d=e.createTextNode('@import "'.concat(r.href,'"'));c.appendChild(d)}else c.appendChild(e.createTextNode(r));return e.head.appendChild(c),{sheet:c.sheet,isCrossOrigin:a,shadowId:o,root:i,priority:u}}};var $m=function(e){if(Vm&&Vm.parentNode)return void 0===Vm.styleSheet?Vm.appendChild(s.createTextNode(e)):Vm.styleSheet.cssText+=e,Vm;if(e){var t=s.head||s.getElementsByTagName("head")[0];return(Vm=s.createElement("style")).type="text/css",void 0===Vm.styleSheet?Vm.appendChild(s.createTextNode(e)):Vm.styleSheet.cssText=e,t.appendChild(Vm),Vm}};function Hm(e){return!!e&&"object"===l(e)&&"number"==typeof e.length&&e instanceof i.Node==!1}function Um(e,t){return!(!e||"object"!==l(e))&&Object.prototype.hasOwnProperty.call(e,t)}function Wm(e){return Ym(e)||Km(e)}function Ym(e){return["include","exclude"].some((function(t){return Um(e,t)&&Km(e[t])}))}function Km(e){return"string"==typeof e||e instanceof i.Node||Xm(e)||Zm(e)||Hm(e)}function Xm(e){return Um(e,"fromFrames")}function Zm(e){return Um(e,"fromShadowDom")}var Jm=function e(t,r){var n=ps(t);if(9===t.nodeType)return!1;if(11===t.nodeType&&(t=t.host),n&&null!==n._isHidden)return n._isHidden;var a=i.getComputedStyle(t,null);if(!a||!t.parentNode||"none"===a.getPropertyValue("display")||!r&&"hidden"===a.getPropertyValue("visibility")||"true"===t.getAttribute("aria-hidden"))return!0;var o=e(t.assignedSlot?t.assignedSlot:t.parentNode,!0);return n&&(n._isHidden=o),o};var Qm=function(e){var t,r,n=null!==(t=null===(r=e.props)||void 0===r?void 0:r.nodeName)&&void 0!==t?t:e.nodeName.toLowerCase();return"http://www.w3.org/2000/svg"!==e.namespaceURI&&!!nc.htmlElms[n]};function eh(e,t){var r=t.include,n=void 0===r?[]:r,a=t.exclude,o=void 0===a?[]:a,i=n.filter((function(t){return Yf(t,e)}));if(0===i.length)return!1;var u=o.filter((function(t){return Yf(t,e)}));if(0===u.length)return!0;var s=th(i);return Yf(th(u),s)}function th(e){var t,r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;t&&Yf(a,t)||(t=a)}}catch(e){n.e(e)}finally{n.f()}return t}function rh(e,t){return e.length===t.length&&e.every((function(e,r){var n=t[r];return Array.isArray(e)?e.length===n.length&&e.every((function(e,t){return n[t]===e})):e===n}))}var nh=function(e,t){return(e=e.actualNode||e)===(t=t.actualNode||t)?0:4&e.compareDocumentPosition(t)?-1:1};function ah(e){return e instanceof ia?{vNode:e,domNode:e.actualNode}:{vNode:ps(e),domNode:e}}var oh=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=Array.from(e.cssRules);if(!o)return Promise.resolve();var i=o.filter((function(e){return 3===e.type}));if(!i.length)return Promise.resolve({isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId,sheet:e});var u=i.filter((function(e){return e.href})).map((function(e){return e.href})).filter((function(e){return!n.includes(e)})).map((function(e,a){var o=[].concat(q(r),[a]),i=/^https?:\/\/|^\/\//i.test(e);return uh(e,t,o,n,i)})),s=o.filter((function(e){return 3!==e.type}));return s.length?(u.push(Promise.resolve(t.convertDataToStylesheet({data:s.map((function(e){return e.cssText})).join(),isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId}))),Promise.all(u)):Promise.all(u)};var ih=function(e,t,r,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return function(e){try{return!(!e.cssRules&&e.href)}catch(e){return!1}}(e)?oh(e,t,r,n,a):uh(e.href,t,r,n,!0)};var uh=function(e,t,r,n,a){return n.push(e),new Promise((function(t,r){var n=new i.XMLHttpRequest;n.open("GET",e),n.timeout=na.preload.timeout,n.addEventListener("error",r),n.addEventListener("timeout",r),n.addEventListener("loadend",(function(e){if(e.loaded&&n.responseText)return t(n.responseText);r(n.responseText)})),n.send()})).then((function(e){var o=t.convertDataToStylesheet({data:e,isCrossOrigin:a,priority:r,root:t.rootNode,shadowId:t.shadowId});return ih(o.sheet,t,r,n,o.isCrossOrigin)}))};var sh=function(e){if("string"!=typeof e)return null;var t=e.trim().match(/^([-+]?\d+)/);return t?Number(t[1]):null},lh=function(){function e(){if(i.performance&&i.performance)return i.performance.now()}var t=e(),r=!1;return{start:function(){this.reset(),r=!0,this.mark("mark_axe_start")},end:function(){this.mark("mark_axe_end"),this.measure("axe","mark_axe_start","mark_axe_end",!0),this.logMeasures("axe"),this.clearMark("mark_axe_start","mark_axe_end"),r=!1},auditStart:function(){r||this.reset(),this.mark("mark_audit_start")},auditEnd:function(){this.mark("mark_audit_end"),this.measure("audit_start_to_end","mark_audit_start","mark_audit_end",!0),this.logMeasures(),this.clearMark("mark_audit_start","mark_audit_end")},mark:function(e){var t;null!==(t=i.performance)&&void 0!==t&&t.mark&&i.performance.mark(e)},measure:function(e,t,r){var n,a=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(null!==(n=i.performance)&&void 0!==n&&n.measure){try{i.performance.measure(e,t,r)}catch(e){this._log(e)}a||this.clearMark(t,r)}},logMeasures:function(e){var t,r,n=this,a=function(e){return Array.isArray(e)?e[e.length-1]:e},o=function(e){n._log("Measure "+e.name+" took "+e.duration+"ms")};if(null!==(t=i.performance)&&void 0!==t&&t.getEntriesByType&&null!==(r=i.performance)&&void 0!==r&&r.getEntriesByName){var u=a(i.performance.getEntriesByName("mark_axe_start"))||a(i.performance.getEntriesByName("mark_audit_start"));if(u)for(var s=i.performance.getEntriesByType("measure").filter((function(e){return e.startTime>=u.startTime})),l=0;l<s.length;++l){var c=s[l];if(c.name===e)return void o(c);e||o(c)}else this._log("Axe must be started before using performanceTimer")}},timeElapsed:function(){return e()-t},clearMark:function(){var e;if(null!==(e=i.performance)&&void 0!==e&&e.clearMarks){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];for(var a=0,o=r;a<o.length;a++){var u=o[a];i.performance.clearMarks(u)}}},reset:function(){t=e()},_log:function(e){aa(e)}}}(),ch=lh;function dh(){if(s.elementsFromPoint)return s.elementsFromPoint;if(s.msElementsFromPoint)return s.msElementsFromPoint;var e,t=((e=s.createElement("x")).style.cssText="pointer-events:auto","auto"===e.style.pointerEvents),r=t?"pointer-events":"visibility",n=t?"none":"hidden",a=s.createElement("style");return a.innerHTML=t?"* { pointer-events: all }":"* { visibility: visible }",function(e,t){var o,i,u,l=[],c=[];for(s.head.appendChild(a);(o=s.elementFromPoint(e,t))&&-1===l.indexOf(o);)l.push(o),c.push({value:o.style.getPropertyValue(r),priority:o.style.getPropertyPriority(r)}),o.style.setProperty(r,n,"important");for(l.indexOf(s.documentElement)<l.length-1&&(l.splice(l.indexOf(s.documentElement),1),l.push(s.documentElement)),i=c.length;u=c[--i];)l[i].style.setProperty(r,u.value?u.value:"",u.priority);return s.head.removeChild(a),l}}"function"==typeof i.addEventListener&&(s.elementsFromPoint=dh());var ph=function(e,t){return e.concat(t).filter((function(e,t,r){return r.indexOf(e)===t}))};function fh(e,t,r,n,a){var o=a||{};return o.vNodes=e,o.vNodesIndex=0,o.anyLevel=t,o.thisLevel=r,o.parentShadowId=n,o}var mh=function(e,t,r){e=Array.isArray(e)?e:[e];var n=Up(t),a=rm(e,n,r);return a||function(e,t,r){for(var n=ds.get("qsa.recycledLocalVariables",(function(){return[]})),a=[],o=fh(Array.isArray(e)?e:[e],t,null,e[0].shadowId,n.pop()),i=[];o.vNodesIndex<o.vNodes.length;){for(var u,s,l=o.vNodes[o.vNodesIndex++],c=null,d=null,p=((null===(u=o.anyLevel)||void 0===u?void 0:u.length)||0)+((null===(s=o.thisLevel)||void 0===s?void 0:s.length)||0),f=!1,m=0;m<p;m++){var h,g,v,b=m<((null===(h=o.anyLevel)||void 0===h?void 0:h.length)||0)?o.anyLevel[m]:o.thisLevel[m-((null===(g=o.anyLevel)||void 0===g?void 0:g.length)||0)];if((!b[0].id||l.shadowId===o.parentShadowId)&&Yp(l,b[0]))if(1===b.length)f||r&&!r(l)||(i.push(l),f=!0);else{var y=b.slice(1);if(!1===[" ",">"].includes(y[0].combinator))throw new Error("axe.utils.querySelectorAll does not support the combinator: "+b[1].combinator);">"===y[0].combinator?(c=c||[]).push(y):(d=d||[]).push(y)}b[0].id&&l.shadowId!==o.parentShadowId||null===(v=o.anyLevel)||void 0===v||!v.includes(b)||(d=d||[]).push(b)}for(l.children&&l.children.length&&(a.push(o),o=fh(l.children,d,c,l.shadowId,n.pop()));o.vNodesIndex===o.vNodes.length&&a.length;)n.push(o),o=a.pop()}return i}(e,n,r)};var hh=function(e){var t=e.treeRoot,r=function(e){var t=[],r=mh(e,"*",(function(e){return!t.includes(e.shadowId)&&(t.push(e.shadowId),!0)})).map((function(e){return{shadowId:e.shadowId,rootNode:ms(e.actualNode)}}));return ph(r,[])}(void 0===t?c._tree[0]:t);if(!r.length)return Promise.resolve();var n=s.implementation.createHTMLDocument("Dynamic document for loading cssom");return function(e,t){var r=[];return e.forEach((function(e,n){var a=e.rootNode,o=e.shadowId,i=function(e,t,r){var n;n=11===e.nodeType&&t?function(e,t){return Array.from(e.children).filter(vh).reduce((function(r,n){var a=n.nodeName.toUpperCase(),o="STYLE"===a?n.textContent:n,i=t({data:o,isLink:"LINK"===a,root:e});return i.sheet&&r.push(i.sheet),r}),[])}(e,r):function(e){return Array.from(e.styleSheets).filter((function(e){return!!e.media&&bh(e.media.mediaText)}))}(e);return function(e){var t=[];return e.filter((function(e){return!e.href||!t.includes(e.href)&&(t.push(e.href),!0)}))}(n)}(a,o,t);if(!i)return Promise.all(r);var u=n+1,s={rootNode:a,shadowId:o,convertDataToStylesheet:t,rootIndex:u},l=[],c=Promise.all(i.map((function(e,t){return ih(e,s,[u,t],l)})));r.push(c)})),Promise.all(r)}(r,Gm(n)).then((function(e){return gh(e)}))};function gh(e){return e.reduce((function(e,t){return Array.isArray(t)?e.concat(gh(t)):e.concat(t)}),[])}function vh(e){var t=e.nodeName.toUpperCase(),r=e.getAttribute("href"),n=e.getAttribute("rel"),a="LINK"===t&&r&&n&&e.rel.toUpperCase().includes("STYLESHEET");return"STYLE"===t||a&&bh(e.media)}function bh(e){return!e||!e.toUpperCase().includes("PRINT")}var yh=function(e){var t=e.treeRoot,r=void 0===t?c._tree[0]:t,n=mh(r,"video[autoplay], audio[autoplay]",(function(e){var t=e.actualNode;return("none"!==t.preload||0!==t.readyState||t.networkState===t.NETWORK_LOADING)&&(!t.hasAttribute("paused")&&!t.hasAttribute("muted")&&(t.hasAttribute("src")?!!t.getAttribute("src"):!(Array.from(t.getElementsByTagName("source")).filter((function(e){return!!e.getAttribute("src")})).length<=0)))}));return Promise.all(n.map((function(e){var t,r=e.actualNode;return t=r,new Promise((function(e){function r(){t.removeEventListener("loadedmetadata",r),e(t)}t.readyState>0&&e(t),t.addEventListener("loadedmetadata",r)}))})))};function wh(e){var t={cssom:hh,media:yh};return Dh(e)?new Promise((function(r,n){var a=xh(e),o=a.assets,i=a.timeout,u=setTimeout((function(){return n(new Error("Preload assets timed out."))}),i);Promise.all(o.map((function(r){return t[r](e).then((function(e){return T({},r,e)}))}))).then((function(e){var t=e.reduce((function(e,t){return j({},e,t)}),{});clearTimeout(u),r(t)})).catch((function(e){clearTimeout(u),n(e)}))})):Promise.resolve()}function Dh(e){return!e||void 0===e.preload||null===e.preload||("boolean"==typeof e.preload?e.preload:(t=e.preload,"object"===l(t)&&Array.isArray(t.assets)));var t}function xh(e){var t=na.preload,r=t.assets,n=t.timeout,a={assets:r,timeout:n};if(!e.preload)return a;if("boolean"==typeof e.preload)return a;if(!e.preload.assets.every((function(e){return r.includes(e.toLowerCase())})))throw new Error("Requested assets, not supported. Supported assets are: ".concat(r.join(", "),"."));return a.assets=ph(e.preload.assets.map((function(e){return e.toLowerCase()})),[]),e.preload.timeout&&"number"==typeof e.preload.timeout&&!isNaN(e.preload.timeout)&&(a.timeout=e.preload.timeout),a}function Eh(e){var t=c._audit.data.checks||{},r=c._audit.data.rules||{},n=$f(c._audit.rules,"id",e.id)||{};e.tags=Op(n.tags||[]);var a=Ah(t,!0,n),o=Ah(t,!1,n);e.nodes.forEach((function(e){e.any.forEach(a),e.all.forEach(a),e.none.forEach(o)})),Xf(e,Op(r[e.id]||{}))}function Ah(e,t,r){return function(n){var a=e[n.id]||{},o=a.messages||{},i=Object.assign({},a);delete i.messages,r.reviewOnFail||void 0!==n.result?i.message=n.result===t?o.pass:o.fail:("object"!==l(o.incomplete)||Array.isArray(n.data)||(i.message=function(e,t){function r(e){return e.incomplete&&e.incomplete.default?e.incomplete.default:fm()}if(!e||!e.missingData)return e&&e.messageKey?t.incomplete[e.messageKey]:r(t);try{var n=t.incomplete[e.missingData[0].reason];if(!n)throw new Error;return n}catch(n){return"string"==typeof e.missingData?t.incomplete[e.missingData]:r(t)}}(n.data,o)),i.message||(i.message=o.incomplete)),"function"!=typeof i.message&&(i.message=ym(i.message,n.data)),Xf(n,i)}}var Fh=function(e,t){return mh(e,t)};function Ch(e,t){var r,n,a=c._audit&&c._audit.tagExclude?c._audit.tagExclude:[];return t.hasOwnProperty("include")||t.hasOwnProperty("exclude")?(r=t.include||[],r=Array.isArray(r)?r:[r],n=t.exclude||[],n=(n=Array.isArray(n)?n:[n]).concat(a.filter((function(e){return-1===r.indexOf(e)})))):(r=Array.isArray(t)?t:[t],n=a.filter((function(e){return-1===r.indexOf(e)}))),!!(r.some((function(t){return-1!==e.tags.indexOf(t)}))||0===r.length&&!1!==e.enabled)&&n.every((function(t){return-1===e.tags.indexOf(t)}))}var kh=function(e,t,r){var n=r.runOnly||{},a=(r.rules||{})[e.id];return!(e.pageLevel&&!t.page)&&("rule"===n.type?-1!==n.values.indexOf(e.id):a&&"boolean"==typeof a.enabled?a.enabled:"tag"===n.type&&n.values?Ch(e,n.values):Ch(e,[]))};function Nh(e,t){if(!t)return e;var r=e.cloneNode(!1),n=ka(r);if(1===r.nodeType){var a=r.outerHTML;r=ds.get(a,(function(){return Rh(r,n,e,t)}))}else r=Rh(r,n,e,t);return Array.from(e.childNodes).forEach((function(e){r.appendChild(Nh(e,t))})),r}function Rh(e,t,r,n){return t?(e=s.createElement(e.nodeName),Array.from(t).forEach((function(t){(function(e,t,r){if(void 0===r[t])return!1;if(!0===r[t])return!0;return Na(e,r[t])})(r,t.name,n)||e.setAttribute(t.name,t.value)})),e):e}function _h(e,t){var r,n=[];if(c._selectCache)for(var a=0,o=c._selectCache.length;a<o;a++){var i=c._selectCache[a];if(i.selector===e)return i.result}for(var u=t.include.reduce((function(e,t){return e.length&&Yf(e[e.length-1],t)||e.push(t),e}),[]),s=function(e){if(!e.exclude||0===e.exclude.length)return null;return function(t){return eh(t,e)}}(t),l=0;l<u.length;l++){r=u[l],n=Th(n,mh(r,e,s))}return c._selectCache&&c._selectCache.push({selector:e,result:n}),n}function Th(e,t){if(0===e.length)return t;if(e.length<t.length){var r=e;e=t,t=r}for(var n=0,a=t.length;n<a;n++)e.includes(t[n])||e.push(t[n]);return e}function Sh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if("object"!==l(e)||null===e)return{message:String(e)};var r,n={},a=te(na.serializableErrorProps);try{for(a.s();!(r=a.n()).done;){var o=r.value;["string","number","boolean"].includes(l(e[o]))&&(n[o]=e[o])}}catch(e){a.e(e)}finally{a.f()}return e.cause&&(n.cause=t<10?Sh(e.cause,t+1):"..."),n}var Oh=function(e){function t(e){var r,n,a=e.error,o=e.ruleId,i=e.method,u=e.errorNode;return Z(this,t),(n=M(this,t)).name=null!==(r=a.name)&&void 0!==r?r:"RuleError",n.message=a.message,n.stack=a.stack,a.cause&&(n.cause=Sh(a.cause)),o&&(n.ruleId=o,n.message+=" Skipping ".concat(n.ruleId," rule.")),i&&(n.method=i),u&&(n.errorNode=u),n}return B(t,e),Q(t)}(_(Error)),Mh=Oh;var Ph=function(e){e.forEach((function(e){return function(e,t,r){if(e===i)return e.scroll(r,t);e.scrollTop=t,e.scrollLeft=r}(e.elm,e.top,e.left)}))};function Ih(e){return Bh(Array.isArray(e)?q(e):[e],s)}function Bh(e,t){var r=e.shift(),n=r?t.querySelector(r):null;return 0===e.length?n:null!=n&&n.shadowRoot?Bh(e,n.shadowRoot):null}function Lh(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=Array.isArray(e)?q(e):[e];return 0===e.length?[]:jh(r,t)}function jh(e,t){var r,n=X(r=e)||z(r)||re(r)||K(),a=n[0],o=ne(n).slice(1),i=t.querySelectorAll(a);if(0===o.length)return Array.from(i);var u,s=[],l=te(i);try{for(l.s();!(u=l.n()).done;){var c=u.value;null!=c&&c.shadowRoot&&s.push.apply(s,q(jh(o,c.shadowRoot)))}}catch(e){l.e(e)}finally{l.f()}return s}var qh=function(){return["hidden","text","search","tel","url","email","password","date","month","week","time","datetime-local","number","range","color","checkbox","radio","file","submit","image","reset","button"]},zh=[,[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,,,,,1,1,1,1,,,1,1,1,,1,,1,,1,1],[1,1,1,,1,1,,1,1,1,,1,,,1,1,1,,,1,1,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,,,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1],[,1,,,,,,1,,1,,,,,1,,1,,,1,1,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,,,1,,,,1,1,1,1,,1,,1,,1,,,,,,1],[1,,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,,1,,1,,,,,1,,1,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,,1,1,1,,1,,1,1,1,,,1,1,1,1,1,1,1,1],[,,1,,,1,,1,,,,1,1,1,,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1,1,1,1,1,,,1,1,1],[1,1,1,1,1,,,1,,,1,,,1,1,1,,,,,1,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1],[,1,,1,1,1,,1,1,,1,,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,,,1,1,1,,,1,1,,,,,,1,1],[1,1,1,,,,,1,,,,1,1,,1,,,,,,1,,,,,1],[,1,,,1,,,1,,,,,,1],[,1,,1,,,,1,,,,1],[1,,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,,1,,,1,1,1,1],[,1,1,1,1,1,,,1,,,1,,1,1,,1,,1,,,,,1,,1],[,1,,,,1,,,1,1,,1,,1,1,1,1,,1,1,,,1,,,1],[,1,1,,,,,,1,,,,1,1,1,1,,1,1,1,1,1,1,,1,1,1],[,1,,1,1,1,,,1,1,1,1,1,1,,1,,,,1,1,1,,1,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,1,1],[,1,1,1,,,,1,1,1,,1,1,,,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,,1,,,,,1,1,1,,,1,,1,,,1,1],[,,,,1,,,,,,,,,,,,,,,,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,,1,1,,,,1,1,1,1,1,,,1,1,1,,,,1,1],[1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,1,,,,,,,1],[,1,1,,1,1,,1,,,,,,,,,,,,,1],[,,,,,,,,1],[1,1,1,,,,,,,,,,,,,1],[,,,,,,,,1,,,1,,,1,1,,,,,1]],[,[1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,1,1,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,,1],[,,,1,,,,,,,,,,,,,,,1],[,1,,,1,1,,1,,1,1,,,,1,1,,,1,1,,,,1],[1,,,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,,,,1],,[,1,1,1,1,1,,1,1,1,,1,1,,1,1,,,1,1,1,1,,1,1,,1],[,1,,,1,,,1,,1,,,1,1,1,1,,,1,1,,1,1,1,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,,,1,1,1,1,1,1,1,,,1,,,1,,1],[,1,,,,,,1,,,,1,1,,,,,,1,1,,,,,1],[,,,,,,,1,,,,1,,1,1],[,1,1,1,1,1,1,1,,,,1,1,1,1,1,,,1,1,,1,1,1,1,1],[,1,,,1,1,,1,,1,1,1,,,1,1,,,1,,1,1,1,1,,1],[,1,1,1,,1,1,,1,1,,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1],[,,,,,,,,,,,,,,,,1],,[,1,1,1,1,1,,1,1,1,,,1,,1,1,,1,1,1,1,1,,1,,1],[,,1,,,1,,,1,1,,1,1,,1,1,,1,,,,,,,,,1],[,1,1,,1,,,,1,1,,1,,1,1,1,1,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1],[,1,,,,,,,,,,1,1,,,,,,1,1,,1,,1,,1,1],,[,1,1,,1,,,1,,1,,,,1,1,1,,,1,,,1,,,,1],[1,1,,,1,1,,1,,,,,1,,1]],[,[,1],[,,,1,,,,1,,,,1,,,,1,,,1,,,1],[,,,,,,,,,,,,,,,,,,1,1,,,,,,1],,[1,,,,,1],[,1,,,,1,,,,1],[,1,,,,,,,,,,,1,1,,1,,,,,,,,,1,1],[,,,,,,,,,,,,,,,,,,,1,,1],[,,,,,,,,,,,,,,,,1,,,,1,,1],[,1],[,1,,1,,1,,1,,1,,1,1,1,,1,1,,1,,,,,,,1],[1,,,,,1,,,1,1,,1,,1,,1,1,,,,,1,,,1],[,1,1,,,1,,1,,1,,1,,1,1,1,1,1,,1,,1,,1,1,1,1],[1,1,1,1,1,,1,,1,,,,1,1,1,1,,1,1,,,1,1,1,1],[1,,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],,[,1,,,,,,1,1,1,,1,,,,1,,,1,1,1,,,1],[1,,,,,1,,1,1,1,,1,1,1,1,1,,1,,1,,1,,,1,1],[1,,1,1,,,,,1,,,,,,1,1,,,1,1,1,1,,,1,,1],[1,,,,1,,,,,,,,,,,,,1],[,,,,,1,,,1,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,,,1],[,1,,,,1]],[,[1,1,1,,1,,1,1,1,1,1,1,1,1,1,,1,,1,,1,1,,,1,1,1],[,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],,[,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1],,[1,1,,,,1,1,,,,,,1,,,,1,,1,,1,1,,1],[1],[,,,,,,,,,,,1,,,,,,,,,,,1],[,1,,,,,,,1,1,,,1,,1,,,,1,,,,,,,1],[,,,,,,,,,,,,,,,,1,,,,,1],[,,1,,,,,1,,1],[1,,,,1,,,,,1,,,,1,1,,,,1,1,,,,,1],[,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[1,,,1,1,,,,,,,1,,1,,1,1,1,1,1,1],[,,,,,1,,,,,,,1,,,,,,,1],,[,,1,1,1,1,1,,1,1,1,,,1,1,,,1,1,,1,1,1,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,,,1],,[1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[,,,1,1,1,1,,,,,,1,,1,,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,,1],[,1,1,1,1,,1,1,1,1,1,1,1,1,,,,1,,1,,,1,1,1,1,1],[,,,,,,,,,,,1,,,,,,,,,1,,,,1],[,1,1,,1,1,,1,,,,1,1,,1,1,,,1,,1,1,,1],[,1,,1,,1,,,1,,,1,1,,1,1,,,1,1,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,,,,,,,,,1,,1,,1,1,,,,1,,,1],[,1,,,1,1,,,,,,,,,1,1,1,,,,,1],[1,,1,1,1,,,,1,1,1,1,1,,,1,,,1,,,1,,1,,1],[,1,1,,1,1,,1,1,,,,1,1,1,,,1,1,,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1],[,1,,,,,,,,1,,,,,1,,,,1,,,1],[,1,1,1,1,,,1,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1],[,,,,,1,,1,,,,,1,1,1,1,1,,,1,,,,1],[,1,,,,,,,,1,,,,,,,,,,,,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,1,,,,1,,1,1,1,1,1,,1,1,,,,,,1],[,1,1,1,1,1,1,1,,1,1,,,1,1,,,,1,,1,1,,1,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,1,1,,1,,,1,1,1,1,,,1,,,,,,,1,1],[,1,,,,,,,,1,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1],[,1,1,,,,,,,,,,,,1,1,,,,,,1],[,1,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,,,,,1],[1,1,,,1,,,1,1,1,,,,1],,[,,,,,,,,,,,,,1,,,,,,,,,,1],[,,,,,,,,,1,,,,,,,,,1,,,,,,,1],[1,1,1,,1,,1,1,1,1,1,1,1,1,,1,,,1,,1,,,1,1],[,,,,,,,,,1],[,1,,,,1,,,1,,,1,,,1,,,,,1],[,1,1,,1,1,,,,,,,,,,,,,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,1,1,1,,,1,1,1,,,,1,,1],[1,1,1,1,1,1,,,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,,1,1],[,,,,,,,,,,,,,,,1,,,,1],,[1,1,,1,,1,,,,,,1,,1,,1,1,,1,,1,1,,1,1,,1],[,,1,,,,,,1,,,,1,,1,,,,,1],[1,,,,,,,,,1,,,,,,1,,,,1,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,,1,,,,,,1,,,1,,,,,,,,1],[,1,,1,,,,,,,,,,,,1],,[1,1,,,,,,,,,,,,,,,,,,,,,,1,1],[1]],[,[1,,,,,,,,,1,,,,,1,,1,,1],[,1,1,,1,1,,1,1,1,,,1,1,1,,,,1,,,1,,,,1],[,1,,,,,,,1,,,,1,,,,,,1],[1,1,1,1,1,1,,,,1,,,,,,,,,1,1,1,1],[1],[,1,1,,,1,1,,,,,1,,1,,,,,,,,1,,,,1],[1,,1,,,1,,1,,,,,1,1,1,1,,,,1,,,,1],[,,1,,,,,,,1,,,,,,,1,,,,,,,1],[1,,,,,,,,,,,,,,1,,,,1],[,,,1,,1,,,,,1,,,,1,1,,,,1],[1,,,,,1,,,1,1,,1,1,,,1,1,,1,1,1,,1,1,1,,1],[,1,1,,,,,1,,1,,1,1,1,,1,1,,,1,,1,1,1],[,1,,,,1,,,,1,,,1,,1,1,,,1,1,1,,,,,1],[1,,1,1,,1,,1,1,,1,,1,1,1,1,1,,,1,1,,,,,,1],[1,,,,,,,,,,,,,,,,,,1,,,1,,1],[,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,,1,,1],[,1,,,,1,,,1,1,,1,,,1,1,,,1,,,1,,,1,1],[1,1,,1,1,1,,1,1,1,,1,,1,1,1,,,1,,1,1,1],[1,,1,1,1,1,,,,1,,1,1,1,,1,,,1,1,1,,1,1,1,1,1],[1,,,,,,,,,,,,,1],[,,1,,,,,,,,,,,,,,,,,,,,1],[1,,,,,,,,,,,1,,1,,1,,,,1],[,,,1,,,,,,,,,1],[,1,,,,,,,,,,,,,,1,,,,,,,,,1],[,,,,,,,,1,1,,,,1,,,,,1,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,,,1,1,1],[,,,,,1,,,,1,1,1,,1,1,1,,,1,,1,1,,1],[,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,,,1,,,,,,,,,,,,,1],[,,1,,,1,,1,1,1,,1,1,,1,,,,1,,1,1],,[,,1,,,1,,,,,,1,,,,1],[,,,,,,,,,1,,,,,,,,,,1],[1,1,1,1,1,1,,1,1,1,,,1,1,,1,,1,,,1,1,1,,,1],[,,,,,1,,,,,,,,,,,,,1],[,1,,,,,,,,,,,,1,,1,1,,1,1,,1],[,,,,,1,,,,,,,,,,,,,,1],[,1,1,1,1,,,,,1,,,1,,1,,,,1,1,,,,1,1],[,1,,,1,,,1,,1,1,,1,,,,,,,1],[,,1,,1,,,1,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,,,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,,,,,,,,,,1,,1,1],[,,,,,,,,,,,,1],,[,1,1,1,1,,,,1,1,,1,1,1,1,1,1,,1,1,1,1,,1,,1],[1,,,,1,,,,,,,,,,1],[1,,,,,,,,,1],,[,1,,,,1,,,,,,,,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,,,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,,1,1,1,1],[1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,,1,,,,1,1,,,1,1,,1],[,1,1,,1,,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,1],[1,1,1,,,,,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,,,,1],[,1,,,,,,,1,1,,,1,1,1,,1,,,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,,,1,,,,1,,,1,,,,1,,,,,,,1,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1],[1,1,1,,1,,,1,1,1,1,,1,1,1,1,,,,1,,1,,1,,,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,,1,1,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,1],[,1,,1,,1,,1,,1,,1,1,1,1,1,,,1,,1,,1,,,,1],[,1,1,1,1,1,,1,1,1,,,1,1,1,1,1,,1,1,1,,1,1,,1],[1,,,1,,,,1,1,1,,,,,1,1,,,,1,,1],[1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,,1,,1,1,,,,,,,1,,1],[,1,,,,1,,1,1,,,,1,1,,1,,,,1,1,1,,1],[,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,,,1],[,,,,,,,,1,,,,1,,1,,,,,,,,,,,,1]],[,[,1,1,,1,1,1,1,,1,1,1,,1,1,,1,1,,1,1,1,1,1,1,,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,,,1,,,,,,,,1,,,,,,1,,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,1,1,1,,1,1,1,1,,,1,1,1,1,,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,,1,,1,,1,,1,1,1,1,1,1,1,,1,1,,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1],[,1,1,,,,,1,1,1,,,1,,1,1,,,,1,,1,,,1,1],[,,,,,,,1,,,,1,1,1,1,1,,1,,,1,,,,,1],[1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,,1,,1,1,,,1,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,1,1,,1,,1,1,1,,1,,1,1,,1,1,,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,,,,,,1,,,,,1,,1],[,1,1,1,,1,,1,,1,,,,1,,1,,,1,,,,,1,1,1],[,1,,,1,1,,1,,1,,1,1,1,1,1,,1,1,,,1,,,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,,,1,,1,,1,,,,,1,1,,1,,,,1,1]],[,[,1,,1,,,,,,,,1,,,,,,,1,,,,1],[,,,,,,,,,1,,1,1,1,,1,,,1,,1,1],[1,1,,,,,,,1,,,,,1,,1,,,,,,1],[,1,,,,,,,,,,1,,,,,,,,,1,1],,[,,,,,,,,,,,,,,,1,,,,1,,1],[,,1,1,,1,,1,,,,,,,,1,,,,,,1],[,,,,,,,,,,,,,,,,,,,,1,1],[,1,,,,1,,,,,,,,,1],[1,,1,1,,,,1,,,,,,,,,1,,,1,,,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,,1,1,,1,1,,1,,1],[,1,,,1,1,,,,,,1,,1,,1,,,1,,1,1],[1,1,1,1,,1,,1,,1,,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,,,1,,1,,1,1,1,,,1,1,1,,1,1,1,1,,1,1],[,,,,1,,,1,,,,,,,1,,,,1,1],[,1,,,,,,,,,,1,,1,,1,,,,,1,,,,,1],,[1,1,,1,,1,,1,1,,,,,,1,1,,,1,1,1,1,1,1,1,1,1],[1,1,,1,,,,,,1,,,,,1,1,1,,,,1,1,,,1],[,1,1,,1,1,,,,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,,,1,,,,1,,,,1,1],[,,,,1],[,,,,,,,,,1,,,1],,[,,1,,1,,,,,,,,,1,,,,,,,,,,,,1],[,,,,,,,,,,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,1,1,1,1,,,1,1,1,1,1,,1,1,1,1,1,,,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,,,,,1],[,1,,1,,,,,,1,,,,,1,1,,,,,1,1],[,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,,1,,,1,,1,1,1],[,1,,,,1,,,,,,,1],[,1,,,1,,,1,,1,,1,1,,1,,,,,1,,1,,,,1,1],[,1,,,1,,,1,1,1,1,1,1,1,1,1,,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1],[,,,,,,,,,,,,,,,,,,,,1],[,1,1,1,,,,1,1,,,,,,1,1,1,,1,1,1,1],[1,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1],[,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,1,1,1,1,1,1,1,,1,,1,1,1,1,1,,1,1,,1,1,1,1,1],[,1,,,,1,,,,1,,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,1,,,,,,,,1,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1],[1,1,,1,1,1,,1,1,1,,,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,,,,,,,1,1,,,,,1,1,1,1,1,,1,1,1,1,,1],[,1,1,1,1,1,1,1,,1,1,1,,1,,1,1,1,1,,1,1,,1,1,1,1],,[,1,1,,,,,1,,1,,,,1,1,1,,,1,,,,,1],[,,,,,,,,,,,,,1],[,,,,,1,,,,,,,,1,1,,,,,1,,1,,,1,1],[,,,,,1,,,1,,,,,,1]],[,[,1],,,,,,,,,,,,,,,,,,,,[1,1,1,1,1,,1,1,1,1,,1,1,1,1,,1,1,1,1,,,1,1,1,1,1],[,1,,1,,1,,,1,1,1,,1,1,1,1,1,,,1,,,,1,,1,1],[,1,,1,,1,,,1,,,,,1,,,,,,1,1],[,1,,1,,,,,1,,,,1,,1,1,1,1,1,1,1,1,,1],[,1,,,,,,,,,,,,,,,1]],[,[,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,,,,,,,,,1,1,,,,1],[,,,,,,1],[,,1],[,1,1,,,1,,1,,1,1,,1,1,1,,,,1,1,1,,,,,1],,[,1,,,,1,,,,,,1,,,1,,,,1,1,,1],[,,,,,,,1,,,,,,,,,1],[,1,1,,,1,1,,,,,,1,1,1,,,,1,,1,1],[,,,,,,,1,,1,,,,,,,,,,1],[,1,1,,,,,,1,1,,,,1,,,,,,,1,,,1],,[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,,,1,,,,,1,,1,,1,,1,,,,,1],[1,1,1,1,1,1,1,1,,,,,1,1,,1,1,,1,,,1,,1],[,,,,,,,,,,,,,,1,,,,,,1],,[,,,,,,,,,1,,,,1,,1,,,,,1],[,,1,,,,,,,1,,1,1,1,1,,,,,,,,,1],[,,,1,,,,,1,,,,,1,,,,,,1,,,,1],[1,,1,1,,1,1,1,1,1,,1,,,,1,1,1,,,1,1,,,,1,1],,[1,1,,,,,,,,,,1,1,1,,1,,,1],[,,,,1,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,1,,,,,1,,1],[,,,,,,,,1]],[,[1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,,1,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,,1,,,1,,,,,,,,1,,,,,,1,,,,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,,,1,1,1,1,1,1,,1,1,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,,1,1,1,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1],[1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,,1,1,1,1,,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,,,,,,,1,,1,1,,1,1,1,,1,1,1,1,1,,,1],[1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1],[1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,,1,,1,,1,1,1,1,1,,1,,1,1,1,1,,1,1,1,1,1],[1,1,1,1,,1,,,,,,1,,1,,,,,1,1,,,,,1],[1,,1,1,,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,1,1,,1,,1,,,,1,1,1,1,1,,,1,1,,1,,1],[,1,1,1,1,,,,,1,,1,1,1,1,1,,,1,1,,,,1,1,1],[,1,1,1,1,1,,1,,,,,1,,1,,1,,,1,,,1,1,,1]],[,[1,1,1,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1,,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,,,,,1,,,,,1,1,,,1,,1],[1,1,1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,,1,1,1,1,,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1],[1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,,,,1,,1,1,,1,1,1,1,1,,,1,,1,,1],[1,1,1,,1,1,1,1,,,,1,1,1,1,,1,1,1,1,1,1,1,1,1,,1],[1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,,1,1,1,1,1,1],[,1,,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1],[,,1,,,,,,,,,,1,1,1,1,1,1,1,,1,1,,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,1,1,1,1,1,1,1],[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,1,1,1,1,1],[,1,,,1,1,,,,1,,1,1,1,1,1,,,,1,1,1,,1,1,1],[1,1,1,1,1,1,1,1,1,,,,1,1,1,1,1,1,1,,1,1,,1,1,1],[,1,1,1,,1,,1,1,1,1,,,1,1,1,,1,1,1,1,1,,,1,1],[1,1,,,,1,,,1,1,1,,1,,1,,1,,1,1,1,1,1,,1,1,1],[,1,,,,,,,1,,1,,1,1,1,1,,,,,,,,,1]],[,[,,,,,,,,,,,,,1,1,,,,1],[,1,,,,,,,,1,,,1,,,,,,1,,,1,,,,1],,[,1,,,,1,,1,,1,1,,1,1,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1],[,,,,,,,,,1],[1,1,1,,,1,,,1,,,,,,1,1,,,,,,,,,,1],[,1,,,,,,,,,,,,,1],[,,,,,,,,,,,,,,,,,,,1,,,1],[,,,,,,,,,1],[1,1,,,,,,1,1,1,,1,1,,,,1,1,,1,,1,1,1,,1],[,1,1,1,,1,1,,,1,,1,1,1,1,,,,,,,1,,1,,1],[,1,1,1,1,,,1,,1,,,,1,1,1,1,,1,1,,1],[,1,,,1,1,,1,,1,,1,,1,1,,1,,1,,,1,,,1,,1],[,,,,,,,,,,,1,,,1],[,,,,,,,,,1,,,,,,,,,,,,,1],,[1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,,1,1,1,1,1,1,1],[,1,,,,,,,1,1,,1,,,,,1,,,1,,1],[,1,,,,1,,,1,,,,,,,,1,,1,,,1],[,,,,,,,,,,,,,1,1,,,,1,,,1],[,,,,,1,,,1,,,,1],[,1],,[,1],[1,,,,,,,,,,,,,,1,,,,,1]],[,[,1,,,,1,1,1,1,1,1,,1,1,1,1,1,,1,1,,1,1,,,1],[,,1,,,,,,,,,1],,,[1,,,1,1,,,,,,,,1,1,,1,1,,1],,[,,,,,,,,,,,,,,,,,,1,,1],,[1,,,1,1,,1,1,,,,,1,,1,,,,,1,1,,1],[,,,,,,,,,,,1],[,1,,,,,,,,1,1,1,1,1,1,1,1,,,,1,1,,,,,1],[,,,,,,,,,,,,,,,,1,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,,,1,1,1,1,,1,1,1,1,1,1],[,,,,,,,,,,,1,,1,,,1],[1,,,,,,,,,,,,,,,,,,1,,1],,,[,1,,,,,,,,,,,,,,1,,,,1,1],[,,,,,,,,,1,,,1,,1,,,,,,,,1],[,,,,,,,,,,,,,,,1],[,,,,,,,,,,,,,1,1,,,,,,1],,[,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,,1,1,,1,1,1,1,1,1,,,1,1,1,1,1,,1,1],[,1,,,,,,,,1],[,,,,1,,,1,,,1,1,,,,,,,,,1,1,,,,1],[,1,,1,1,,,1,1,1,,,,1,1,1,1,,1,1,1,1,,1],[,,,,,,,1],[,1,1,,,,,1,,1,,,,,,1,,,,,,1,,1,,1],[,1,,,,,,1,,,,1,,,,,,,,,,1],[,,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1,1,1,1,,1],[,1,,,,,,,,1],[,1,1,,1,,,,,,,,1,,,,,,1,,,1,,1,,1],[,1,,1,,1,,1,1,1,,1,1,1,,1,,,1,1,,1,1,1,1,1],[,1,1,1,1,1,,1,1,1,,,,1,1,1,,,,1,1,,,1,1],[,,1,1,1,1,,1,,1,,1,,1,1,1,1,,,,,1,,1,,1],[1,1,1,1,1,1,1,1,,1,,1,,1,1,1,,,1,1,,,,1,,1],[,,,1],,[,1,1,,1,,,1,1,1,,1,1,1,1,1,1,,1,1,,1,1,1,1,1,1],[,1,,,,,,1,,1,,1,,,,,,,1,1,,1,1],[,,1,,,,1,,1,1,,1,,1,,,,,,,,,,1],[,1,1,,1,,,,1,,,,1,1,1,,,,1,,1,1,1,,1,1],,[,1,1,,,,,,,,,,,,,1,,,1,,,,,1],[,1,,,,,,,,,,,,,,,,,,,,,,1],[,1,1,,,,,,,1,,,,1,1,,,,1,,,,,,,1]],[,[,1,1,1,1,1,,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1],[,1,1,1,1,1,,1,,1,1,,,1,1,1,1,,1,,,,,1,1,1],[,,1,1,,1,,1,1,,,,1,1,1,1,,,1,,1,1,1,1,,1],[,1,,1,,,,,,,,1,,1,,1,,1,,,,,,,,1],[,,1,,1,,,1,,,,,1,1,,,1,,1,1,1,1],[,1],[,1,1,,1,,1,1,,1,,,1,1,1,,,,1,,,1,,1],[1,1,,1,1,1,,,,,,,,1,,,,,1,,1,1,1],[,1,1,,,,,,,1,,,1,,1,,1,,1,1,,,1,,,1],[,,1,,,,,,,,,,,,,,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,1,1,1,,1,,1,,,,,1,1,1,,,1,,1,,,,1],[,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,,,1,1,1,1,1,,1,1,1,,1,1,1,1,1,,,,1,1],[,,,1,1,,,1,,1,,1,,1,1,1,1,,1,,,,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,1,,1,1,,1,,1,,,,1,1,,,1,1,,1,1,,1],[,1,1,1,1,1,,,1,1,1,,1,1,1,1,1,1,1,1,,1,1,,,1],[,1,1,1,1,1,,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1,,1,1],[,1,1,,1,,,1,,,1,,1,1,1,1,1,,1,,1,1],[,,,,,1,,,,1,,,,,1,1,,,,1],[,1,,1,1,1,,1,,,1,1,1,,,1,,,1,,1,,,1],[,,1,,,,,,,,,1,,1,,,,,1,,1],[,1,1,,,,,,,,1,1,1,,,,,,,,1,,,,,1],[,,,,,,,,1,,,,,1,,,1]],[,[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,1,,1,1,,,1,1,1,1,1,1,1,1,,,,,,,,,1,1],[,,,,,,,,1,,,,1,,1,,1,,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,1,,1,,1,,,,1,1,,1,,1,,,,1,1,1,1,1,,,1],,[,1,,,,,,,,1,,,1,1,,,1,,1,1,,1,,1],[,1,,,1,,,,,,,,1,,,,,,,1],[1,1,,,,,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,,1,1,1],,[,1,,,,,,1,1,1,,1,1,1,1,1,,,1,,1,1,,,,1],[,1,1,,,1,,1,,1,,,1,1,1,1,,,1,,,1,,,,1],[,1,1,1,1,1,,1,1,1,,1,1,1,1,1,1,1,1,1,1,,,,1,,1],[,1,1,,1,1,,1,1,,,1,1,,1,1,,1,,1,,1],[1,,1,,,,,1,,1,,1,1,1,1,,,,,1,1,,,,1,1],[,1,1,,,,,1,1,,,1,,1,1,1,1,,,,,,,,,,1],,[,1,1,,,1,,,,1,,1,1,1,1,1,,,,1,,,,1,,1],[,,,1,1,,,1,,,,,1,1,1,1,1,,1,1,,,,,,1],[,1,,,,,,,,,,,1,,,,1,,,,,,,1,,1],[,1,1,1,1,1,1,1,,1,1,1,1,1,1,,1,1,1,,1,1,,1,1,1,1],[,1,,,,,,,,,,,,,,,,,,,1],[,1,,,,,,1,,,,,1,,1,,,1,1,,1,1,,1],[,1,,,,,,1,,,,,1,1,,,,,,,,1,,,,1],[,,,,,,,,,,,,,,,,,,1,,,1,,,,,1],[,,,,,,,1,,,,1]],[,[1,1,1,1,1,1,1,1,1,1,1,1,1,1,,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,1,,1,,,,,,,1,,,,,,,,1,1,,1],[,1,,,1,,,,1],[,,,,,,,,,,1],[,1,,,,,,1,1,,,,,1,1],,[,1,1,,,,,,1,,,,,1,1,,,,1],[1,,1,,1,,,,,1,,,,,1,,,,,,,,,1,1],[,1,1,,,,,,,,,1,1,1,1,,,,1,,,,,1,,,1],,[,1,1,,1,,,1,1,,,1,,,1,1,1,,1,,1,1,1,,,,1],[,1,,,,1,,,,,1,,,1,1,,,1,,1,,1,,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,1,,,1,1,,1,,,,1,,,,,,,,1],[,,,1,,,,,1,,,,,1,,1,,1,1,1],[,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1],[,,,,,1],[,1,,,,,,1,,,,,,,1,1,1,,,1],[,1,,,,,,,,,,1,1,1,,,,,1,,,1],[,,,,,1,,1,,,,,1,1,1,,1,1,,1,1,1,,,1,1],[1,1,,,,,,,1,,,,,1,1,,,,,,,,,,,1],,[,1],[,,,,,,,,,,,,,,,,,,,,,,,,1],[,,1,,,,,1,,,1,,,,1,,1],[,1,,,,,,,,,1]]];function Vh(e){e=Array.isArray(e)?e:zh;var t=[];return e.forEach((function(e,r){var n=String.fromCharCode(r+96).replace("`","");Array.isArray(e)?t=t.concat(Vh(e).map((function(e){return n+e}))):t.push(n)})),t}var Gh=function(e){for(var t=zh;e.length<3;)e+="`";for(var r=0;r<=e.length-1;r++){if(!(t=t[e.charCodeAt(r)-96]))return!1}return!0},$h=function(e){function t(e){var r,n,a,o;return Z(this,t),(r=M(this,t))._props=function(e){var t,r,n,a=null!==(t=e.nodeName)&&void 0!==t?t:Uh[e.nodeType],o=null!==(r=null!==(n=e.nodeType)&&void 0!==n?n:Hh[e.nodeName])&&void 0!==r?r:1;wa("number"==typeof o,"nodeType has to be a number, got '".concat(o,"'")),wa("string"==typeof a,"nodeName has to be a string, got '".concat(a,"'")),a=a.toLowerCase();var i=null;"input"===a&&(i=(e.type||e.attributes&&e.attributes.type||"").toLowerCase(),qh().includes(i)||(i="text"));var u=j({},e,{nodeType:o,nodeName:a});i&&(u.type=i);return delete u.attributes,Object.freeze(u)}(e),r._attrs=(n=e.attributes,a=void 0===n?{}:n,o={htmlFor:"for",className:"class"},Object.keys(a).reduce((function(e,t){var r=a[t];return wa("object"!==l(r)||null===r,"expects attributes not to be an object, '".concat(t,"' was")),void 0!==r&&(e[o[t]||t]=null!==r?String(r):null),e}),{})),r}return B(t,e),Q(t,[{key:"props",get:function(){return this._props}},{key:"attr",value:function(e){var t;return null!==(t=this._attrs[e])&&void 0!==t?t:null}},{key:"hasAttr",value:function(e){return void 0!==this._attrs[e]}},{key:"attrNames",get:function(){return Object.keys(this._attrs)}}])}(ia),Hh={"#cdata-section":2,"#text":3,"#comment":8,"#document":9,"#document-fragment":11},Uh={};Object.keys(Hh).forEach((function(e){Uh[Hh[e]]=e}));var Wh=$h;var Yh,Kh=function(e,t){if(e=e||function(){},t=t||c.log,!c._audit)throw new Error("No audit configured");var r=c.utils.queue(),n=[];Object.keys(c.plugins).forEach((function(e){r.defer((function(t){var r=function(e){n.push(e),t()};try{c.plugins[e].cleanup(t,r)}catch(e){r(e)}}))}));var a=c.utils.getFlattenedTree(s.body);c.utils.querySelectorAll(a,"iframe, frame").forEach((function(e){r.defer((function(t,r){return c.utils.sendCommandToFrame(e.actualNode,{command:"cleanup-plugin"},t,r)}))})),r.then((function(r){0===n.length?e(r):t(n)})).catch(t)},Xh={};function Zh(e){return Xh.hasOwnProperty(e)}function Jh(e){return"string"==typeof e&&Xh[e]?Xh[e]:"function"==typeof e?e:Yh}var Qh=function(e){var t=c._audit;if(!t)throw new Error("No audit configured");if(e.axeVersion||e.ver){var r=e.axeVersion||e.ver;if(!/^\d+\.\d+\.\d+(-canary)?/.test(r))throw new Error("Invalid configured version ".concat(r));var n=Y(r.split("-"),2),a=n[0],o=n[1],i=Y(a.split(".").map(Number),3),u=i[0],s=i[1],l=i[2],d=Y(c.version.split("-"),2),p=d[0],f=d[1],m=Y(p.split(".").map(Number),3),h=m[0],g=m[1],v=m[2];if(u!==h||g<s||g===s&&v<l||u===h&&s===g&&l===v&&o&&o!==f)throw new Error("Configured version ".concat(r," is not compatible with current axe version ").concat(c.version))}if(e.reporter&&("function"==typeof e.reporter||Zh(e.reporter))&&(t.reporter=e.reporter),e.checks){if(!Array.isArray(e.checks))throw new TypeError("Checks property must be an array");e.checks.forEach((function(e){if(!e.id)throw new TypeError("Configured check ".concat(JSON.stringify(e)," is invalid. Checks must be an object with at least an id property"));t.addCheck(e)}))}var b,y=[];if(e.rules){if(!Array.isArray(e.rules))throw new TypeError("Rules property must be an array");e.rules.forEach((function(e){if(!e.id)throw new TypeError("Configured rule ".concat(JSON.stringify(e)," is invalid. Rules must be an object with at least an id property"));y.push(e.id),t.addRule(e)}))}if(e.disableOtherRules&&t.rules.forEach((function(e){!1===y.includes(e.id)&&(e.enabled=!1)})),void 0!==e.branding?t.setBranding(e.branding):t._constructHelpUrls(),e.tagExclude&&(t.tagExclude=e.tagExclude),e.locale&&t.applyLocale(e.locale),e.standards&&(b=e.standards,Object.keys(rc).forEach((function(e){b[e]&&(rc[e]=Kf(rc[e],b[e]))}))),e.noHtml&&(t.noHtml=!0),e.allowedOrigins){if(!Array.isArray(e.allowedOrigins))throw new TypeError("Allowed origins property must be an array");if(e.allowedOrigins.includes("*"))throw new Error('"*" is not allowed. Use "'.concat(na.allOrigins,'" instead'));t.setAllowedOrigins(e.allowedOrigins)}};var eg=function(e){var t=(e=e||[]).length?c._audit.rules.filter((function(t){return!!e.filter((function(e){return-1!==t.tags.indexOf(e)})).length})):c._audit.rules,r=c._audit.data.rules||{};return t.map((function(e){var t=r[e.id]||{};return{ruleId:e.id,description:t.description,help:t.help,helpUrl:t.helpUrl,tags:e.tags,actIds:e.actIds}}))};var tg=function(e,t,r){if(!["SCRIPT","HEAD","TITLE","NOSCRIPT","STYLE","TEMPLATE"].includes(e.nodeName.toUpperCase())&&Pd(r)){var n=i.getComputedStyle(e);if("none"===n.getPropertyValue("display"))return;if("hidden"===n.getPropertyValue("visibility")){var a=js(e),o=a&&i.getComputedStyle(a);if(!o||"hidden"!==o.getPropertyValue("visibility"))return}}return!0},rg={};fe(rg,{getAllCells:function(){return ng},getCellPosition:function(){return cc},getHeaders:function(){return og},getScope:function(){return dc},isColumnHeader:function(){return pc},isDataCell:function(){return ig},isDataTable:function(){return ug},isHeader:function(){return sg},isRowHeader:function(){return fc},toArray:function(){return lc},toGrid:function(){return lc},traverse:function(){return cg}});var ng=function(e){var t,r,n,a,o=[];for(t=0,n=e.rows.length;t<n;t++)for(r=0,a=e.rows[t].cells.length;r<a;r++)o.push(e.rows[t].cells[r]);return o};function ag(e,t,r){for(var n,a="row"===e?"_rowHeaders":"_colHeaders",o="row"===e?fc:pc,i=r[t.y][t.x],u=i.colSpan-1,s=i.getAttribute("rowspan"),l=(0===parseInt(s)||0===i.rowspan?r.length:i.rowSpan)-1,d=t.y+l,p=t.x+u,f="row"===e?t.y:0,m="row"===e?0:t.x,h=[],g=d;g>=f&&!n;g--)for(var v=p;v>=m;v--){var b=r[g]?r[g][v]:void 0;if(b){var y=c.utils.getNodeFromTree(b);if(y[a]){n=y[a];break}h.push(b)}}return n=(n||[]).concat(h.filter(o)),h.forEach((function(e){c.utils.getNodeFromTree(e)[a]=n})),n}var og=function(e,t){if(e.getAttribute("headers")){var r=Wl(e,"headers");if(r.filter((function(e){return e})).length)return r}t||(t=lc(bs(e,"table")));var n=cc(e,t),a=ag("row",n,t),o=ag("col",n,t);return[].concat(a,o).reverse()};var ig=function(e){if(!e.children.length&&!e.textContent.trim())return!1;var t=ic(e);return t?["cell","gridcell"].includes(t):"TD"===e.nodeName.toUpperCase()};var ug=function(e){var t=ic(e);if(("presentation"===t||"none"===t)&&!Vl(e))return!1;if("true"===e.getAttribute("contenteditable")||bs(e,'[contenteditable="true"]'))return!0;if("grid"===t||"treegrid"===t||"table"===t)return!0;if("landmark"===Gd(t))return!0;if("0"===e.getAttribute("datatable"))return!1;if(e.getAttribute("summary"))return!0;if(e.tHead||e.tFoot||e.caption)return!0;for(var r=0,n=e.children.length;r<n;r++)if("COLGROUP"===e.children[r].nodeName.toUpperCase())return!0;for(var a,o,u=0,s=e.rows.length,l=!1,c=0;c<s;c++)for(var d=0,p=(a=e.rows[c]).cells.length;d<p;d++){if("TH"===(o=a.cells[d]).nodeName.toUpperCase())return!0;if(l||o.offsetWidth===o.clientWidth&&o.offsetHeight===o.clientHeight||(l=!0),o.getAttribute("scope")||o.getAttribute("headers")||o.getAttribute("abbr"))return!0;if(["columnheader","rowheader"].includes(ic(o)))return!0;if(1===o.children.length&&"ABBR"===o.children[0].nodeName.toUpperCase())return!0;u++}if(e.getElementsByTagName("table").length)return!1;if(s<2)return!1;var f,m,h=e.rows[Math.ceil(s/2)];if(1===h.cells.length&&1===h.cells[0].colSpan)return!1;if(h.cells.length>=5)return!0;if(l)return!0;for(var g=0;g<s;g++){if(a=e.rows[g],f&&f!==i.getComputedStyle(a).getPropertyValue("background-color"))return!0;if(f=i.getComputedStyle(a).getPropertyValue("background-color"),m&&m!==i.getComputedStyle(a).getPropertyValue("background-image"))return!0;m=i.getComputedStyle(a).getPropertyValue("background-image")}return s>=20||!(zs(e).width>.95*Vs(i).width)&&(!(u<10)&&!e.querySelector("object, embed, iframe, applet"))};var sg=function(e){if(pc(e)||fc(e))return!0;if(e.getAttribute("id")){var t=xa(e.getAttribute("id"));return!!s.querySelector('[headers~="'.concat(t,'"]'))}return!1};function lg(e,t,r,n){var a,o=r[t.y]?r[t.y][t.x]:void 0;return o?"function"==typeof n&&!0===(a=n(o,t,r))?[o]:((a=lg(e,{x:t.x+e.x,y:t.y+e.y},r,n)).unshift(o),a):[]}var cg=function(e,t,r,n){if(Array.isArray(t)&&(n=r,r=t,t={x:0,y:0}),"string"==typeof e)switch(e){case"left":e={x:-1,y:0};break;case"up":e={x:0,y:-1};break;case"right":e={x:1,y:0};break;case"down":e={x:0,y:1}}return lg(e,{x:t.x+e.x,y:t.y+e.y},r,n)},dg={};fe(dg,{allowedAttr:function(){return pg},arialabelText:function(){return Xl},arialabelledbyText:function(){return Kl},getAccessibleRefs:function(){return hg},getElementUnallowedRoles:function(){return yg},getExplicitRole:function(){return ic},getImplicitRole:function(){return Mc},getOwnedVirtual:function(){return Gc},getRole:function(){return jc},getRoleType:function(){return Gd},getRolesByType:function(){return Dg},getRolesWithNameFromContents:function(){return Eg},implicitNodes:function(){return Ng},implicitRole:function(){return Mc},isAccessibleRef:function(){return Rg},isAriaRoleAllowedOnElement:function(){return gg},isComboboxPopup:function(){return _g},isUnsupportedRole:function(){return ac},isValidRole:function(){return oc},label:function(){return Sg},labelVirtual:function(){return xd},lookupTable:function(){return kg},namedFromContents:function(){return Vc},requiredAttr:function(){return Og},requiredContext:function(){return Mg},requiredOwned:function(){return Pg},validateAttr:function(){return Bg},validateAttrValue:function(){return Ig}});var pg=function(e){var t=nc.ariaRoles[e],r=q(sc());return t?(t.allowedAttrs&&r.push.apply(r,q(t.allowedAttrs)),t.requiredAttrs&&r.push.apply(r,q(t.requiredAttrs)),r):r},fg=/^idrefs?$/;function mg(e,t,r){if(e.hasAttribute){if("LABEL"===e.nodeName.toUpperCase()&&e.hasAttribute("for")){var n=e.getAttribute("for");t.has(n)?t.get(n).push(e):t.set(n,[e])}for(var a=0;a<r.length;++a){var o=r[a],i=mc(e.getAttribute(o)||"");if(i){var u,s=te(em(i));try{for(s.s();!(u=s.n()).done;){var l=u.value;t.has(l)?t.get(l).push(e):t.set(l,[e])}}catch(e){s.e(e)}finally{s.f()}}}}for(var c=0;c<e.childNodes.length;c++)1===e.childNodes[c].nodeType&&mg(e.childNodes[c],t,r)}var hg=function(e){var t;e=e.actualNode||e;var r=hs(e);r=r.documentElement||r;var n=ds.get("idRefsByRoot",(function(){return new Map})),a=n.get(r);return a||(a=new Map,n.set(r,a),mg(r,a,Object.keys(nc.ariaAttrs).filter((function(e){var t=nc.ariaAttrs[e].type;return fg.test(t)})))),null!==(t=a.get(e.id))&&void 0!==t?t:[]};var gg=function(e,t){var r=e instanceof ia?e:ps(e),n=Mc(r),a=Oc(r);return Array.isArray(a.allowedRoles)?a.allowedRoles.includes(t):t!==n&&!!a.allowedRoles},vg=["doc-backlink","doc-biblioentry","doc-biblioref","doc-cover","doc-endnote","doc-glossref","doc-noteref"],bg={header:"banner",footer:"contentinfo"};var yg=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=ah(e).vNode;if(!Qm(r))return[];var n=r.props.nodeName,a=Mc(r)||bg[n];return function(e){var t=[];if(!e)return t;if(e.hasAttr("role")){var r=em(e.attr("role").toLowerCase());t=t.concat(r)}return t.filter((function(e){return oc(e)}))}(r).filter((function(e){return!function(e,t,r,n){if(r&&e===n)return!0;if(vg.includes(e)&&Gd(e)!==n)return!1;return gg(t,e)}(e,r,t,a)}))};var wg=function(e){return Object.keys(nc.ariaRoles).filter((function(t){return nc.ariaRoles[t].type===e}))};var Dg=function(e){return wg(e)};var xg=function(){return ds.get("ariaRolesNameFromContent",(function(){return Object.keys(nc.ariaRoles).filter((function(e){return nc.ariaRoles[e].nameFromContent}))}))};var Eg=function(){return xg()},Ag=function(e){return null===e},Fg=function(e){return null!==e},Cg={attributes:{"aria-activedescendant":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-atomic":{type:"boolean",values:["true","false"],unsupported:!1},"aria-autocomplete":{type:"nmtoken",values:["inline","list","both","none"],unsupported:!1},"aria-busy":{type:"boolean",values:["true","false"],unsupported:!1},"aria-checked":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-colcount":{type:"int",unsupported:!1},"aria-colindex":{type:"int",unsupported:!1},"aria-colspan":{type:"int",unsupported:!1},"aria-controls":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-current":{type:"nmtoken",allowEmpty:!0,values:["page","step","location","date","time","true","false"],unsupported:!1},"aria-describedby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-describedat":{unsupported:!0,unstandardized:!0},"aria-details":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-disabled":{type:"boolean",values:["true","false"],unsupported:!1},"aria-dropeffect":{type:"nmtokens",values:["copy","move","reference","execute","popup","none"],unsupported:!1},"aria-errormessage":{type:"idref",allowEmpty:!0,unsupported:!1},"aria-expanded":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-flowto":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-grabbed":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-haspopup":{type:"nmtoken",allowEmpty:!0,values:["true","false","menu","listbox","tree","grid","dialog"],unsupported:!1},"aria-hidden":{type:"boolean",values:["true","false"],unsupported:!1},"aria-invalid":{type:"nmtoken",allowEmpty:!0,values:["true","false","spelling","grammar"],unsupported:!1},"aria-keyshortcuts":{type:"string",allowEmpty:!0,unsupported:!1},"aria-label":{type:"string",allowEmpty:!0,unsupported:!1},"aria-labelledby":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-level":{type:"int",unsupported:!1},"aria-live":{type:"nmtoken",values:["off","polite","assertive"],unsupported:!1},"aria-modal":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiline":{type:"boolean",values:["true","false"],unsupported:!1},"aria-multiselectable":{type:"boolean",values:["true","false"],unsupported:!1},"aria-orientation":{type:"nmtoken",values:["horizontal","vertical"],unsupported:!1},"aria-owns":{type:"idrefs",allowEmpty:!0,unsupported:!1},"aria-placeholder":{type:"string",allowEmpty:!0,unsupported:!1},"aria-posinset":{type:"int",unsupported:!1},"aria-pressed":{type:"nmtoken",values:["true","false","mixed","undefined"],unsupported:!1},"aria-readonly":{type:"boolean",values:["true","false"],unsupported:!1},"aria-relevant":{type:"nmtokens",values:["additions","removals","text","all"],unsupported:!1},"aria-required":{type:"boolean",values:["true","false"],unsupported:!1},"aria-roledescription":{type:"string",allowEmpty:!0,unsupported:!1},"aria-rowcount":{type:"int",unsupported:!1},"aria-rowindex":{type:"int",unsupported:!1},"aria-rowspan":{type:"int",unsupported:!1},"aria-selected":{type:"nmtoken",values:["true","false","undefined"],unsupported:!1},"aria-setsize":{type:"int",unsupported:!1},"aria-sort":{type:"nmtoken",values:["ascending","descending","other","none"],unsupported:!1},"aria-valuemax":{type:"decimal",unsupported:!1},"aria-valuemin":{type:"decimal",unsupported:!1},"aria-valuenow":{type:"decimal",unsupported:!1},"aria-valuetext":{type:"string",unsupported:!1}},globalAttributes:["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"]};Cg.role={alert:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},alertdialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["dialog","section"]},application:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage","aria-activedescendant"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","audio","embed","iframe","object","section","svg","video"]},article:{type:"structure",attributes:{allowed:["aria-expanded","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["article"],unsupported:!1},banner:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["header"],unsupported:!1,allowedElements:["section"]},button:{type:"widget",attributes:{allowed:["aria-expanded","aria-pressed","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["button",'input[type="button"]','input[type="image"]','input[type="reset"]','input[type="submit"]',"summary"],unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},cell:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-rowindex","aria-rowspan","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},checkbox:{type:"widget",attributes:{allowed:["aria-checked","aria-required","aria-readonly","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="checkbox"]'],unsupported:!1,allowedElements:["button"]},columnheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},combobox:{type:"composite",attributes:{allowed:["aria-autocomplete","aria-required","aria-activedescendant","aria-orientation","aria-errormessage"],required:["aria-expanded"]},owned:{all:["listbox","tree","grid","dialog","textbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:"input",properties:{type:["text","search","tel","url","email"]}}]},command:{nameFrom:["author"],type:"abstract",unsupported:!1},complementary:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["aside"],unsupported:!1,allowedElements:["section"]},composite:{nameFrom:["author"],type:"abstract",unsupported:!1},contentinfo:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["footer"],unsupported:!1,allowedElements:["section"]},definition:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dd","dfn"],unsupported:!1},dialog:{type:"widget",attributes:{allowed:["aria-expanded","aria-modal","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["dialog"],unsupported:!1,allowedElements:["section"]},directory:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["ol","ul"]},document:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["body"],unsupported:!1,allowedElements:["article","embed","iframe","object","section","svg"]},"doc-abstract":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-acknowledgments":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-afterword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-appendix":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-backlink":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},"doc-biblioentry":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author"],context:["doc-bibliography"],unsupported:!1,allowedElements:["li"]},"doc-bibliography":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-biblioentry"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-biblioref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},"doc-chapter":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-colophon":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-conclusion":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-cover":{type:"img",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-credit":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-credits":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-dedication":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-endnote":{type:"listitem",attributes:{allowed:["aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,namefrom:["author"],context:["doc-endnotes"],unsupported:!1,allowedElements:["li"]},"doc-endnotes":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["doc-endnote"]},namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-epigraph":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1},"doc-epilogue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-errata":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-example":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-footnote":{type:"section",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","footer","header"]},"doc-foreword":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-glossary":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:["term","definition"],namefrom:["author"],context:null,unsupported:!1,allowedElements:["dl"]},"doc-glossref":{type:"link",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},"doc-index":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-introduction":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-noteref":{type:"link",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author","contents"],context:null,unsupported:!1,allowedElements:[{nodeName:"a",attributes:{href:Fg}}]},"doc-notice":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pagebreak":{type:"separator",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["hr"]},"doc-pagelist":{type:"navigation",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},"doc-part":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-preface":{type:"landmark",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-prologue":{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-pullquote":{type:"none",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside","section"]},"doc-qna":{type:"section",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},"doc-subtitle":{type:"sectionhead",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["h1","h2","h3","h4","h5","h6"]}},"doc-tip":{type:"note",attributes:{allowed:["aria-expanded"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},"doc-toc":{type:"navigation",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,namefrom:["author"],context:null,unsupported:!1,allowedElements:["nav","section"]},feed:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{one:["article"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["article","aside","section"]},figure:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["figure"],unsupported:!1},form:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["form"],unsupported:!1},grid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-colcount","aria-level","aria-multiselectable","aria-readonly","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,implicit:["table"],unsupported:!1},gridcell:{type:"widget",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-selected","aria-readonly","aria-required","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["td","th"],unsupported:!1},group:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["details","optgroup"],unsupported:!1,allowedElements:["dl","figcaption","fieldset","figure","footer","header","ol","ul"]},heading:{type:"structure",attributes:{required:["aria-level"],allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["h1","h2","h3","h4","h5","h6"],unsupported:!1},img:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["img"],unsupported:!1,allowedElements:["embed","iframe","object","svg"]},input:{nameFrom:["author"],type:"abstract",unsupported:!1},landmark:{nameFrom:["author"],type:"abstract",unsupported:!1},link:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["a[href]","area[href]"],unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["image","button"]}}]},list:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:{all:["listitem"]},nameFrom:["author"],context:null,implicit:["ol","ul","dl"],unsupported:!1},listbox:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-readonly","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["option"]},nameFrom:["author"],context:null,implicit:["select"],unsupported:!1,allowedElements:["ol","ul"]},listitem:{type:"structure",attributes:{allowed:["aria-level","aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["list"],implicit:["li","dt"],unsupported:!1},log:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},main:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["main"],unsupported:!1,allowedElements:["article","section"]},marquee:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},math:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["math"],unsupported:!1},menu:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,implicit:['menu[type="context"]'],unsupported:!1,allowedElements:["ol","ul"]},menubar:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:{one:["menuitem","menuitemradio","menuitemcheckbox"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},menuitem:{type:"widget",attributes:{allowed:["aria-posinset","aria-setsize","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="command"]'],unsupported:!1,allowedElements:["button","li",{nodeName:"iput",properties:{type:["image","button"]}},{nodeName:"a",attributes:{href:Fg}}]},menuitemcheckbox:{type:"widget",attributes:{allowed:["aria-checked","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="checkbox"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Fg}}]},menuitemradio:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["menu","menubar"],implicit:['menuitem[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button","radio"]}},{nodeName:"a",attributes:{href:Fg}}]},navigation:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["nav"],unsupported:!1,allowedElements:["section"]},none:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Fg}}]},note:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["aside"]},option:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-checked","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["listbox"],implicit:["option"],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["checkbox","button"]}},{nodeName:"a",attributes:{href:Fg}}]},presentation:{type:"structure",attributes:null,owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:[{nodeName:["article","aside","dl","embed","figcaption","fieldset","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","iframe","li","ol","section","ul"]},{nodeName:"img",attributes:{alt:Fg}}]},progressbar:{type:"widget",attributes:{allowed:["aria-valuetext","aria-valuenow","aria-valuemax","aria-valuemin","aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["progress"],unsupported:!1},radio:{type:"widget",attributes:{allowed:["aria-selected","aria-posinset","aria-setsize","aria-required","aria-errormessage","aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,implicit:['input[type="radio"]'],unsupported:!1,allowedElements:[{nodeName:["button","li"]},{nodeName:"input",properties:{type:["image","button"]}}]},radiogroup:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-required","aria-expanded","aria-readonly","aria-errormessage","aria-orientation"]},owned:{all:["radio"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["ol","ul","fieldset"]}},range:{nameFrom:["author"],type:"abstract",unsupported:!1},region:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["section[aria-label]","section[aria-labelledby]","section[title]"],unsupported:!1,allowedElements:{nodeName:["article","aside"]}},roletype:{type:"abstract",unsupported:!1},row:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-colindex","aria-expanded","aria-level","aria-selected","aria-rowindex","aria-errormessage"]},owned:{one:["cell","columnheader","rowheader","gridcell"]},nameFrom:["author","contents"],context:["rowgroup","grid","treegrid","table"],implicit:["tr"],unsupported:!1},rowgroup:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-errormessage"]},owned:{all:["row"]},nameFrom:["author","contents"],context:["grid","table","treegrid"],implicit:["tbody","thead","tfoot"],unsupported:!1},rowheader:{type:"structure",attributes:{allowed:["aria-colindex","aria-colspan","aria-expanded","aria-rowindex","aria-rowspan","aria-required","aria-readonly","aria-selected","aria-sort","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["row"],implicit:["th"],unsupported:!1},scrollbar:{type:"widget",attributes:{required:["aria-controls","aria-valuenow"],allowed:["aria-valuetext","aria-orientation","aria-errormessage","aria-valuemax","aria-valuemin"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},search:{type:"landmark",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:{nodeName:["aside","form","section"]}},searchbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="search"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:"text"}}},section:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},sectionhead:{nameFrom:["author","contents"],type:"abstract",unsupported:!1},select:{nameFrom:["author"],type:"abstract",unsupported:!1},separator:{type:"structure",attributes:{allowed:["aria-expanded","aria-orientation","aria-valuenow","aria-valuemax","aria-valuemin","aria-valuetext","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["hr"],unsupported:!1,allowedElements:["li"]},slider:{type:"widget",attributes:{allowed:["aria-valuetext","aria-orientation","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="range"]'],unsupported:!1},spinbutton:{type:"widget",attributes:{allowed:["aria-valuetext","aria-required","aria-readonly","aria-errormessage","aria-valuemax","aria-valuemin"],required:["aria-valuenow"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="number"]'],unsupported:!1,allowedElements:{nodeName:"input",properties:{type:["text","tel"]}}},status:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:["output"],unsupported:!1,allowedElements:["section"]},structure:{type:"abstract",unsupported:!1},switch:{type:"widget",attributes:{allowed:["aria-errormessage"],required:["aria-checked"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1,allowedElements:["button",{nodeName:"input",properties:{type:["checkbox","image","button"]}},{nodeName:"a",attributes:{href:Fg}}]},tab:{type:"widget",attributes:{allowed:["aria-selected","aria-expanded","aria-setsize","aria-posinset","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["tablist"],unsupported:!1,allowedElements:[{nodeName:["button","h1","h2","h3","h4","h5","h6","li"]},{nodeName:"input",properties:{type:"button"}},{nodeName:"a",attributes:{href:Fg}}]},table:{type:"structure",attributes:{allowed:["aria-colcount","aria-rowcount","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author","contents"],context:null,implicit:["table"],unsupported:!1},tablist:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-level","aria-multiselectable","aria-orientation","aria-errormessage"]},owned:{all:["tab"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},tabpanel:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1,allowedElements:["section"]},term:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,implicit:["dt"],unsupported:!1},textbox:{type:"widget",attributes:{allowed:["aria-activedescendant","aria-autocomplete","aria-multiline","aria-readonly","aria-required","aria-placeholder","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['input[type="text"]','input[type="email"]','input[type="password"]','input[type="tel"]','input[type="url"]',"input:not([type])","textarea"],unsupported:!1},timer:{type:"widget",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,unsupported:!1},toolbar:{type:"structure",attributes:{allowed:["aria-activedescendant","aria-expanded","aria-orientation","aria-errormessage"]},owned:null,nameFrom:["author"],context:null,implicit:['menu[type="toolbar"]'],unsupported:!1,allowedElements:["ol","ul"]},tooltip:{type:"structure",attributes:{allowed:["aria-expanded","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:null,unsupported:!1},tree:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-multiselectable","aria-required","aria-expanded","aria-orientation","aria-errormessage"]},owned:{all:["treeitem"]},nameFrom:["author"],context:null,unsupported:!1,allowedElements:["ol","ul"]},treegrid:{type:"composite",attributes:{allowed:["aria-activedescendant","aria-colcount","aria-expanded","aria-level","aria-multiselectable","aria-readonly","aria-required","aria-rowcount","aria-orientation","aria-errormessage"]},owned:{one:["rowgroup","row"]},nameFrom:["author"],context:null,unsupported:!1},treeitem:{type:"widget",attributes:{allowed:["aria-checked","aria-selected","aria-expanded","aria-level","aria-posinset","aria-setsize","aria-errormessage"]},owned:null,nameFrom:["author","contents"],context:["group","tree"],unsupported:!1,allowedElements:["li",{nodeName:"a",attributes:{href:Fg}}]},widget:{type:"abstract",unsupported:!1},window:{nameFrom:["author"],type:"abstract",unsupported:!1}},Cg.implicitHtmlRole=bc,Cg.elementsAllowedNoRole=[{nodeName:["base","body","caption","col","colgroup","datalist","dd","details","dt","head","html","keygen","label","legend","main","map","math","meta","meter","noscript","optgroup","param","picture","progress","script","source","style","template","textarea","title","track"]},{nodeName:"area",attributes:{href:Fg}},{nodeName:"input",properties:{type:["color","data","datatime","file","hidden","month","number","password","range","reset","submit","time","week"]}},{nodeName:"link",attributes:{href:Fg}},{nodeName:"menu",attributes:{type:"context"}},{nodeName:"menuitem",attributes:{type:["command","checkbox","radio"]}},{nodeName:"select",condition:function(e){return e instanceof c.AbstractVirtualNode||(e=c.utils.getNodeFromTree(e)),Number(e.attr("size"))>1},properties:{multiple:!0}},{nodeName:["clippath","cursor","defs","desc","feblend","fecolormatrix","fecomponenttransfer","fecomposite","feconvolvematrix","fediffuselighting","fedisplacementmap","fedistantlight","fedropshadow","feflood","fefunca","fefuncb","fefuncg","fefuncr","fegaussianblur","feimage","femerge","femergenode","femorphology","feoffset","fepointlight","fespecularlighting","fespotlight","fetile","feturbulence","filter","hatch","hatchpath","lineargradient","marker","mask","meshgradient","meshpatch","meshrow","metadata","mpath","pattern","radialgradient","solidcolor","stop","switch","view"]}],Cg.elementsAllowedAnyRole=[{nodeName:"a",attributes:{href:Ag}},{nodeName:"img",attributes:{alt:Ag}},{nodeName:["abbr","address","canvas","div","p","pre","blockquote","ins","del","output","span","table","tbody","thead","tfoot","td","em","strong","small","s","cite","q","dfn","abbr","time","code","var","samp","kbd","sub","sup","i","b","u","mark","ruby","rt","rp","bdi","bdo","br","wbr","th","tr"]}],Cg.evaluateRoleForElement={A:function(e){var t=e.node,r=e.out;return"http://www.w3.org/2000/svg"===t.namespaceURI||(!t.href.length||r)},AREA:function(e){return!e.node.href},BUTTON:function(e){var t=e.node,r=e.role,n=e.out;return"menu"===t.getAttribute("type")?"menuitem"===r:n},IMG:function(e){var t=e.node,r=e.role,n=e.out;switch(t.alt){case null:return n;case"":return"presentation"===r||"none"===r;default:return"presentation"!==r&&"none"!==r}},INPUT:function(e){var t=e.node,r=e.role,n=e.out;switch(t.type){case"button":case"image":return n;case"checkbox":return!("button"!==r||!t.hasAttribute("aria-pressed"))||n;case"radio":return"menuitemradio"===r;case"text":return"combobox"===r||"searchbox"===r||"spinbutton"===r;case"tel":return"combobox"===r||"spinbutton"===r;case"url":case"search":case"email":return"combobox"===r;default:return!1}},LI:function(e){var t=e.node,r=e.out;return!c.utils.matchesSelector(t,"ol li, ul li")||r},MENU:function(e){return"context"!==e.node.getAttribute("type")},OPTION:function(e){var t=e.node;return!c.utils.matchesSelector(t,"select > option, datalist > option, optgroup > option")},SELECT:function(e){var t=e.node,r=e.role;return!t.multiple&&t.size<=1&&"menu"===r},SVG:function(e){var t=e.node,r=e.out;return!(!t.parentNode||"http://www.w3.org/2000/svg"!==t.parentNode.namespaceURI)||r}},Cg.rolesOfType={widget:["button","checkbox","dialog","gridcell","link","log","marquee","menuitem","menuitemcheckbox","menuitemradio","option","progressbar","radio","scrollbar","searchbox","slider","spinbutton","status","switch","tab","tabpanel","textbox","timer","tooltip","tree","treeitem"]};var kg=Cg;var Ng=function(e){var t=null,r=kg.role[e];return r&&r.implicit&&(t=Op(r.implicit)),t};var Rg=function(e){return!!hg(e).length};function _g(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).popupRoles,r=jc(e);if(null!=t||(t=Zl["aria-haspopup"].values),!t.includes(r))return!1;var n=function(e){for(;e=e.parent;)if(null!==jc(e,{noPresentational:!0}))return e;return null}(e);if(Tg(n))return!0;var a=e.props.id;if(!a)return!1;if(!e.actualNode)throw new Error("Unable to determine combobox popup without an actualNode");var o=ms(e.actualNode).querySelectorAll('[aria-owns~="'.concat(a,'"][role~="combobox"]:not(select),\n [aria-controls~="').concat(a,'"][role~="combobox"]:not(select)'));return Array.from(o).some(Tg)}var Tg=function(e){return e&&"combobox"===jc(e)};var Sg=function(e){return e=ps(e),xd(e)};var Og=function(e){var t=nc.ariaRoles[e];return t&&Array.isArray(t.requiredAttrs)?q(t.requiredAttrs):[]};var Mg=function(e){var t=nc.ariaRoles[e];return t&&Array.isArray(t.requiredContext)?q(t.requiredContext):null};var Pg=function(e){var t=nc.ariaRoles[e];return t&&Array.isArray(t.requiredOwned)?q(t.requiredOwned):null};var Ig=function(e,t){var r,n,a=(e=e instanceof ia?e:ps(e)).attr(t),o=nc.ariaAttrs[t];if(!o)return!0;if(o.allowEmpty&&(!a||""===a.trim()))return!0;switch(o.type){case"boolean":return["true","false"].includes(a.toLowerCase());case"nmtoken":return"string"==typeof a&&o.values.includes(a.toLowerCase());case"nmtokens":return(n=em(a)).reduce((function(e,t){return e&&o.values.includes(t)}),0!==n.length);case"idref":try{var i=hs(e.actualNode);return!(!a||!i.getElementById(a))}catch(e){throw new TypeError("Cannot resolve id references for partial DOM")}case"idrefs":return Wl(e,t).some((function(e){return!!e}));case"string":return""!==a.trim();case"decimal":return!(!(r=a.match(/^[-+]?([0-9]*)\.?([0-9]*)$/))||!r[1]&&!r[2]);case"int":var u=void 0!==o.minValue?o.minValue:-1/0;return/^[-+]?[0-9]+$/.test(a)&&parseInt(a)>=u}};var Bg=function(e){return!!nc.ariaAttrs[e]};var Lg=function(e){var t=ng(e),r=this,n=[];t.forEach((function(e){var t=e.getAttribute("headers");t&&(n=n.concat(t.split(/\s+/)));var r=e.getAttribute("aria-labelledby");r&&(n=n.concat(r.split(/\s+/)))}));var a=t.filter((function(e){return""!==mc(e.textContent)&&("TH"===e.nodeName.toUpperCase()||-1!==["rowheader","columnheader"].indexOf(ic(e)))})),o=lc(e),i=!0;return a.forEach((function(e){if(!e.getAttribute("id")||!n.includes(e.getAttribute("id"))){var t=cc(e,o),a=!1;pc(e)&&(a=cg("down",t,o).find((function(t){return!pc(t)&&og(t,o).includes(e)}))),!a&&fc(e)&&(a=cg("right",t,o).find((function(t){return!fc(t)&&og(t,o).includes(e)}))),a||r.relatedNodes(e),i=i&&a}})),!!i||void 0},jg=["cell-header-not-in-table","cell-header-not-th","header-refs-self","empty-hdrs"],qg=jg[0],zg=jg[1],Vg=jg[2],Gg=jg[3];var $g=function(e){var t=[],r=ng(e),n=lc(e);return r.forEach((function(e){Id(e)&&ig(e)&&!Sg(e)&&(og(e,n).some((function(e){return null!==e&&!!Id(e)}))||t.push(e))})),!t.length||(this.relatedNodes(t),!1)};var Hg=function(e,t){var r=e.getAttribute("scope").toLowerCase();return-1!==t.values.indexOf(r)},Ug=function(e,t,r){if(void 0===r.children)return;var n=r.attr("summary"),a=r.children.find(Wg),o=!!a&&mc(ud(a));if(!o||!n)return!1;return mc(n).toLowerCase()===mc(o).toLowerCase()};function Wg(e){return"caption"===e.props.nodeName}var Yg=function(e){return!Vd(s)||"TH"===e.nodeName.toUpperCase()};var Kg=function(e){var t=lc(e),r=t[0];return t.length<=1||r.length<=1||e.rows.length<=1||r.reduce((function(e,t,n){return e||t!==r[n+1]&&void 0!==r[n+1]}),!1)};var Xg=function(e,t,r){if(r.children){var n=r.children.find((function(e){return"title"===e.props.nodeName}));if(!n)return this.data({messageKey:"noTitle"}),!1;try{if(""===ud(n,{includeHidden:!0}).trim())return this.data({messageKey:"emptyTitle"}),!1}catch(e){return}return!0}},Zg={};fe(Zg,{getAriaRolesByType:function(){return wg},getAriaRolesSupportingNameFromContent:function(){return xg},getElementSpec:function(){return Oc},getElementsByContentType:function(){return uc},getGlobalAriaAttrs:function(){return sc},implicitHtmlRoles:function(){return bc}});var Jg=function(e,t,r){var n=r.props.nodeName,a=(r.attr("type")||"").toLowerCase(),o=r.attr("value");return o&&this.data({messageKey:"has-label"}),!("input"!==n||!["submit","reset"].includes(a))&&null===o};var Qg=function(e){return Hs(e)};var ev=function(e,t,r){var n=r.props.nodeName;return!!["img","input","area"].includes(n)&&r.hasAttr("alt")};var tv=function(){};var rv=function(){var e=s.title;return!!mc(e)};var nv=function(e,t){var r=t.cssProperties.filter((function(t){if("important"===e.style.getPropertyPriority(t))return t}));return!(r.length>0)||(this.data(r),!1)};var av=function(e,t,r){try{return!!mc(Kl(r))}catch(e){return}};var ov=function(e,t,r){return!!mc(Xl(r))};var iv=function(e){var t=e.getAttribute("id").trim();if(!t)return!0;var r=hs(e),n=Array.from(r.querySelectorAll('[id="'.concat(xa(t),'"]'))).filter((function(t){return t!==e}));return n.length&&this.relatedNodes(n),this.data(t),0===n.length};var uv=function(e){var t=[];return e.filter((function(e){return-1===t.indexOf(e.data)&&(t.push(e.data),!0)}))};var sv=function(e,t,r){var n=mc(r.attr("title")).toLowerCase();return this.data(n),!0};var lv=function(e){var t={};return e.forEach((function(e){t[e.data]=void 0!==t[e.data]?++t[e.data]:0})),e.forEach((function(e){e.result=!!t[e.data]})),e};var cv=function(e){var t=Ml(e,"href");return!!t&&(Hc(t)||void 0)},dv=["alert","log","status"];function pv(e,t){var r=e.actualNode;if("button"===jc(e)||function(e,t){var r=e.actualNode,n=jc(e),a=(r.getAttribute("aria-live")||"").toLowerCase().trim(),o=wg("landmark");if(["assertive","polite"].includes(a)||dv.includes(n))return!0;if(o.includes(n))return!0;if(t.regionMatcher&&Sc(e,t.regionMatcher))return!0;return!1}(e,t)||["iframe","frame"].includes(e.props.nodeName)||lp(e.actualNode)&&Ml(e.actualNode,"href")||!Hc(r)){for(var n=e;n;)n._hasRegionDescendant=!0,n=n.parent;return["iframe","frame"].includes(e.props.nodeName)?[e]:[]}return r!==s.body&&Id(r,!0)&&!function(e){return["none","presentation"].includes(jc(e))&&!Md(e)}(e)?[e]:e.children.filter((function(e){return 1===e.actualNode.nodeType})).map((function(e){return pv(e,t)})).reduce((function(e,t){return e.concat(t)}),[])}var fv=function(e){var t=e.filter((function(e){return e.data.isIframe}));return e.forEach((function(e){if(!e.result&&1!==e.node.ancestry.length){var r,n=e.node.ancestry.slice(0,-1),a=te(t);try{for(a.s();!(r=a.n()).done;){var o=r.value;if(rh(n,o.node.ancestry)){e.result=o.result;break}}}catch(e){a.e(e)}finally{a.f()}}})),t.forEach((function(e){e.result||(e.result=!0)})),e};function mv(e){switch(e){case"lighter":return 100;case"normal":return 400;case"bold":return 700;case"bolder":return 900}return e=parseInt(e),isNaN(e)?400:e}function hv(e){var t=i.getComputedStyle(function(e){for(var t=e,r=e.textContent.trim(),n=r;n===r&&void 0!==t;){var a=-1;if(0===(e=t).children.length)return e;do{a++,n=e.children[a].textContent.trim()}while(""===n&&a+1<e.children.length);t=e.children[a]}return e}(e));return{fontWeight:mv(t.getPropertyValue("font-weight")),fontSize:parseInt(t.getPropertyValue("font-size")),isItalic:"italic"===t.getPropertyValue("font-style")}}function gv(e,t,r){return r.reduce((function(r,n){return r||(!n.size||e.fontSize/n.size>t.fontSize)&&(!n.weight||e.fontWeight-n.weight>t.fontWeight)&&(!n.italic||e.isItalic&&!t.isItalic)}),!1)}var vv=function(e,t,r){var n=Array.from(e.parentNode.children),a=n.indexOf(e),o=(t=t||{}).margins||[],i=n.slice(a+1).find((function(e){return"P"===e.nodeName.toUpperCase()})),u=n.slice(0,a).reverse().find((function(e){return"P"===e.nodeName.toUpperCase()})),s=hv(e),l=i?hv(i):null,c=u?hv(u):null,d=t.passLength,p=t.failLength,f=e.textContent.trim().length,m=null==i?void 0:i.textContent.trim().length;if(f>m*d)return!0;if(!l||!gv(s,l,o))return!0;var h=vs(r,"blockquote");return!!(h&&"BLOCKQUOTE"===h.nodeName.toUpperCase()||c&&!gv(s,c,o)||f>m*p)&&void 0},bv=/[;,\s]/,yv=/^[0-9.]+$/;var wv=function(e,t,r){return Fh(r,"a[href]").some((function(e){return/^#[^/!]/.test(e.attr("href"))}))},Dv={};fe(Dv,{aria:function(){return dg},color:function(){return xv},dom:function(){return fs},forms:function(){return rb},matches:function(){return Sc},math:function(){return Ks},standards:function(){return Zg},table:function(){return rg},text:function(){return Ul},utils:function(){return ua}});var xv={};fe(xv,{Color:function(){return op},centerPointOfRect:function(){return Ev},elementHasImage:function(){return ep},elementIsDistinct:function(){return Fv},filteredRectStack:function(){return kv},flattenColors:function(){return _v},flattenShadowColors:function(){return Sv},getBackgroundColor:function(){return Kv},getBackgroundStack:function(){return Ov},getContrast:function(){return Jv},getForegroundColor:function(){return Qv},getOwnBackgroundColor:function(){return up},getRectStack:function(){return Cv},getStackingContext:function(){return $v},getStrokeColorsFromShadows:function(){return jv},getTextShadowColors:function(){return Vv},hasValidContrastRatio:function(){return tb},incompleteData:function(){return Qd},parseTextShadows:function(){return zv},stackingContextToColor:function(){return Hv}});var Ev=function(e){if(!(e.left>i.innerWidth||e.top>i.innerHeight))return{x:Math.min(Math.ceil(e.left+e.width/2),i.innerWidth-1),y:Math.min(Math.ceil(e.top+e.height/2),i.innerHeight-1)}};function Av(e){return e.getPropertyValue("font-family").split(/[,;]/g).map((function(e){return e.trim().toLowerCase()}))}var Fv=function(e,t){var r=i.getComputedStyle(e);if("none"!==r.getPropertyValue("background-image"))return!0;if(["border-bottom","border-top","outline"].reduce((function(e,t){var n=new op;return n.parseString(r.getPropertyValue(t+"-color")),e||"none"!==r.getPropertyValue(t+"-style")&&parseFloat(r.getPropertyValue(t+"-width"))>0&&0!==n.alpha}),!1))return!0;var n=i.getComputedStyle(t);if(Av(r)[0]!==Av(n)[0])return!0;var a=["text-decoration-line","text-decoration-style","font-weight","font-style","font-size"].reduce((function(e,t){return e||r.getPropertyValue(t)!==n.getPropertyValue(t)}),!1),o=r.getPropertyValue("text-decoration");return o.split(" ").length<3&&(a=a||o!==n.getPropertyValue("text-decoration")),a};var Cv=function(e){var t=jl(e),r=_d(e);return!r||r.length<=1?[t]:r.some((function(e){return void 0===e}))?null:(r.splice(0,0,t),r)};var kv=function(e){var t=Cv(e);if(t&&1===t.length)return t[0];if(t&&t.length>1){var r,n=t.shift();return t.forEach((function(a,o){if(0!==o){var i=t[o-1],u=t[o];r=i.every((function(e,t){return e===u[t]}))||n.includes(e)}})),r?t[0]:(Qd.set("bgColor","elmPartiallyObscuring"),null)}return Qd.set("bgColor","outsideViewport"),null},Nv=["hue","saturation","color","luminosity"],Rv={normal:function(e,t){return t},multiply:function(e,t){return t*e},screen:function(e,t){return e+t-e*t},overlay:function(e,t){return this["hard-light"](t,e)},darken:function(e,t){return Math.min(e,t)},lighten:function(e,t){return Math.max(e,t)},"color-dodge":function(e,t){return 0===e?0:1===t?1:Math.min(1,e/(1-t))},"color-burn":function(e,t){return 1===e?1:0===t?0:1-Math.min(1,(1-e)/t)},"hard-light":function(e,t){return t<=.5?this.multiply(e,2*t):this.screen(e,2*t-1)},"soft-light":function(e,t){return t<=.5?e-(1-2*t)*e*(1-e):e+(2*t-1)*((e<=.25?((16*e-12)*e+4)*e:Math.sqrt(e))-e)},difference:function(e,t){return Math.abs(e-t)},exclusion:function(e,t){return e+t-2*e*t},hue:function(e,t){return t.setSaturation(e.getSaturation()).setLuminosity(e.getLuminosity())},saturation:function(e,t){return e.setSaturation(t.getSaturation()).setLuminosity(e.getLuminosity())},color:function(e,t){return t.setLuminosity(e.getLuminosity())},luminosity:function(e,t){return e.setLuminosity(t.getLuminosity())}};function _v(e,t){var r,n,a,o=function(e,t,r){if(Nv.includes(r))return Rv[r](e,t);var n=new op;return["r","g","b"].forEach((function(a){n[a]=Rv[r](e[a],t[a])})),n}(t,e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"normal"),i=Tv(e.red,e.alpha,t.red,t.alpha,255*o.r),u=Tv(e.green,e.alpha,t.green,t.alpha,255*o.g),s=Tv(e.blue,e.alpha,t.blue,t.alpha,255*o.b),l=(r=e.alpha+t.alpha*(1-e.alpha),n=0,a=1,Math.min(Math.max(n,r),a));if(0===l)return new op(i,u,s,l);var c=Math.round(i/l),d=Math.round(u/l),p=Math.round(s/l);return new op(c,d,p,l)}function Tv(e,t,r,n,a){return t*(1-n)*e+t*n*a+(1-t)*n*r}function Sv(e,t){var r=e.alpha,n=(1-r)*t.red+r*e.red,a=(1-r)*t.green+r*e.green,o=(1-r)*t.blue+r*e.blue,i=e.alpha+t.alpha*(1-e.alpha);return new op(n,a,o,i)}function Ov(e){for(var t=_d(e).map((function(t){return t=function(e){var t=e.indexOf(s.body),r=e,n=up(i.getComputedStyle(s.documentElement));if(t>1&&0===n.alpha&&!ep(s.documentElement)){t>1&&(r.splice(t,1),r.push(s.body));var a=r.indexOf(s.documentElement);a>0&&(r.splice(a,1),r.push(s.documentElement))}return r}(t=hp(t,e))})),r=0;r<t.length;r++){var n=t[r];if(n[0]!==e)return Qd.set("bgColor","bgOverlap"),null;if(0!==r&&!Mv(n,t[0]))return Qd.set("bgColor","elmPartiallyObscuring"),null}return t[0]||null}function Mv(e,t){if(e===t)return!0;if(null===e||null===t)return!1;if(e.length!==t.length)return!1;for(var r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}var Pv=.54,Iv=.5,Bv=1.5,Lv=["top","right","bottom","left"];function jv(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ignoreEdgeCount,r=void 0!==t&&t,n=function(e){var t,r={},n=te(e);try{for(n.s();!(t=n.n()).done;){var a,o=t.value,i=o.colorStr,u=o.pixels;null!==(a=r[i])&&void 0!==a||(r[i]={top:[],right:[],bottom:[],left:[]});var s=r[i],l=Y(u,2),c=l[0],d=l[1];c>Iv?s.right.push(c):-c>Iv&&s.left.push(-c),d>Iv?s.bottom.push(d):-d>Iv&&s.top.push(-d)}}catch(e){n.e(e)}finally{n.f()}return r}(e),a=Object.entries(n).map((function(e){var t=Y(e,2),r=t[0],n=t[1],a=Lv.filter((function(e){return 0!==n[e].length})).length;return{colorStr:r,sides:n,edgeCount:a}}));return!r&&a.some((function(e){var t=e.edgeCount;return t>1&&t<4}))?null:a.map(qv).filter((function(e){return null!==e}))}function qv(e){var t=e.colorStr,r=e.sides;if(4!==e.edgeCount)return null;var n=new op;n.parseString(t);var a=0,o=!0;return Lv.forEach((function(e){a+=r[e].length/4,o&&(o=r[e].every((function(e){return e>Bv})))})),o||(n.alpha=1-Math.pow(Pv,a)),n}function zv(e){var t={pixels:[]},r=e.trim(),n=[t];if(!r)return[];for(;r;){var a=r.match(/^[a-z]+(\([^)]+\))?/i)||r.match(/^#[0-9a-f]+/i),o=r.match(/^([0-9.-]+)px/i)||r.match(/^(0)/);if(a)wa(!t.colorStr,"Multiple colors identified in text-shadow: ".concat(e)),r=r.replace(a[0],"").trim(),t.colorStr=a[0];else if(o){wa(t.pixels.length<3,"Too many pixel units in text-shadow: ".concat(e)),r=r.replace(o[0],"").trim();var i=parseFloat(("."===o[1][0]?"0":"")+o[1]);t.pixels.push(i)}else{if(","!==r[0])throw new Error("Unable to process text-shadows: ".concat(r));wa(t.pixels.length>=2,"Missing pixel value in text-shadow: ".concat(e)),t={pixels:[]},n.push(t),r=r.substr(1).trim()}}return n.forEach((function(e){var t=e.pixels;2===t.length&&t.push(0)})),n}function Vv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.minRatio,n=t.maxRatio,a=t.ignoreEdgeCount,o=[],u=i.getComputedStyle(e),s=u.getPropertyValue("text-shadow");if("none"===s)return o;var l=u.getPropertyValue("font-size"),c=parseInt(l);wa(!1===isNaN(c),"Unable to determine font-size value ".concat(l));var d,p=[],f=te(zv(s));try{for(f.s();!(d=f.n()).done;){var m=d.value,h=m.colorStr||u.getPropertyValue("color"),g=Y(m.pixels,3),v=g[0],b=g[1],y=g[2],w=void 0===y?0:y;if(!(n&&w>=c*n))if(r&&w<c*r)p.push({colorStr:h,pixels:m.pixels});else{if(p.length>0){var D=jv(p,{ignoreEdgeCount:a});if(null===D)return null;o.push.apply(o,q(D)),p.splice(0,p.length)}var x=Gv({colorStr:h,offsetX:v,offsetY:b,blurRadius:w,fontSize:c});o.push(x)}}}catch(e){f.e(e)}finally{f.f()}if(p.length>0){var E=jv(p,{ignoreEdgeCount:a});if(null===E)return null;o.push.apply(o,q(E))}return o}function Gv(e){var t=e.colorStr,r=e.offsetX,n=e.offsetY,a=e.blurRadius,o=e.fontSize;if(r>a||n>a)return new op(0,0,0,0);var i=new op;return i.parseString(t),i.alpha*=function(e,t){if(0===e)return 1;var r=e/t;return.185/(r+.4)}(a,o),i}function $v(e,t){var r=ps(e);if(r._stackingContext)return r._stackingContext;var n=[],a=new Map;return(t=null!=t?t:Ov(e)).forEach((function(e){var t,r=ps(e),o=function(e){var t=new op;return t.parseString(e.getComputedStylePropertyValue("background-color")),t}(r),i=r._stackingOrder.filter((function(e){return!!e.vNode}));i.forEach((function(e,t){var r,o=e.vNode,u=null===(r=i[t-1])||void 0===r?void 0:r.vNode,s=Yv(a,o,u);0!==t||a.get(o)||n.unshift(s),a.set(o,s)}));var u=null===(t=i[i.length-1])||void 0===t?void 0:t.vNode,s=Yv(a,r,u);i.length||n.unshift(s),s.bgColor=o})),r._stackingContext=n,n}function Hv(e){var t;if(null===(t=e.descendants)||void 0===t||!t.length){var r=e.bgColor;return r.alpha*=e.opacity,{color:r,blendMode:e.blendMode}}var n=_v(e.descendants.reduce(Uv,Wv()),e.bgColor,e.descendants[0].blendMode);return n.alpha*=e.opacity,{color:n,blendMode:e.blendMode}}function Uv(e,t){var r;return r=e instanceof op?e:Hv(e).color,_v(Hv(t).color,r,t.blendMode)}function Wv(e,t){var r,n;return{vNode:e,ancestor:t,opacity:parseFloat(null!==(r=null==e?void 0:e.getComputedStylePropertyValue("opacity"))&&void 0!==r?r:1),bgColor:new op(0,0,0,0),blendMode:(n=null==e?void 0:e.getComputedStylePropertyValue("mix-blend-mode"),n||void 0),descendants:[]}}function Yv(e,t,r){var n,a=e.get(r),o=null!==(n=e.get(t))&&void 0!==n?n:Wv(t,a);return a&&r!==t&&!a.descendants.includes(o)&&a.descendants.unshift(o),o}function Kv(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.1,n=ps(e),a=n._cache.getBackgroundColor;if(a)return t.push.apply(t,q(a.bgElms)),Qd.set("bgColor",a.incompleteData),a.bgColor;var o=function(e,t,r){var n,a,o=Ov(e);if(!o)return null;var u=Nd(e),l=null!==(n=Vv(e,{minRatio:r,ignoreEdgeCount:!0}))&&void 0!==n?n:[];l.length&&(l=[{color:l.reduce(Sv)}]);for(var c=0;c<o.length;c++){var d=o[c],p=i.getComputedStyle(d);if(ep(d,p))return t.push(d),null;var f=void 0;try{if(0===(f=up(p)).alpha)continue}catch(e){if(e&&Qd.get("colorParse"))return null;throw e}if("inline"!==p.getPropertyValue("display")&&!Xv(d,u))return t.push(d),Qd.set("bgColor","elmPartiallyObscured"),null;if(t.push(d),1===f.alpha)break}var m=$v(e,o);l=m.map(Hv).concat(l);var h=function(e,t){var r=[];if(!t){var n=s.documentElement,a=s.body,o=i.getComputedStyle(n),u=i.getComputedStyle(a),l=up(o),c=up(u),d=0!==c.alpha&&Xv(a,e.getBoundingClientRect());(0!==c.alpha&&0===l.alpha||d&&1!==c.alpha)&&r.unshift({color:c,blendMode:Zv(u.getPropertyValue("mix-blend-mode"))}),0!==l.alpha&&(!d||d&&1!==c.alpha)&&r.unshift({color:l,blendMode:Zv(o.getPropertyValue("mix-blend-mode"))})}return r}(e,o.includes(s.body));if((a=l).unshift.apply(a,q(h)),0===l.length)return new op(255,255,255,1);var g=l.reduce((function(e,t){return _v(t.color,e.color instanceof op?e.color:e,t.blendMode)}));return _v(g.color instanceof op?g.color:g,new op(255,255,255,1))}(e,t,r);return n._cache.getBackgroundColor={bgColor:o,bgElms:t,incompleteData:Qd.get("bgColor")},o}function Xv(e,t){t=Array.isArray(t)?t:[t];var r=e.getBoundingClientRect(),n=r.right,a=r.bottom,o=i.getComputedStyle(e),u=o.getPropertyValue("overflow"),s=parseInt(o.getPropertyValue("padding-left"),10),l=parseInt(o.getPropertyValue("padding-right"),10),c=parseInt(o.getPropertyValue("padding-top"),10),d=parseInt(o.getPropertyValue("padding-bottom"),10);return(["scroll","auto"].includes(u)||e instanceof i.HTMLHtmlElement)&&(n=r.left+e.scrollWidth+s+l,a=r.top+e.scrollHeight+c+d),t.every((function(e){return e.top>=r.top&&e.bottom<=a&&e.left>=r.left&&e.right<=n}))}function Zv(e){return e||void 0}var Jv=function(e,t){if(!t||!e)return null;t.alpha<1&&(t=_v(t,e));var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(n,r)+.05)/(Math.min(n,r)+.05)};function Qv(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.getComputedStyle(e),o=[function(){return function(e,t){var r=t.textStrokeEmMin,n=void 0===r?0:r,a=parseFloat(e.getPropertyValue("-webkit-text-stroke-width"));if(0===a)return null;var o=e.getPropertyValue("font-size"),i=a/parseFloat(o);if(isNaN(i)||i<n)return null;var u=e.getPropertyValue("-webkit-text-stroke-color");return(new op).parseString(u)}(a,n)},function(){return function(e){return(new op).parseString(e.getPropertyValue("-webkit-text-fill-color")||e.getPropertyValue("color"))}(a)},function(){return Vv(e,{minRatio:0})}],u=[];try{for(var s=0,l=o;s<l.length;s++){var c=(0,l[s])();if(c&&(u=u.concat(c),1===c.alpha))break}}catch(e){if(e&&Qd.get("colorParse"))return null;throw e}var d=u.reduce((function(e,t){return _v(e,t)}));if(null!=r||(r=Kv(e,[])),null===r){var p=Qd.get("bgColor");return Qd.set("fgColor",p),null}var f=$v(e);return _v(function(e,t,r){for(;t;){var n;if(1===t.opacity&&t.ancestor)t=t.ancestor;else{e.alpha*=t.opacity;var a=(null===(n=t.ancestor)||void 0===n?void 0:n.descendants)||r;1!==t.opacity&&(a=a.slice(0,a.indexOf(t)));var o=a.map(Hv);if(o.length){var i=o.reduce((function(e,t){return _v(t.color,e.color instanceof op?e.color:e)}),{color:new op(0,0,0,0),blendMode:"normal"});e=_v(e,i),t=t.ancestor}else t=t.ancestor}}return e}(d,eb(f,e),f),new op(255,255,255,1))}function eb(e,t){var r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a,o=r.value;if((null===(a=o.vNode)||void 0===a?void 0:a.actualNode)===t)return o;var i=eb(o.descendants,t);if(i)return i}}catch(e){n.e(e)}finally{n.f()}}var tb=function(e,t,r,n){var a=Jv(e,t),o=n&&Math.ceil(72*r)/96<14||!n&&Math.ceil(72*r)/96<18?4.5:3;return{isValid:a>o,contrastRatio:a,expectedContrastRatio:o}},rb={};fe(rb,{isAriaCombobox:function(){return Qc},isAriaListbox:function(){return Jc},isAriaRange:function(){return td},isAriaTextbox:function(){return Zc},isDisabled:function(){return ab},isNativeSelect:function(){return Xc},isNativeTextbox:function(){return Kc}});var nb=["fieldset","button","select","input","textarea"];var ab=function e(t){var r=t._isDisabled;if("boolean"==typeof r)return r;var n=t.props.nodeName,a=t.attr("aria-disabled");return r=!(!nb.includes(n)||!t.hasAttr("disabled"))||(a?"true"===a.toLowerCase():!!t.parent&&e(t.parent)),t._isDisabled=r,r};var ob=function(e,t,r){var n=Ul.accessibleTextVirtual(r),a=Ul.sanitize(Ul.removeUnicode(n,{emoji:!0,nonBmp:!0,punctuations:!0})).toLowerCase();if(a){var o={name:a,urlProps:fs.urlPropsFromAttribute(e,"href")};return this.data(o),this.relatedNodes([e]),!0}};function ib(e,t){if(!e||!t)return!1;var r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertyNames(t);return r.length===n.length&&r.every((function(r){var n=e[r],a=t[r];return l(n)===l(a)&&("object"===l(n)||"object"===l(a)?ib(n,a):n===a)}))}var ub=function(e){if(e.length<2)return e;for(var t=e.filter((function(e){return void 0!==e.result})),r=[],n={},a=function(e){var a,o=t[e],i=o.data,u=i.name,s=i.urlProps;if(n[u])return 1;var l=t.filter((function(t,r){return t.data.name===u&&r!==e})),c=l.every((function(e){return ib(e.data.urlProps,s)}));l.length&&!c&&(o.result=void 0),o.relatedNodes=[],(a=o.relatedNodes).push.apply(a,q(l.map((function(e){return e.relatedNodes[0]})))),n[u]=l,r.push(o)},o=0;o<t.length;o++)a(o);return r};function sb(e){var t=jc(e),r=t&&t.includes("heading"),n=e.attr("aria-level"),a=parseInt(n,10),o=Y(e.props.nodeName.match(/h(\d)/)||[],2)[1];return r?o&&!n?parseInt(o,10):isNaN(a)||a<1?o?parseInt(o,10):2:a||-1:-1}var lb=function(){var e=ds.get("headingOrder");if(e)return!0;var t=mh(c._tree[0],"h1, h2, h3, h4, h5, h6, [role=heading], iframe, frame",Hc);return e=t.map((function(e){return{ancestry:[is(e.actualNode)],level:sb(e)}})),this.data({headingOrder:e}),ds.set("headingOrder",t),!0};function cb(e,t){var r,n=null===(r=t.data)||void 0===r?void 0:r.headingOrder,a=pb(t.node.ancestry,1);if(!n)return e;var o=n.map((function(e){return function(e,t){var r=t.concat(e.ancestry);return j({},e,{ancestry:r})}(e,a)})),i=function(e,t){for(;t.length;){var r=db(e,t);if(-1!==r)return r;t=pb(t,1)}return-1}(e,a);return-1===i?e.push.apply(e,q(o)):e.splice.apply(e,[i,0].concat(q(o))),e}function db(e,t){return e.findIndex((function(e){return rh(e.ancestry,t)}))}function pb(e,t){return e.slice(0,e.length-t)}function fb(e,t){var r=e.boundingClientRect,n=t.boundingClientRect;return r.top>=n.top&&r.left>=n.left&&r.bottom<=n.bottom&&r.right<=n.right}function mb(e){return e.getComputedStylePropertyValue("pointer-events")}function hb(e){return{width:Math.round(10*e.width)/10,height:Math.round(10*e.height)/10}}function gb(e,t){return Yf(e,t)&&!Gl(t)}function vb(e){return e.map((function(e){return e.actualNode}))}var bb=function(e,t,r){var n=t||{},a=n.scaleMinimum,o=void 0===a?2:a,i=n.lowerBound,u=void 0!==i&&i,s=r.attr("content")||"";if(!s)return!0;var l=s.split(/[;,]/).reduce((function(e,t){var r=t.trim();if(!r)return e;var n=Y(r.split("="),2),a=n[0],o=n[1];if(!a||!o)return e;var i=a.toLowerCase().trim(),u=o.toLowerCase().trim();return"maximum-scale"===i&&"yes"===u&&(u=1),"maximum-scale"===i&&parseFloat(u)<0||(e[i]=u),e}),{});if(u&&l["maximum-scale"]&&parseFloat(l["maximum-scale"])<u)return!0;if(!u&&"no"===l["user-scalable"])return this.data("user-scalable=no"),!1;var c=parseFloat(l["user-scalable"]);return!u&&l["user-scalable"]&&(c||0===c)&&c>-1&&c<1?(this.data("user-scalable"),!1):!(l["maximum-scale"]&&parseFloat(l["maximum-scale"])<o)||(this.data("maximum-scale"),!1)};var yb=function(e,t,r,n){var a=(n||{}).cssom,o=void 0===a?void 0:a,i=(t||{}).degreeThreshold,u=void 0===i?0:i;if(o&&o.length){for(var s=!1,l=[],c=o.reduce((function(e,t){var r=t.sheet,n=t.root,a=t.shadowId,o=a||"topDocument";if(e[o]||(e[o]={root:n,rules:[]}),!r||!r.cssRules)return e;var i=Array.from(r.cssRules);return e[o].rules=e[o].rules.concat(i),e}),{}),d=function(){var e=f[p],t=c[e],r=t.root,n=t.rules.filter(m);if(!n.length)return 1;n.forEach((function(e){var t=e.cssRules;Array.from(t).forEach((function(e){var t=function(e){var t=e.selectorText,r=e.style;if(!t||r.length<=0)return!1;var n=r.transform||r.webkitTransform||r.msTransform||!1;if(!n&&!r.rotate)return!1;var a=function(e){if(!e)return 0;var t=e.match(/(rotate|rotateZ|rotate3d|matrix|matrix3d)\(([^)]+)\)(?!.*(rotate|rotateZ|rotate3d|matrix|matrix3d))/);if(!t)return 0;var r=Y(t,3),n=r[1],a=r[2];return h(n,a)}(n),o=h("rotate",r.rotate),i=a+o;if(!i)return!1;if(i=Math.abs(i),Math.abs(i-180)%180<=u)return!1;return Math.abs(i-90)%90<=u}(e);if(t&&"HTML"!==e.selectorText.toUpperCase()){var n=Array.from(r.querySelectorAll(e.selectorText))||[];l=l.concat(n)}s=s||t}))}))},p=0,f=Object.keys(c);p<f.length;p++)d();return!s||(l.length&&this.relatedNodes(l),!1)}function m(e){var t=e.type,r=e.cssText;return 4===t&&(/orientation:\s*landscape/i.test(r)||/orientation:\s*portrait/i.test(r))}function h(e,t){switch(e){case"rotate":case"rotateZ":return g(t);case"rotate3d":var r=Y(t.split(",").map((function(e){return e.trim()})),4),n=r[2],a=r[3];if(0===parseInt(n))return;return g(a);case"matrix":case"matrix3d":return function(e){var t=e.split(",");if(t.length<=6){var r=Y(t,2),n=r[0],a=r[1];return v(Math.atan2(parseFloat(a),parseFloat(n)))}var o=parseFloat(t[8]),i=Math.asin(o),u=Math.cos(i);return v(Math.acos(parseFloat(t[0])/u))}(t);default:return 0}}function g(e){var t=Y(e.match(/(deg|grad|rad|turn)/)||[],1)[0];if(!t)return 0;var r,n=parseFloat(e.replace(t,""));switch(t){case"rad":return v(n);case"grad":return function(e){(e%=400)<0&&(e+=400);return Math.round(e/400*360)}(n);case"turn":return r=n,Math.round(360/(1/r));default:return parseInt(n)}}function v(e){return Math.round(e*(180/Math.PI))}};var wb=function(e,t){var r=e.hasAttribute("controls");if(e.hasAttribute("loop"))return r;if(e.duration){var n=t.allowedDuration,a=void 0===n?3:n;return function(e){if(!e.currentSrc)return 0;var t=function(e){var t=e.match(/#t=(.*)/);if(!t)return;return Y(t,2)[1].split(",").map((function(e){return/:/.test(e)?function(e){var t=e.split(":"),r=0,n=1;for(;t.length>0;)r+=n*parseInt(t.pop(),10),n*=60;return parseFloat(r)}(e):parseFloat(e)}))}(e.currentSrc);if(!t)return Math.abs(e.duration-(e.currentTime||0));if(1===t.length)return Math.abs(e.duration-t[0]);return Math.abs(t[1]-t[0])}(e)<=a||!!r}console.warn("axe.utils.preloadMedia did not load metadata")};var Db=function(e,t){return!t.isViolation&&void 0};var xb=function(e){var t={};return e.filter((function(e){if("html"!==e.node.ancestry[e.node.ancestry.length-1]){var r=e.node.ancestry.flat(1/0).join(" > ");return t[r]=e,!0}var n=e.node.ancestry.slice(0,e.node.ancestry.length-1).flat(1/0).join(" > ");return t[n]&&(t[n].result=!0),!1}))};var Eb=function(e,t,r){return!Fh(r,"track").some((function(e){return"captions"===(e.attr("kind")||"").toLowerCase()}))&&void 0};var Ab=function(e,t,r){var n=r.children;if(!n||!n.length)return!1;for(var a,o=!1,i=!1,u=0;u<n.length;u++){if("DT"===(a=n[u].props.nodeName.toUpperCase())&&(o=!0),o&&"DD"===a)return!1;"DD"===a&&(i=!0)}return o||i};var Fb=function(e,t,r){var n=!1,a=!1,o=!0,i=[],u=[],s=[];return r.children.forEach((function(e){var t=e.actualNode;if(3!==t.nodeType||""===t.nodeValue.trim()){if(1===t.nodeType&&Hc(t)){o=!1;var r="LI"===t.nodeName.toUpperCase(),l=jc(e),c="listitem"===l;r||c||i.push(t),r&&!c&&(u.push(t),s.includes(l)||s.push(l)),c&&(a=!0)}}else n=!0})),n||i.length?(this.relatedNodes(i),!0):!o&&!a&&(this.relatedNodes(u),this.data({messageKey:"roleNotValid",roles:s.join(", ")}),!0)};function Cb(e,t,r){var n=r.validRoles,a=void 0===n?[]:n,o=r.validNodeNames,i=void 0===o?[]:o,u=e.props,s=u.nodeName,l=u.nodeType,c=u.nodeValue,d=t?"div > ":"";if(3===l&&""!==c.trim())return d+"#text";if(1!==l||!Hc(e))return!1;var p=ic(e);return p?!a.includes(p)&&d+"[role=".concat(p,"]"):!i.includes(s)&&d+s}function kb(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return e.map((function(e){return{vChild:e,nested:t}}))}var Nb=function(e){var t=js(e),r=t.nodeName.toUpperCase(),n=ic(t);return"DIV"===r&&["presentation","none",null].includes(n)&&(r=(t=js(t)).nodeName.toUpperCase(),n=ic(t)),"DL"===r&&!(n&&!["presentation","none","list"].includes(n))};var Rb=function(e,t,r){return dm(r.attr("lang"))===dm(r.attr("xml:lang"))};var _b=function(e,t,r){var n=[];return t.attributes.forEach((function(e){var a=r.attr(e);if("string"==typeof a){var o=dm(a),i=t.value?!t.value.map(dm).includes(o):!Gh(o);(""!==o&&i||""!==a&&!mc(a))&&n.push(e+'="'+r.attr(e)+'"')}})),!!n.length&&(!("html"!==r.props.nodeName&&!Bd(r))&&(this.data(n),!0))};function Tb(e){return""!==(e||"").trim()}var Sb=function(e,t,r){var n=void 0!==s&&zu(s);return t.attributes.includes("xml:lang")&&t.attributes.includes("lang")&&Tb(r.attr("xml:lang"))&&!Tb(r.attr("lang"))&&!n?(this.data({messageKey:"noXHTML"}),!1):!!t.attributes.some((function(e){return Tb(r.attr(e))}))||(this.data({messageKey:"noLang"}),!1)};var Ob=function(e,t,r){var n=jc(e),a=gd(r);return a=a?a.toLowerCase():null,this.data({role:n,accessibleText:a}),this.relatedNodes([e]),!0};var Mb=function(e){var t=[];return e.filter((function(e){var r=t.find((function(t){return e.data.role===t.data.role&&e.data.accessibleText===t.data.accessibleText}));return r?(r.result=!1,r.relatedNodes.push(e.relatedNodes[0]),!1):(t.push(e),e.relatedNodes=[],!0)}))};var Pb=function(e,t,r){var n=Ad(r),a=zc(r),o=r.attr("aria-describedby");return!(n||!a&&!o)};var Ib=function(e){var t=xa(e.getAttribute("id")),r=e.parentNode,n=hs(e);n=n.documentElement||n;var a=Array.from(n.querySelectorAll('label[for="'.concat(t,'"]')));for(a.length&&(a=a.filter((function(e){return!Is(e)})));r;)"LABEL"===r.nodeName.toUpperCase()&&-1===a.indexOf(r)&&a.push(r),r=r.parentNode;if(this.relatedNodes(a),a.length>1){var o=a.filter((function(e){return Hc(e)}));if(o.length>1)return;return!Wl(e,"aria-labelledby").includes(o[0])&&void 0}return!1};function Bb(e){var t=bd(e,{emoji:!0,nonBmp:!0,punctuations:!0});return mc(t)}var Lb=function(e,t,r){var n,a,o,i,u=null==t?void 0:t.pixelThreshold,s=null!==(n=null==t?void 0:t.occurrenceThreshold)&&void 0!==n?n:null==t?void 0:t.occuranceThreshold,l=Yl(e).toLowerCase(),c=mc(ud(r,{subtreeDescendant:!0,ignoreIconLigature:!0,pixelThreshold:u,occurrenceThreshold:s})).toLowerCase();return!c||(yd(l)<1||yd(c)<1?void 0:(a=c,o=Bb(l),i=Bb(a),!(!o||!i)&&o.includes(i)))};var jb=function(e,t,r){try{var n=Kp(r,"label");if(n){var a=mc(gd(n,{inControlContext:!0,startNode:r}));return n.actualNode&&this.relatedNodes([n.actualNode]),this.data({implicitLabel:a}),!!a}return!1}catch(e){return}};var qb=function(e,t,r){if(r.hasAttr("id")){if(!r.actualNode)return;var n=hs(e),a=xa(e.getAttribute("id")),o=n.querySelector('label[for="'.concat(a,'"]'));if(o&&!Hc(o)){var i;try{i=gd(r).trim()}catch(e){return}return""===i}}return!1};var zb=function(e,t,r){var n=Ad(r),a=e.getAttribute("title");return!!n&&(a||(a="",e.getAttribute("aria-describedby")&&(a=Wl(e,"aria-describedby").map((function(e){return e?Yl(e):""})).join(""))),mc(a)===mc(n))};var Vb=function(e,t,r){var n=this;if(!r.attr("id"))return!1;if(r.actualNode){var a=hs(r.actualNode),o=xa(r.attr("id")),i=Array.from(a.querySelectorAll('label[for="'.concat(o,'"]')));if(this.relatedNodes(i),!i.length)return!1;try{return i.some((function(e){if(Hs(e)){var t=mc(Yl(e,{inControlContext:!0,startNode:r}));return n.data({explicitLabel:t}),!!t}return!0}))}catch(e){return}}};var Gb=function(e,t,r){if(["none","presentation"].includes(jc(r)))return!1;var n=Kp(r,t.parentSelector);if(!n)return!1;var a=Wc(n,!0).toLowerCase();return""!==a&&a===gd(r).toLowerCase()};var $b=function(e,t,r){var n=r.attr("alt");return"string"==typeof n&&/^\s+$/.test(n)};var Hb=function(e,t,r){var n=sh(r.attr("tabindex"));return null===n||n<=0};function Ub(e){if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return[]}var t=[];return e.children.forEach((function(e){"widget"===Gd(e)&&Vl(e)?t.push(e):t.push.apply(t,q(Ub(e)))})),t}function Wb(e){var t=sh(e.attr("tabindex"));return null!==t&&t<0}var Yb=function(e){var t=wg("landmark"),r=js(e),n=jc(e);for(this.data({role:n});r;){var a=ic(r);if(a||"FORM"===r.nodeName.toUpperCase()||(a=Mc(r)),a&&t.includes(a)&&("main"!==a||"complementary"!==n))return!1;r=js(r)}return!0};function Kb(e){if(Gl(e))return!0;if(!e.children){if(1===e.props.nodeType)throw new Error("Cannot determine children");return!1}return e.children.some((function(e){return Kb(e)}))}var Xb=function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return!n.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!Yd())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t}))&&void 0};var Zb=function(e,t,r){if(!Gl(r))return!1;try{return!gd(r)}catch(e){return}};var Jb=function(e,t,r){var n=r.tabbableElements.map((function(e){return e.actualNode}));return!n||!n.length||(!Yd()||void this.relatedNodes(n))};var Qb=function(e,t,r){return!(!r.hasAttr("contenteditable")||!function e(t){var n=t.attr("contenteditable");if("true"===n||""===n)return!0;if("false"===n)return!1;var a=Kp(r.parent,"[contenteditable]");if(!a)return!1;return e(a)}(r))||Gl(r)};var ey=function(e,t,r){var n=["button","fieldset","input","select","textarea"],a=r.tabbableElements;if(!a||!a.length)return!0;var o=a.filter((function(e){return n.includes(e.props.nodeName)}));return this.relatedNodes(o.map((function(e){return e.actualNode}))),!(0!==o.length&&!Yd())||!!o.every((function(e){var t=e.getComputedStylePropertyValue("pointer-events"),r=parseInt(e.getComputedStylePropertyValue("width")),n=parseInt(e.getComputedStylePropertyValue("height"));return e.actualNode.onfocus||(0===r||0===n)&&"none"===t}))&&void 0};var ty=function(e,t,r){var n=r.tabbableElements;return!!n&&n.filter((function(e){return e!==r})).length>0};var ry=function(e,t,r){return Is(r)||(this.data(r.attr("accesskey")),this.relatedNodes([e])),!0};var ny=function(e){var t={};return e.filter((function(e){if(!e.data)return!1;var r=e.data.toUpperCase();return t[r]?(t[r].relatedNodes.push(e.relatedNodes[0]),!1):(t[r]=e,e.relatedNodes=[],!0)})).map((function(e){return e.result=!!e.relatedNodes.length,e}))};var ay=function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("page-no-duplicate requires options.selector to be a string");var n="page-no-duplicate;"+t.selector;if(!ds.get(n)){ds.set(n,!0);var a=mh(c._tree[0],t.selector,(function(e){return Hc(e)}));return"string"==typeof t.nativeScopeFilter&&(a=a.filter((function(e){return e.actualNode.hasAttribute("role")||!vs(e,t.nativeScopeFilter)}))),"string"==typeof t.role&&(a=a.filter((function(e){return jc(e)===t.role}))),this.relatedNodes(a.filter((function(e){return e!==r})).map((function(e){return e.actualNode}))),a.length<=1}this.data("ignored")};var oy=function(e){return e.filter((function(e){return"ignored"!==e.data}))};var iy=function(e,t,r){return Sc(r,t.matcher)};var uy=function(e,t,r){if(!t||!t.selector||"string"!=typeof t.selector)throw new TypeError("has-descendant requires options.selector to be a string");if(t.passForModal&&Yd())return!0;var n=mh(r,t.selector,(function(e){return Hc(e)}));return this.relatedNodes(n.map((function(e){return e.actualNode}))),n.length>0};var sy=function(e){return e.some((function(e){return!0===e.result}))&&e.forEach((function(e){e.result=!0})),e};var ly=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;if(!t.attribute||"string"!=typeof t.attribute)throw new TypeError("attr-non-space-content requires options.attribute to be a string");if(!r.hasAttr(t.attribute))return this.data({messageKey:"noAttr"}),!1;var n=r.attr(t.attribute);return!!mc(n)||(this.data({messageKey:"emptyAttr"}),!1)};var cy=function(e,t,r){var n=r.attr("autocomplete")||"";return Dd(n,t)};var dy=function(e,t,r){if("input"!==r.props.nodeName)return!0;var n=["text","search","number","tel"],a=["text","search","url"],o={bday:["text","search","date"],email:["text","search","email"],username:["text","search","email"],"street-address":["text"],tel:["text","search","tel"],"tel-country-code":["text","search","tel"],"tel-national":["text","search","tel"],"tel-area-code":["text","search","tel"],"tel-local":["text","search","tel"],"tel-local-prefix":["text","search","tel"],"tel-local-suffix":["text","search","tel"],"tel-extension":["text","search","tel"],"cc-number":n,"cc-exp":["text","search","month","tel"],"cc-exp-month":n,"cc-exp-year":n,"cc-csc":n,"transaction-amount":n,"bday-day":n,"bday-month":n,"bday-year":n,"new-password":["text","search","password"],"current-password":["text","search","password"],url:a,photo:a,impp:a};"object"===l(t)&&Object.keys(t).forEach((function(e){o[e]||(o[e]=[]),o[e]=o[e].concat(t[e])}));var i=r.attr("autocomplete").split(/\s+/g).map((function(e){return e.toLowerCase()})),u=i[i.length-1];if(wd.stateTerms.includes(u))return!0;var s=o[u],c=r.hasAttr("type")?mc(r.attr("type")).toLowerCase():"text";return c=qh().includes(c)?c:"text",void 0===s?"text"===c:s.includes(c)},py=["block","list-item","table","flex","grid","inline-block"];function fy(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==py.indexOf(t)||"table-"===t.substr(0,6)}function my(e,t){var r=e.getRelativeLuminance(),n=t.getRelativeLuminance();return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}var hy=["block","list-item","table","flex","grid","inline-block"];function gy(e){var t=i.getComputedStyle(e).getPropertyValue("display");return-1!==hy.indexOf(t)||"table-"===t.substr(0,6)}var vy=function(e,t){var r=t.requiredContrastRatio,n=t.allowSameColor;if(gy(e))return!1;for(var a=js(e);a&&1===a.nodeType&&!gy(a);)a=js(a);if(a){this.relatedNodes([a]);var o=Qv(e),i=Qv(a),u=Kv(e),s=Kv(a),l=o&&i?my(o,i):void 0;if(l&&(l=Math.floor(100*l)/100),l&&l>=r)return!0;var c=u&&s?my(u,s):void 0;if(c&&(c=Math.floor(100*c)/100),c&&c>=r)return!0;if(!c){var d,p=null!==(d=Qd.get("bgColor"))&&void 0!==d?d:"bgContrast";return this.data({messageKey:p}),void Qd.clear()}if(l)return!(!n||1!==l||1!==c)||(1===l&&c>1?(this.data({messageKey:"bgContrast",contrastRatio:c,requiredContrastRatio:r,nodeBackgroundColor:u?u.toHexString():void 0,parentBackgroundColor:s?s.toHexString():void 0}),!1):(this.data({messageKey:"fgContrast",contrastRatio:l,requiredContrastRatio:r,nodeColor:o?o.toHexString():void 0,parentColor:i?i.toHexString():void 0}),!1))}};var by=qu((function(e,t){var r=i.getComputedStyle(e,t),n=function(e,t){return r.getPropertyValue(e)===t};if(n("content","none")||n("display","none")||n("visibility","hidden")||!1===n("position","absolute"))return 0;if(0===up(r).alpha&&n("background-image","none"))return 0;var a=yy(r.getPropertyValue("width")),o=yy(r.getPropertyValue("height"));return"px"!==a.unit||"px"!==o.unit?0===a.value||0===o.value?0:1/0:a.value*o.value}));function yy(e){var t=Y(e.match(/^([0-9.]+)([a-z]+)$/i)||[],3),r=t[1],n=void 0===r?"":r,a=t[2],o=void 0===a?"":a;return{value:parseFloat(n),unit:o.toLowerCase()}}var wy={ARTICLE:!0,ASIDE:!0,NAV:!0,SECTION:!0},Dy={alert:!0,alertdialog:!0,application:!0,article:!0,banner:!1,complementary:!0,contentinfo:!0,dialog:!0,form:!0,log:!0,main:!0,navigation:!0,region:!0,search:!1,status:!0,tabpanel:!0};var xy=function(e,t){return function(e,t){var r=ic(e);return r&&(Dy[r]||t.roles.includes(r))||!1}(e,t)||function(e){var t=e.nodeName.toUpperCase();return wy[t]||!1}(e)};var Ey=function(e,t,r){var n=jc(r,{dpub:!0,fallback:!0}),a=ac(n);return a&&this.data(n),a};var Ay=function(e,t,r){var n,a,o=jc(r,{noImplicit:!0});this.data(o);try{n=mc(sd(r)).toLowerCase(),a=mc(gd(r)).toLowerCase()}catch(e){return}return!(!a&&!n)&&(!((a||!n)&&a.includes(n))&&void 0)};var Fy=function(e,t,r){return Vl(r)};var Cy=function(e,t,r){var n=em(r.attr("role"));return!!n.every((function(e){return!oc(e.toLowerCase(),{allowAbstract:!0})}))&&(this.data(n),!0)};var ky=function(e,t,r){var n=ic(r);if(null===n)return!1;var a=Gd(n);return"widget"===a||"composite"===a};var Ny=function(e,t,r){var n=sc().filter((function(e){return r.hasAttr(e)}));return this.data(n),n.length>0};var Ry=function(e,t,r){var n=em(r.attr("role"));return!(n.length<=1)&&(!function(e,t){return!Mc(e)&&2===t.length&&t.includes("none")&&t.includes("presentation")}(r,n)||void 0)};var _y=function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n=[],a=/^aria-/;return r.attrNames.forEach((function(e){-1===t.indexOf(e)&&a.test(e)&&!Bg(e)&&n.push(e)})),!n.length||(this.data(n),!1)};var Ty=function(e,t,r){var n=r.attrNames.filter((function(t){var r=nc.ariaAttrs[t];if(!Bg(t))return!1;var n=r.unsupported;return"object"!==l(n)?!!n:!Sc(e,n.exceptions)}));return!!n.length&&(this.data(n),!0)};var Sy=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=jc(arguments.length>2?arguments[2]:void 0);return!!(t.supportedRoles||[]).includes(r)||!(!r||"presentation"===r||"none"===r)&&void 0};function Oy(e,t,r,n){var a=ic(e);if(r||(r=Mg(a)),!r)return null;for(var o=r.includes("group"),i=n?e:e.parent;i;){var u=jc(i,{noPresentational:!0});if(u){if("group"!==u||!o)return r.includes(u)?null:r;t.includes(a)&&r.push(a),r=r.filter((function(e){return"group"!==e})),i=i.parent}else i=i.parent}return r}var My=function(e,t,r){var n=t&&Array.isArray(t.ownGroupRoles)?t.ownGroupRoles:[],a=Oy(r,n);if(!a)return!0;var o=function(e){for(var t=[],r=null;e;){if(e.getAttribute("id")){var n=xa(e.getAttribute("id"));(r=hs(e).querySelector("[aria-owns~=".concat(n,"]")))&&t.push(r)}e=e.parentElement}return t.length?t:null}(e);if(o)for(var i=0,u=o.length;i<u;i++)if(!(a=Oy(ps(o[i]),n,a,!0)))return!0;return this.data(a),!1};function Py(e){var t=e.vNode;return 3===t.props.nodeType?t.props.nodeValue.trim().length>0:Pd(t,!1,!0)}var Iy=qu((function(e){if(e){var t=jc(e,{noPresentational:!0,chromium:!0});return t?Gd(t):Iy(e.parent)}}));var By=function(e,t,r){var n=r.attr("aria-level");if(!(parseInt(n,10)>6))return!0};var Ly=function(e,t,r){return"true"!==r.attr("aria-hidden")};function jy(e){var t,r,n=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).invalidTableRowAttrs,a=arguments.length>2?arguments[2]:void 0,o=null!==(t=null==n||null===(r=n.filter)||void 0===r?void 0:r.call(n,(function(e){return a.hasAttr(e)})))&&void 0!==t?t:[];if(0===o.length)return!0;var i=function(e){if(!e.parent)return;return Kp(e,'table:not([role]), [role~="treegrid"], [role~="table"], [role~="grid"]')}(a),u=i&&jc(i);if(!u||"treegrid"===u)return!0;var s="row".concat(o.length>1?"Plural":"Singular");return this.data({messageKey:s,invalidAttrs:o,ownerRole:u}),!1}function qy(e,t,r){var n=r.props,a=n.nodeName,o=n.type,i=function(e){if(!e)return"";if(e=e.toLowerCase(),["mixed","true"].includes(e))return e;return"false"}(r.attr("aria-checked"));if("input"!==a||"checkbox"!==o||!i)return!0;var u=function(e){if(e.props.indeterminate)return"mixed";return e.props.checked?"true":"false"}(r);return i===u||(this.data({messageKey:"checkbox",checkState:u}),!1)}var zy={row:jy,checkbox:qy};var Vy=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=t.allowImplicit,a=void 0===n||n,o=t.ignoredTags,i=void 0===o?[]:o,u=r.props.nodeName;if(i.map((function(e){return e.toLowerCase()})).includes(u))return!0;var s=yg(r,a);if(s.length){if(this.data(s),!Hc(r))return;return!1}return!0};function Gy(e,t,r){return"aria-required"===e&&"false"===t||!("aria-multiline"!==e||"false"!==t||!r.hasAttr("contenteditable"))}var $y=function(e,t,r){var n=em(r.attr("role")).filter((function(e){return"abstract"===Gd(e)}));return n.length>0&&(this.data(n),!0)};var Hy=function(e){var t=dm(e.getAttribute("lang")),r=dm(e.getAttribute("xml:lang"));return Gh(t)&&Gh(r)};var Uy=function(e){return e.ownerDocument.defaultView.self===e.ownerDocument.defaultView.top};var Wy=function(e,t){try{return"svg"===t.props.nodeName||!!Kp(t,"svg")}catch(e){return!1}};var Yy=[function(e,t){return Ky(t)},function(e,t){return function(e){return"area"!==e.props.nodeName}(t)},function(e,t){return!Wy(e,t)},function(e,t){return Vl(t)},function(e,t){return Gl(t)||!Xy(t)},function(e){return!Wd(e,{noLengthCompare:!0})}];function Ky(e){return"widget"===Gd(e)}var Xy=qu((function e(t){return!(null==t||!t.parent)&&(!(!Ky(t.parent)||!Gl(t.parent))||e(t.parent))}));var Zy=function(e,t){var r=ic(t);return!(r&&!["none","presentation"].includes(r))||!(!(Jl[r]||{}).accessibleNameRequired&&!Vl(t))};function Jy(e){var t;if(null==e||null===(t=e.ownerDocument)||void 0===t||!t.createRange)return!0;var r=e.ownerDocument.createRange();return r.setStart(e,0),r.setEnd(e,e.childNodes.length),0===r.getClientRects().length}var Qy=function(e,t,r){return r.initiator};var ew=function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(xa(t),'"]'),n=Array.from(hs(e).querySelectorAll(r));return!Rg(e)&&n.every((function(e){return!Vl(e)}))};var tw=function(e){var t=e.getAttribute("id").trim(),r='*[id="'.concat(xa(t),'"]'),n=Array.from(hs(e).querySelectorAll(r));return!Rg(e)&&n.some(Vl)};var rw=function(e,t){var r=t.props,n=r.nodeName,a=r.type;if("option"===n)return!1;if("select"===n&&!e.options.length)return!1;if("input"===n&&["hidden","range","color","checkbox","radio","image"].includes(a))return!1;if(ab(t)||Cl(t))return!1;if(["input","select","textarea"].includes(n)){var o=i.getComputedStyle(e),u=parseInt(o.getPropertyValue("text-indent"),10);if(u){var l=e.getBoundingClientRect();if(l={top:l.top,bottom:l.bottom,left:l.left+u,right:l.right+u},!Ep(l,e))return!1}return!0}var c=vs(t,"label");if("label"===n||c){var d=c||e,p=c?ps(c):t;if(d.htmlFor){var f=hs(d).getElementById(d.htmlFor),m=f&&ps(f);if(m&&ab(m))return!1}var h=Fh(p,'input:not([type="hidden"],[type="image"],[type="button"],[type="submit"],[type="reset"]), select, textarea')[0];if(h&&ab(h))return!1}for(var g=[],v=t;v;){if(v.props.id){var b=hg(v).filter((function(e){return em(e.getAttribute("aria-labelledby")||"").includes(v.props.id)})).map((function(e){return ps(e)}));g.push.apply(g,q(b))}v=v.parent}if(g.length>0&&g.every(ab))return!1;if(!function(e){var t=Wc(e,!1,!0);if(""===t||""===bd(t,nw))return!1;return e.children.some((function(e){return"#text"===e.props.nodeName&&!hd(e)}))}(t))return!1;if(!parseFloat(t.getComputedStylePropertyValue("font-size")))return!1;for(var y=s.createRange(),w=t.children,D=0;D<w.length;D++){var x=w[D];3===x.actualNode.nodeType&&""!==mc(x.actualNode.nodeValue)&&y.selectNodeContents(x.actualNode)}var E=Array.from(y.getClientRects()),A=Ds(t);return E.some((function(t){var r=Ep(t,e);if(!A.length)return r;var n=A.some((function(e){return ys(t,e.boundingClientRect)}));return r&&n}))},nw={emoji:!0,nonBmp:!1,punctuations:!0};function aw(e){return!e||"true"!==e.getAttribute("aria-hidden")&&aw(js(e))}var ow={"abstractrole-evaluate":$y,"accesskeys-after":ny,"accesskeys-evaluate":ry,"alt-space-value-evaluate":$b,"aria-allowed-attr-evaluate":function(e,t,r){var n=[],a=jc(r),o=pg(a);Array.isArray(t[a])&&(o=ph(t[a].concat(o)));var i,u=te(r.attrNames);try{for(u.s();!(i=u.n()).done;){var s=i.value;!Bg(s)||o.includes(s)||Gy(s,r.attr(s),r)||n.push(s)}}catch(e){u.e(e)}finally{u.f()}return!n.length||(this.data(n.map((function(e){return e+'="'+r.attr(e)+'"'}))),!(a||Qm(r)||Vl(r))&&void 0)},"aria-allowed-attr-matches":function(e,t){var r=/^aria-/,n=t.attrNames;if(n.length)for(var a=0,o=n.length;a<o;a++)if(r.test(n[a]))return!0;return!1},"aria-allowed-role-evaluate":Vy,"aria-allowed-role-matches":function(e,t){return null!==ic(t,{dpub:!0,fallback:!0})},"aria-busy-evaluate":function(e,t,r){return"true"===r.attr("aria-busy")},"aria-conditional-attr-evaluate":function(e,t,r){var n=jc(r);return!zy[n]||zy[n].call(this,e,t,r)},"aria-conditional-checkbox-attr-evaluate":qy,"aria-conditional-row-attr-evaluate":jy,"aria-errormessage-evaluate":function(e,t,r){t=Array.isArray(t)?t:[];var n=r.attr("aria-errormessage"),a=r.hasAttr("aria-errormessage"),o=r.attr("aria-invalid");return!r.hasAttr("aria-invalid")||"false"===o||(-1!==t.indexOf(n)||!a||(this.data(em(n)),function(e){if(""===e.trim())return nc.ariaAttrs["aria-errormessage"].allowEmpty;var t;try{t=e&&Wl(r,"aria-errormessage")[0]}catch(t){return void this.data({messageKey:"idrefs",values:em(e)})}return t?Hc(t)?"alert"===ic(t)||"assertive"===t.getAttribute("aria-live")||"polite"===t.getAttribute("aria-live")||em(r.attr("aria-describedby")).indexOf(e)>-1:(this.data({messageKey:"hidden",values:em(e)}),!1):void 0}.call(this,n)))},"aria-has-attr-matches":function(e,t){var r=/^aria-/;return t.attrNames.some((function(e){return r.test(e)}))},"aria-hidden-body-evaluate":Ly,"aria-hidden-focus-matches":function(e){return aw(js(e))},"aria-label-evaluate":ov,"aria-labelledby-evaluate":av,"aria-level-evaluate":By,"aria-prohibited-attr-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=(null==t?void 0:t.elementsAllowedAriaLabel)||[],a=r.props.nodeName,o=jc(r,{chromium:!0,fallback:!0}),i=function(e,t,r,n){var a=nc.ariaRoles[t];if(a)return a.prohibitedAttrs||[];if(t||n.includes(r)||"widget"===Iy(e))return[];return["aria-label","aria-labelledby"]}(r,o,a,n).filter((function(e){return!!r.attrNames.includes(e)&&""!==mc(r.attr(e))}));if(0===i.length)return!1;var u=null!==o?"hasRole":"noRole";u+=i.length>1?"Plural":"Singular",this.data({role:o,nodeName:a,messageKey:u,prohibited:i});var s=ud(r,{subtreeDescendant:!0});return""===mc(s)||void 0},"aria-required-attr-evaluate":function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=ic(n),o=n.attrNames,i=Og(a);if(Array.isArray(r[a])&&(i=ph(r[a],i)),!a||!o.length||!i.length)return!0;if(function(e,t){return"separator"===t&&!Vl(e)}(n,a)||function(e,t){return"combobox"===t&&"false"===e.attr("aria-expanded")}(n,a))return!0;if("slider"===a&&null!==(t=n.attr("aria-valuetext"))&&void 0!==t&&t.trim())return!0;var u=Oc(n),s=i.filter((function(e){return!n.attr(e)&&!function(e,t){var r;return void 0!==(null===(r=e.implicitAttrs)||void 0===r?void 0:r[t])}(u,e)}));return!s.length||(this.data(s),!1)},"aria-required-children-evaluate":function(e,t,r){var n=t&&Array.isArray(t.reviewEmpty)?t.reviewEmpty:[],a=ic(r,{dpub:!0}),o=Pg(a);if(null===o)return!0;var i=function(e,t){var r,n=[],a=Gc(e),o=function(){if(3===r.props.nodeType&&n.push({vNode:r,role:null}),1!==r.props.nodeType||!Hc(r))return 1;var e=jc(r,{noPresentational:!0}),o=function(e){return sc().find((function(t){return e.hasAttr(t)}))}(r),i=!!o||Vl(r);if(!e&&!i||["group","rowgroup"].includes(e)&&t.some((function(t){return t===e})))a.push.apply(a,q(r.children));else if(e||i){var u=o||"tabindex";n.push({role:e,attr:u,vNode:r})}};for(;r=a.shift();)o();return n}(r,o),u=i.filter((function(e){var t=e.role;return 1===e.vNode.props.nodeType&&!o.includes(t)}));return u.length?(this.relatedNodes(u.map((function(e){return e.vNode}))),this.data({messageKey:"unallowed",values:u.map((function(e){return function(e,t){var r=e.props,n=r.nodeName;if(3===r.nodeType)return"#text";var a=ic(e,{dpub:!0});if(a)return"[role=".concat(a,"]");if(t)return n+"[".concat(t,"]");return n}(e.vNode,e.attr)})).filter((function(e,t,r){return r.indexOf(e)===t})).join(", ")}),!1):!!function(e,t){return t.some((function(t){var r=t.role;return r&&e.includes(r)}))}(o,i)||("true"===r.attr("aria-busy")?(this.data({messageKey:"aria-busy"}),!0):(this.data(o),!(!n.includes(a)||i.some(Py))&&void 0))},"aria-required-children-matches":function(e,t){var r=ic(t,{dpub:!0});return!!Pg(r)},"aria-required-parent-evaluate":My,"aria-required-parent-matches":function(e,t){var r=ic(t);return!!Mg(r)},"aria-roledescription-evaluate":Sy,"aria-unsupported-attr-evaluate":Ty,"aria-valid-attr-evaluate":_y,"aria-valid-attr-value-evaluate":function(e,t,r){t=Array.isArray(t.value)?t.value:[];var n="",a="",o=[],i=/^aria-/,u=["aria-errormessage"],s={"aria-controls":function(){var e=!1===["false",null].includes(r.attr("aria-haspopup"));return e&&(n='aria-controls="'.concat(r.attr("aria-controls"),'"'),a="controlsWithinPopup"),"false"!==r.attr("aria-expanded")&&"false"!==r.attr("aria-selected")&&!1===e},"aria-current":function(e){e||(n='aria-current="'.concat(r.attr("aria-current"),'"'),a="ariaCurrent")},"aria-owns":function(){return"false"!==r.attr("aria-expanded")},"aria-describedby":function(e){e||(n='aria-describedby="'.concat(r.attr("aria-describedby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")},"aria-labelledby":function(e){e||(n='aria-labelledby="'.concat(r.attr("aria-labelledby"),'"'),a=c._tree&&c._tree[0]._hasShadowRoot?"noIdShadow":"noId")}};return r.attrNames.forEach((function(e){if(!u.includes(e)&&!t.includes(e)&&i.test(e)){var l,c=r.attr(e);try{l=Ig(r,e)}catch(t){return n="".concat(e,'="').concat(c,'"'),void(a="idrefs")}s[e]&&!s[e](l)||l||(""!==c||function(e){var t;return"string"===(null===(t=nc.ariaAttrs[e])||void 0===t?void 0:t.type)}(e)?o.push("".concat(e,'="').concat(c,'"')):(n=e,a="empty"))}})),o.length?(this.data(o),!1):!n||void this.data({messageKey:a,needsReview:n})},"attr-non-space-content-evaluate":ly,"autocomplete-appropriate-evaluate":dy,"autocomplete-matches":function(e,t){var r=t.attr("autocomplete");if(!r||""===mc(r))return!1;var n=t.props.nodeName;if(!1===["textarea","input","select"].includes(n))return!1;var a=t.attr("aria-readonly")||"false";if(t.hasAttr("readonly")||"true"===a.toLowerCase())return!1;if("input"===n&&["submit","reset","button","hidden"].includes(t.props.type))return!1;var o=t.attr("aria-disabled")||"false";if(t.hasAttr("disabled")||"true"===o.toLowerCase())return!1;var i=ic(t),u=sh(t.attr("tabindex"));if(u<0&&t.hasAttr("role")){var s=nc.ariaRoles[i];if(void 0===s||"widget"!==s.type)return!1}return!(u<0&&t.actualNode&&!Hs(t)&&!Hc(t))},"autocomplete-valid-evaluate":cy,"avoid-inline-spacing-evaluate":nv,"braille-label-equivalent-evaluate":function(e,t,r){var n;if(!(null!==(n=r.attr("aria-braillelabel"))&&void 0!==n?n:"").trim())return!0;try{return""!==mc(gd(r))}catch(e){return}},"braille-roledescription-equivalent-evaluate":function(e,t,r){var n,a=null!==(n=r.attr("aria-brailleroledescription"))&&void 0!==n?n:"";if(""===mc(a))return!0;var o=r.attr("aria-roledescription");return"string"!=typeof o?(this.data({messageKey:"noRoleDescription"}),!1):""!==mc(o)||(this.data({messageKey:"emptyRoleDescription"}),!1)},"bypass-matches":function(e,t,r){return!Qy(e,t,r)||!!e.querySelector("a[href]")},"caption-evaluate":Eb,"caption-faked-evaluate":Kg,"color-contrast-evaluate":function(e,t,r){var n=t.ignoreUnicode,a=t.ignoreLength,o=t.ignorePseudo,u=t.boldValue,s=t.boldTextPt,l=t.largeTextPt,c=t.contrastRatio,d=t.shadowOutlineEmMax,p=t.pseudoSizeThreshold;if(!Hs(e))return this.data({messageKey:"hidden"}),!0;var f=Wc(r,!1,!0);if(n&&function(e){var t={nonBmp:!0},r=md(e,t),n=""===mc(bd(e,t));return r&&n}(f))this.data({messageKey:"nonBmp"});else{var m=i.getComputedStyle(e),h=parseFloat(m.getPropertyValue("font-size")),g=m.getPropertyValue("font-weight"),v=parseFloat(g)>=u||"bold"===g,b=Math.ceil(72*h)/96,y=v&&b<s||!v&&b<l?c.normal:c.large,w=y.expected,D=y.minThreshold,x=y.maxThreshold,E=function(e,t){var r=t.pseudoSizeThreshold,n=void 0===r?.25:r,a=t.ignorePseudo,o=void 0!==a&&a;if(o)return;var i=e.boundingClientRect,u=i.width*i.height*n;do{if(by(e.actualNode,":before")+by(e.actualNode,":after")>u)return e}while(e=e.parent)}(r,{ignorePseudo:o,pseudoSizeThreshold:p});if(E)return this.data({fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:v?"bold":"normal",messageKey:"pseudoContent",expectedContrastRatio:w+":1"}),void this.relatedNodes(E.actualNode);var A=Vv(e,{minRatio:.001,maxRatio:d});if(null!==A){var F=[],C=Kv(e,F,d),k=Qv(e,!1,C,t),N=null,R=null,_=null;if(0===A.length)N=Jv(C,k);else if(k&&C){_=[].concat(q(A),[C]).reduce(Sv);var T=Jv(C,k),S=Jv(C,_),O=Jv(_,k);(N=Math.max(T,S,O))!==T&&(R=S>O?"shadowOnBgColor":"fgOnShadowColor")}var M=N>w;if("number"==typeof D&&("number"!=typeof N||N<D)||"number"==typeof x&&("number"!=typeof N||N>x))return this.data({contrastRatio:N}),!0;var P,I,B=Math.floor(100*N)/100;null===C?Qd.get("colorParse")?(P="colorParse",I=Qd.get("colorParse")):P=Qd.get("bgColor"):M||(P=R),null===k&&Qd.get("colorParse")&&(P="colorParse",I=Qd.get("colorParse"));var L=1===B,j=1===f.length;return L?P=Qd.set("bgColor","equalRatio"):M||!j||a||(P="shortTextContent"),this.data({fgColor:k?k.toHexString():void 0,bgColor:C?C.toHexString():void 0,contrastRatio:B,fontSize:"".concat((72*h/96).toFixed(1),"pt (").concat(h,"px)"),fontWeight:v?"bold":"normal",messageKey:P,expectedContrastRatio:w+":1",shadowColor:_?_.toHexString():void 0,colorParse:I}),null===k||null===C||L||j&&!a&&!M?(P=null,Qd.clear(),void this.relatedNodes(F)):(M||this.relatedNodes(F),M)}this.data({messageKey:"complexTextShadows"})}},"color-contrast-matches":rw,"css-orientation-lock-evaluate":yb,"data-table-large-matches":function(e){if(ug(e)){var t=lc(e);return t.length>=3&&t[0].length>=3&&t[1].length>=3&&t[2].length>=3}return!1},"data-table-matches":function(e){return ug(e)},"deprecatedrole-evaluate":function(e,t,r){var n=jc(r,{dpub:!0,fallback:!0}),a=nc.ariaRoles[n];return!(null==a||!a.deprecated)&&(this.data(n),!0)},"dlitem-evaluate":Nb,"doc-has-title-evaluate":rv,"duplicate-id-active-matches":tw,"duplicate-id-after":uv,"duplicate-id-aria-matches":function(e){return Rg(e)},"duplicate-id-evaluate":iv,"duplicate-id-misc-matches":ew,"duplicate-img-label-evaluate":Gb,"exists-evaluate":tv,"explicit-evaluate":Vb,"fallbackrole-evaluate":Ry,"focusable-content-evaluate":ty,"focusable-disabled-evaluate":ey,"focusable-element-evaluate":Qb,"focusable-modal-open-evaluate":Jb,"focusable-no-name-evaluate":Zb,"focusable-not-tabbable-evaluate":Xb,"frame-focusable-content-evaluate":function(e,t,r){if(r.children)try{return!r.children.some((function(e){return Kb(e)}))}catch(e){return}},"frame-focusable-content-matches":function(e,t,r){var n,a;return!r.initiator&&!r.focusable&&(null===(n=r.size)||void 0===n?void 0:n.width)*(null===(a=r.size)||void 0===a?void 0:a.height)>1},"frame-tested-after":xb,"frame-tested-evaluate":Db,"frame-title-has-text-matches":function(e){var t=e.getAttribute("title");return!!mc(t)},"has-alt-evaluate":ev,"has-descendant-after":sy,"has-descendant-evaluate":uy,"has-global-aria-attribute-evaluate":Ny,"has-implicit-chromium-role-matches":function(e,t){return null!==Mc(t,{chromium:!0})},"has-lang-evaluate":Sb,"has-text-content-evaluate":function(e,t,r){try{return""!==mc(ud(r))}catch(e){return}},"has-widget-role-evaluate":ky,"heading-matches":function(e,t){return"heading"===jc(t)},"heading-order-after":function(e){var t=function(e){e=q(e),e.sort((function(e,t){var r=e.node,n=t.node;return r.ancestry.length-n.ancestry.length}));var t=e.reduce(cb,[]);return t.filter((function(e){return-1!==e.level}))}(e);return e.forEach((function(e){e.result=function(e,t){var r,n,a,o,i=db(t,e.node.ancestry),u=null!==(r=null===(n=t[i])||void 0===n?void 0:n.level)&&void 0!==r?r:-1,s=null!==(a=null===(o=t[i-1])||void 0===o?void 0:o.level)&&void 0!==a?a:-1;if(0===i)return!0;if(-1===u)return;return u-s<=1}(e,t)})),e},"heading-order-evaluate":lb,"help-same-as-label-evaluate":zb,"hidden-content-evaluate":tg,"hidden-explicit-label-evaluate":qb,"html-namespace-matches":function(e,t){return!Wy(e,t)},"html5-scope-evaluate":Yg,"identical-links-same-purpose-after":ub,"identical-links-same-purpose-evaluate":ob,"identical-links-same-purpose-matches":function(e,t){if(!!!gd(t))return!1;var r=jc(e);return!r||"link"===r},"implicit-evaluate":jb,"inline-style-property-evaluate":function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.minValue,o=t.maxValue,u=t.normalValue,s=void 0===u?0:u,l=t.noImportant,c=t.multiLineOnly;if(!l&&"important"!==e.style.getPropertyPriority(r)||c&&!Kd(e))return!0;var d={};"number"==typeof a&&(d.minValue=a),"number"==typeof o&&(d.maxValue=o);var p=e.style.getPropertyValue(r);if(["inherit","unset","revert","revert-layer"].includes(p))return this.data(j({value:p},d)),!0;var f=function(e,t){var r=t.cssProperty,n=t.absoluteValues,a=t.normalValue,o=i.getComputedStyle(e),u=o.getPropertyValue(r);if("normal"===u)return a;var s=parseFloat(u);if(n)return s;var l=parseFloat(o.getPropertyValue("font-size")),c=Math.round(s/l*100)/100;if(isNaN(c))return u;return c}(e,{absoluteValues:n,cssProperty:r,normalValue:s});return this.data(j({value:f},d)),"number"==typeof f?("number"!=typeof a||f>=a)&&("number"!=typeof o||f<=o):void 0},"inserted-into-focus-order-matches":function(e){return Ld(e)},"internal-link-present-evaluate":wv,"invalid-children-evaluate":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,n=[],a=[];if(r.children){for(var o,i=kb(r.children);i.length;){var u,s=i.shift(),l=s.vChild,c=s.nested;if(!t.divGroups||c||("div"!==(o=l).props.nodeName||null!==ic(o))){var d=Cb(l,c,t);d&&(a.includes(d)||a.push(d),1===(null==l||null===(u=l.actualNode)||void 0===u?void 0:u.nodeType)&&n.push(l.actualNode))}else{if(!l.children)return;var p=kb(l.children,!0);i.push.apply(i,q(p))}}return 0!==a.length&&(this.data({values:a.join(", ")}),this.relatedNodes(n),!0)}},"invalidrole-evaluate":Cy,"is-element-focusable-evaluate":Fy,"is-initiator-matches":Qy,"is-on-screen-evaluate":Qg,"is-visible-matches":function(e){return Hs(e)},"is-visible-on-screen-matches":function(e,t){return Hs(t)},"label-content-name-mismatch-evaluate":Lb,"label-content-name-mismatch-matches":function(e,t){var r=jc(e);return!!r&&(!!wg("widget").includes(r)&&(!!xg().includes(r)&&(!(!mc(Xl(t))&&!mc(Kl(e)))&&!!mc(Wc(t)))))},"label-matches":function(e,t){if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;var r=t.attr("type").toLowerCase();return!1===["hidden","image","button","submit","reset"].includes(r)},"landmark-has-body-context-matches":function(e,t){return e.hasAttribute("role")||!vs(t,"article, aside, main, nav, section")},"landmark-is-top-level-evaluate":Yb,"landmark-is-unique-after":Mb,"landmark-is-unique-evaluate":Ob,"landmark-unique-matches":function(e,t){return function(e){var t=wg("landmark"),r=jc(e);if(!r)return!1;var n=e.props.nodeName;if("section"===n||"form"===n){return!!gd(e)}return t.indexOf(r)>=0||"region"===r}(t)&&Hc(t)},"layout-table-matches":function(e){return!ug(e)&&!Vl(e)},"link-in-text-block-evaluate":vy,"link-in-text-block-matches":function(e){var t=mc(e.innerText),r=ic(e);return(!r||"link"===r)&&(!!t&&(!!Hs(e)&&Wd(e)))},"link-in-text-block-style-evaluate":function(e){if(fy(e))return!1;for(var t=js(e);t&&1===t.nodeType&&!fy(t);)t=js(t);if(t){if(this.relatedNodes([t]),Fv(e,t))return!0;if(!function(e){for(var t=0,r=["before","after"];t<r.length;t++){var n=r[t];if("none"!==i.getComputedStyle(e,":".concat(n)).getPropertyValue("content"))return!0}return!1}(e))return!1;this.data({messageKey:"pseudoContent"})}},"listitem-evaluate":function(e,t,r){var n=r.parent;if(n){var a=n.props.nodeName,o=ic(n);return!!["presentation","none","list"].includes(o)||(o&&oc(o)?(this.data({messageKey:"roleNotValid"}),!1):["ul","ol","menu"].includes(a))}},"matches-definition-evaluate":iy,"meta-refresh-evaluate":function(e,t,r){var n=t||{},a=n.minDelay,o=n.maxDelay,i=Y((r.attr("content")||"").trim().split(bv),1)[0];if(!i.match(yv))return!0;var u=parseFloat(i);return this.data({redirectDelay:u}),"number"==typeof a&&u<=t.minDelay||"number"==typeof o&&u>t.maxDelay},"meta-viewport-scale-evaluate":bb,"multiple-label-evaluate":Ib,"nested-interactive-matches":function(e,t){var r=jc(t);return!!r&&!!nc.ariaRoles[r].childrenPresentational},"no-autoplay-audio-evaluate":wb,"no-autoplay-audio-matches":function(e){return!!e.currentSrc&&(!e.hasAttribute("paused")&&!e.hasAttribute("muted"))},"no-empty-role-matches":function(e,t){return!!t.hasAttr("role")&&!!t.attr("role").trim()},"no-explicit-name-required-matches":Zy,"no-focusable-content-evaluate":function(e,t,r){if(r.children)try{var n=Ub(r);if(!n.length)return!0;var a=n.filter(Wb);return a.length>0?(this.data({messageKey:"notHidden"}),this.relatedNodes(a)):this.relatedNodes(n),!1}catch(e){return}},"no-implicit-explicit-label-evaluate":Ay,"no-naming-method-matches":function(e,t){var r=Oc(t).namingMethods;return(!r||0===r.length)&&(("combobox"!==ic(t)||!Fh(t,'input:not([type="hidden"])').length)&&!_g(t,{popupRoles:["listbox"]}))},"no-negative-tabindex-matches":function(e,t){var r=sh(t.attr("tabindex"));return null===r||r>=0},"no-role-matches":function(e,t){return!t.attr("role")},"non-empty-if-present-evaluate":Jg,"not-html-matches":function(e,t){return"html"!==t.props.nodeName},"object-is-loaded-matches":function(e,t){return[Zy,Jy].every((function(r){return r(e,t)}))},"only-dlitems-evaluate":function(e,t,r){var n=["definition","term","list"],a=r.children.reduce((function(e,t){var r=t.actualNode;return"DIV"===r.nodeName.toUpperCase()&&null===jc(r)?e.concat(t.children):e.concat(t)}),[]).reduce((function(e,t){var r=t.actualNode,a=r.nodeName.toUpperCase();if(1===r.nodeType&&Hc(r)){var o=ic(r);("DT"!==a&&"DD"!==a||o)&&(n.includes(o)||e.badNodes.push(r))}else 3===r.nodeType&&""!==r.nodeValue.trim()&&(e.hasNonEmptyTextNode=!0);return e}),{badNodes:[],hasNonEmptyTextNode:!1});return a.badNodes.length&&this.relatedNodes(a.badNodes),!!a.badNodes.length||a.hasNonEmptyTextNode},"only-listitems-evaluate":Fb,"p-as-heading-evaluate":vv,"p-as-heading-matches":function(e){var t=Array.from(e.parentNode.childNodes),r=e.textContent.trim();return!(0===r.length||(r.match(/[.!?:;](?![.!?:;])/g)||[]).length>=2)&&0!==t.slice(t.indexOf(e)+1).filter((function(e){return"P"===e.nodeName.toUpperCase()&&""!==e.textContent.trim()})).length},"page-no-duplicate-after":oy,"page-no-duplicate-evaluate":ay,"presentation-role-conflict-matches":function(e,t){return null!==Mc(t,{chromiumRoles:!0})},"presentational-role-evaluate":function(e,t,r){var n=ic(r);if(["presentation","none"].includes(n)&&["iframe","frame"].includes(r.props.nodeName)&&r.hasAttr("title"))return this.data({messageKey:"iframe",nodeName:r.props.nodeName}),!1;var a=jc(r);if(["presentation","none"].includes(a))return this.data({role:a}),!0;if(!["presentation","none"].includes(n))return!1;var o,i=sc().some((function(e){return r.hasAttr(e)})),u=Vl(r);return o=i&&!u?"globalAria":!i&&u?"focusable":"both",this.data({messageKey:o,role:a}),!1},"region-after":fv,"region-evaluate":function(e,t,r){return this.data({isIframe:["iframe","frame"].includes(r.props.nodeName)}),!ds.get("regionlessNodes",(function(){return function(e){var t=pv(c._tree[0],e).map((function(e){for(;e.parent&&!e.parent._hasRegionDescendant&&e.parent.actualNode!==s.body;)e=e.parent;return e})).filter((function(e,t,r){return r.indexOf(e)===t}));return t}(t)})).includes(r)},"same-caption-summary-evaluate":Ug,"scope-value-evaluate":Hg,"scrollable-region-focusable-matches":function(e,t){return void 0!==Lm(e,13)&&!1===_g(t)&&Fh(t,"*").some((function(e){return Pd(e,!0,!0)}))},"skip-link-evaluate":cv,"skip-link-matches":function(e){return lp(e)&&Gs(e)},"structured-dlitems-evaluate":Ab,"summary-interactive-matches":function(e,t){var r,n,a,o=t.parent;return!("details"!==o.props.nodeName||(a=null===(n=(r=t).actualNode)||void 0===n?void 0:n.parentElement)&&a!==r.parent.actualNode)&&o.children.find((function(e){return"summary"===e.props.nodeName}))===t},"svg-namespace-matches":Wy,"svg-non-empty-title-evaluate":Xg,"tabindex-evaluate":Hb,"table-or-grid-role-matches":function(e,t){var r=jc(t);return["treegrid","grid","table"].includes(r)},"target-offset-evaluate":function(e,t,r){var n=(null==t?void 0:t.minOffset)||24;if(Qs(10*n,r.boundingClientRect))return this.data({messageKey:"large",minOffset:n}),!0;var a,o,i=[],u=n,s=te(xl(r,n));try{for(s.s();!(a=s.n()).done;){var l=a.value;if("widget"===Gd(l)&&Vl(l)){var c=null;try{c=el(r,l,n/2)}catch(e){if(e.message.startsWith("splitRects"))return void this.data({messageKey:"tooManyRects",closestOffset:0,minOffset:n});throw e}null!==c&&((c=2*(o=c,Math.round(10*o)/10))+.05>=n||(u=Math.min(u,c),i.push(l)))}}}catch(e){s.e(e)}finally{s.f()}return 0===i.length?(this.data({closestOffset:u,minOffset:n}),!0):(this.relatedNodes(i.map((function(e){return e.actualNode}))),i.some(Gl)?(this.data({closestOffset:u,minOffset:n}),!Gl(r)&&void 0):void this.data({messageKey:"nonTabbableNeighbor",closestOffset:u,minOffset:n}))},"target-size-evaluate":function(e,t,r){var n=(null==t?void 0:t.minSize)||24,a=r.boundingClientRect;if(Qs(10*n,a))return this.data({messageKey:"large",minSize:n}),!0;var o=Qs.bind(null,n),i=xl(r),u=function(e,t){return t.filter((function(t){return!fb(t,e)&&gb(e,t)}))}(r,i),s=function(e,t){var r,n=[],a=[],o=te(t);try{for(o.s();!(r=o.n()).done;){var i=r.value;!gb(e,i)&&nl(e,i)&&"none"!==mb(i)&&(fb(e,i)?n.push(i):a.push(i))}}catch(e){o.e(e)}finally{o.f()}return{fullyObscuringElms:n,partialObscuringElms:a}}(r,i),l=s.fullyObscuringElms,c=s.partialObscuringElms;if(u.length&&(l.length||!o(a)))return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(vb(u));if(l.length)return this.relatedNodes(vb(l)),this.data({messageKey:"obscured"}),!0;var d=!Gl(r)&&void 0;if(!o(a))return this.data(j({minSize:n},hb(a))),d;var p=c.filter((function(e){return"widget"===Gd(e)&&Vl(e)}));if(!p.length)return this.data(j({minSize:n},hb(a))),!0;var f=function(e,t){var r,n=e.boundingClientRect,a=t.map((function(e){return e.boundingClientRect}));try{r=al(n,a)}catch(e){return null}return function(e,t){return e.reduce((function(e,r){var n=Qs(t,e);return n!==Qs(t,r)?n?e:r:e.width*e.height>r.width*r.height?e:r}))}(r)}(r,p);if(f){if(!o(f)){if(u.length)return this.data({minSize:n,messageKey:"contentOverflow"}),void this.relatedNodes(vb(u));var m=p.every(Gl),h="partiallyObscured".concat(m?"":"NonTabbable");return this.data(j({messageKey:h,minSize:n},hb(f))),this.relatedNodes(vb(p)),m?d:void 0}return this.data(j({minSize:n},hb(f||a))),this.relatedNodes(vb(p)),!0}this.data({minSize:n,messageKey:"tooManyRects"})},"td-has-header-evaluate":$g,"td-headers-attr-evaluate":function(e){for(var t=[],r={},n=0;n<e.rows.length;n++)for(var a=e.rows[n],o=0;o<a.cells.length;o++){var i=a.cells[o];t.push(i);var u=i.getAttribute("id");u&&(r[u]=jc(i))}var s=T(T(T(T({},Vg,new Set),qg,new Set),zg,new Set),Gg,new Set);t.forEach((function(e){if(e.hasAttribute("headers")&&Hc(e)){var t=e.getAttribute("headers").trim();if(t){var n=e.getAttribute("id");em(t).forEach((function(t){n&&t===n?s[Vg].add(e):r[t]?["columnheader","rowheader"].includes(r[t])||s[zg].add(e):s[qg].add(e)}))}else s[Gg].add(e)}}));var l,c=te(jg);try{for(c.s();!(l=c.n()).done;){var d=l.value;if(s[d].size>0){if(this.relatedNodes(q(s[d])),d===Gg)return;return this.data({messageKey:d}),!1}}}catch(e){c.e(e)}finally{c.f()}return!0},"th-has-data-cells-evaluate":Lg,"title-only-evaluate":Pb,"unique-frame-title-after":lv,"unique-frame-title-evaluate":sv,"unsupportedrole-evaluate":Ey,"valid-lang-evaluate":_b,"valid-scrollable-semantics-evaluate":xy,"widget-not-inline-matches":function(e,t){return Yy.every((function(r){return r(e,t)}))},"window-is-top-matches":Uy,"xml-lang-mismatch-evaluate":Rb,"xml-lang-mismatch-matches":Hy},iw=ow;var uw=function(e){this.id=e.id,this.data=null,this.relatedNodes=[],this.result=null};function sw(e){if("string"==typeof e){if(iw[e])return iw[e];if(/^\s*function[\s\w]*\(/.test(e))return new Function("return "+e+";")();throw new ReferenceError("Function ID does not exist in the metadata-function-map: ".concat(e))}return e}function lw(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(Array.isArray(e)||"object"!==l(e))&&(e={value:e}),e}function cw(e){e&&(this.id=e.id,this.configure(e))}cw.prototype.enabled=!0,cw.prototype.run=function(e,t,r,n,a){var o=(t=t||{}).hasOwnProperty("enabled")?t.enabled:this.enabled,i=this.getOptions(t.options);if(o){var u,s=new uw(this),l=Sp(s,t,n,a);try{u=this.evaluate.call(l,e.actualNode,i,e,r)}catch(t){return e&&e.actualNode&&(t.errorNode=Vf.toSpec(e)),void a(t)}l.isAsync||(s.result=u,n(s))}else n(null)},cw.prototype.runSync=function(e,t,r){var n=(t=t||{}).enabled;if(!(void 0===n?this.enabled:n))return null;var a,o=this.getOptions(t.options),i=new uw(this),u=Sp(i,t);u.async=function(){throw new Error("Cannot run async check while in a synchronous run")};try{a=this.evaluate.call(u,e.actualNode,o,e,r)}catch(t){throw e&&e.actualNode&&(t.errorNode=Vf.toSpec(e)),t}return i.result=a,i},cw.prototype.configure=function(e){var t=this;e.evaluate&&!iw[e.evaluate]||(this._internalCheck=!0),e.hasOwnProperty("enabled")&&(this.enabled=e.enabled),e.hasOwnProperty("options")&&(this._internalCheck?this.options=lw(e.options):this.options=e.options),["evaluate","after"].filter((function(t){return e.hasOwnProperty(t)})).forEach((function(r){return t[r]=sw(e[r])}))},cw.prototype.getOptions=function(e){return this._internalCheck?Kf(this.options,lw(e||{})):e||this.options};var dw=cw;var pw=function(e){this.id=e.id,this.result=na.NA,this.pageLevel=e.pageLevel,this.impact=null,this.nodes=[]};function fw(e,t){this._audit=t,this.id=e.id,this.selector=e.selector||"*",e.impact&&(wa(na.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact),this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden,this.enabled="boolean"!=typeof e.enabled||e.enabled,this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel,this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail,this.any=e.any||[],this.all=e.all||[],this.none=e.none||[],this.tags=e.tags||[],this.preload=!!e.preload,this.actIds=e.actIds,e.matches&&(this.matches=sw(e.matches))}function mw(e){if(e.length){var t=!1,r={};return e.forEach((function(e){var n=e.results.filter((function(e){return e}));r[e.type]=n,n.length&&(t=!0)})),t?r:null}}fw.prototype.matches=function(){return!0},fw.prototype.gather=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r="mark_gather_start_"+this.id,n="mark_gather_end_"+this.id,a="mark_isVisibleToScreenReaders_start_"+this.id,o="mark_isVisibleToScreenReaders_end_"+this.id;t.performanceTimer&&ch.mark(r);var i=_h(this.selector,e);return this.excludeHidden&&(t.performanceTimer&&ch.mark(a),i=i.filter((function(e){return Hc(e)})),t.performanceTimer&&(ch.mark(o),ch.measure("rule_"+this.id+"#gather_axe.utils.isVisibleToScreenReaders",a,o))),t.performanceTimer&&(ch.mark(n),ch.measure("rule_"+this.id+"#gather",r,n)),i},fw.prototype.runChecks=function(e,t,r,n,a,o){var i=this,u=ef();this[e].forEach((function(e){var a=i._audit.checks[e.id||e],o=Dm(a,i.id,r);u.defer((function(e,r){a.run(t,o,n,e,(function(e){r(new Mh({ruleId:i.id,method:"".concat(a.id,"#evaluate"),errorNode:new Tp(t),error:e}))}))}))})),u.then((function(t){t=t.filter((function(e){return e})),a({type:e,results:t})})).catch(o)},fw.prototype.runChecksSync=function(e,t,r,n){var a=this,o=[];return this[e].forEach((function(e){var i=a._audit.checks[e.id||e],u=Dm(i,a.id,r);o.push(i.runSync(t,u,n))})),{type:e,results:o=o.filter((function(e){return e}))}},fw.prototype.run=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;r.performanceTimer&&this._trackPerformance();var o,i=ef(),u=new pw(this);try{o=this.gatherAndMatchNodes(e,r)}catch(e){return void a(e)}r.performanceTimer&&this._logGatherPerformance(o),o.forEach((function(n){i.defer((function(a,o){var i=ef();["any","all","none"].forEach((function(a){i.defer((function(o,i){t.runChecks(a,n,r,e,o,i)}))})),i.then((function(e){var r=mw(e);r&&(r.node=new Tp(n),u.nodes.push(r),t.reviewOnFail&&(["any","all"].forEach((function(e){r[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),r.none.forEach((function(e){!0===e.result&&(e.result=void 0)})))),a()})).catch((function(e){return o(e)}))}))})),i.then((function(){r.performanceTimer&&t._logRulePerformance(),setTimeout((function(){n(u)}),0)})).catch((function(e){r.performanceTimer&&t._logRulePerformance(),a(e)}))},fw.prototype.runSync=function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};r.performanceTimer&&this._trackPerformance();var n=new pw(this),a=this.gatherAndMatchNodes(e,r);return r.performanceTimer&&this._logGatherPerformance(a),a.forEach((function(a){var o=[];["any","all","none"].forEach((function(n){o.push(t.runChecksSync(n,a,r,e))}));var i=mw(o);i&&(i.node=a.actualNode?new Tp(a):null,n.nodes.push(i),t.reviewOnFail&&(["any","all"].forEach((function(e){i[e].forEach((function(e){!1===e.result&&(e.result=void 0)}))})),i.none.forEach((function(e){!0===e.result&&(e.result=void 0)}))))})),r.performanceTimer&&this._logRulePerformance(),n},fw.prototype._trackPerformance=function(){this._markStart="mark_rule_start_"+this.id,this._markEnd="mark_rule_end_"+this.id,this._markChecksStart="mark_runchecks_start_"+this.id,this._markChecksEnd="mark_runchecks_end_"+this.id},fw.prototype._logGatherPerformance=function(e){aa("gather for ".concat(this.id," (").concat(e.length," nodes): ").concat(ch.timeElapsed(),"ms")),ch.mark(this._markChecksStart)},fw.prototype._logRulePerformance=function(){ch.mark(this._markChecksEnd),ch.mark(this._markEnd),ch.measure("runchecks_"+this.id,this._markChecksStart,this._markChecksEnd),ch.measure("rule_"+this.id,this._markStart,this._markEnd)},fw.prototype.gatherAndMatchNodes=function(e,t){var r=this,n="mark_matches_start_"+this.id,a="mark_matches_end_"+this.id,o=this.gather(e,t);return t.performanceTimer&&ch.mark(n),o=o.filter((function(t){try{return r.matches(t.actualNode,t,e)}catch(e){throw new Mh({ruleId:r.id,method:"#matches",errorNode:new Tp(t),error:e})}})),t.performanceTimer&&(ch.mark(a),ch.measure("rule_"+this.id+"#matches",n,a)),o},fw.prototype.after=function(e,t){var r,n=this;return Gf(r=this).map((function(e){var t=r._audit.checks[e.id||e];return t&&"function"==typeof t.after?t:null})).filter(Boolean).forEach((function(r){var a,o,i,u,s=(a=e.nodes,o=r.id,i=[],a.forEach((function(e){Gf(e).forEach((function(t){t.id===o&&(t.node=e.node,i.push(t))}))})),i),l=Dm(r,n.id,t);try{u=r.after(s,l.options)}catch(t){var c;throw new Mh({ruleId:n.id,method:"".concat(r.id,"#after"),errorNode:null===(c=e.nodes)||void 0===c||null===(c=c[0])||void 0===c?void 0:c.node,error:t})}n.reviewOnFail&&u.forEach((function(e){var t=(n.any.includes(e.id)||n.all.includes(e.id))&&!1===e.result,r=n.none.includes(e.id)&&!0===e.result;(t||r)&&(e.result=void 0)})),s.forEach((function(e){delete e.node,-1===u.indexOf(e)&&(e.filtered=!0)}))})),e.nodes=function(e){var t=["any","all","none"],r=e.nodes.filter((function(e){var r=0;return t.forEach((function(t){e[t]=e[t].filter((function(e){return!0!==e.filtered})),r+=e[t].length})),r>0}));return e.pageLevel&&r.length&&(r=[r.reduce((function(e,r){if(e)return t.forEach((function(t){e[t].push.apply(e[t],r[t])})),e}))]),r}(e),e},fw.prototype.configure=function(e){e.hasOwnProperty("selector")&&(this.selector=e.selector),e.hasOwnProperty("excludeHidden")&&(this.excludeHidden="boolean"!=typeof e.excludeHidden||e.excludeHidden),e.hasOwnProperty("enabled")&&(this.enabled="boolean"!=typeof e.enabled||e.enabled),e.hasOwnProperty("pageLevel")&&(this.pageLevel="boolean"==typeof e.pageLevel&&e.pageLevel),e.hasOwnProperty("reviewOnFail")&&(this.reviewOnFail="boolean"==typeof e.reviewOnFail&&e.reviewOnFail),e.hasOwnProperty("any")&&(this.any=e.any),e.hasOwnProperty("all")&&(this.all=e.all),e.hasOwnProperty("none")&&(this.none=e.none),e.hasOwnProperty("tags")&&(this.tags=e.tags),e.hasOwnProperty("actIds")&&(this.actIds=e.actIds),e.hasOwnProperty("matches")&&(this.matches=sw(e.matches)),e.impact&&(wa(na.impact.includes(e.impact),"Impact ".concat(e.impact," is not a valid impact")),this.impact=e.impact)};var hw=/\{\{.+?\}\}/g,gw=Q((function e(t){Z(this,e),this.lang="en",this.defaultConfig=t,this.standards=nc,this._init(),this._defaultLocale=null}),[{key:"_setDefaultLocale",value:function(){if(!this._defaultLocale){for(var e={checks:{},rules:{},failureSummaries:{},incompleteFallbackMessage:"",lang:this.lang},t=Object.keys(this.data.checks),r=0;r<t.length;r++){var n=t[r],a=this.data.checks[n].messages,o=a.pass,i=a.fail,u=a.incomplete;e.checks[n]={pass:o,fail:i,incomplete:u}}for(var s=Object.keys(this.data.rules),l=0;l<s.length;l++){var c=s[l],d=this.data.rules[c],p=d.description,f=d.help;e.rules[c]={description:p,help:f}}for(var m=Object.keys(this.data.failureSummaries),h=0;h<m.length;h++){var g=m[h],v=this.data.failureSummaries[g].failureMessage;e.failureSummaries[g]={failureMessage:v}}e.incompleteFallbackMessage=this.data.incompleteFallbackMessage,this._defaultLocale=e}}},{key:"_resetLocale",value:function(){var e=this._defaultLocale;e&&this.applyLocale(e)}},{key:"_applyCheckLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.checks[n])throw new Error('Locale provided for unknown check: "'.concat(n,'"'));this.data.checks[n]=ww(this.data.checks[n],e[n])}}},{key:"_applyRuleLocale",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.rules[n])throw new Error('Locale provided for unknown rule: "'.concat(n,'"'));this.data.rules[n]=Dw(this.data.rules[n],e[n])}}},{key:"_applyFailureSummaries",value:function(e){for(var t=Object.keys(e),r=0;r<t.length;r++){var n=t[r];if(!this.data.failureSummaries[n])throw new Error('Locale provided for unknown failureMessage: "'.concat(n,'"'));this.data.failureSummaries[n]=xw(this.data.failureSummaries[n],e[n])}}},{key:"applyLocale",value:function(e){this._setDefaultLocale(),e.checks&&this._applyCheckLocale(e.checks),e.rules&&this._applyRuleLocale(e.rules),e.failureSummaries&&this._applyFailureSummaries(e.failureSummaries,"failureSummaries"),e.incompleteFallbackMessage&&(this.data.incompleteFallbackMessage=Ew(this.data.incompleteFallbackMessage,e.incompleteFallbackMessage)),e.lang&&(this.lang=e.lang)}},{key:"setAllowedOrigins",value:function(e){var t=bw();this.allowedOrigins=[];var r,n=te(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===na.allOrigins)return void(this.allowedOrigins=["*"]);a!==na.sameOrigin?this.allowedOrigins.push(a):t&&this.allowedOrigins.push(t)}}catch(e){n.e(e)}finally{n.f()}}},{key:"_init",value:function(){var e=function(e){var t;if(e?(t=Op(e)).commons=e.commons:t={},t.reporter=t.reporter||null,t.noHtml=t.noHtml||!1,!t.allowedOrigins){var r=bw();t.allowedOrigins=r?[r]:[]}return t.rules=t.rules||[],t.checks=t.checks||[],t.data=j({checks:{},rules:{}},t.data),t}(this.defaultConfig);this.lang=e.lang||"en",this.reporter=e.reporter,this.commands={},this.rules=[],this.checks={},this.brand="axe",this.application="axeAPI",this.tagExclude=["experimental","deprecated"],this.noHtml=e.noHtml,this.allowedOrigins=e.allowedOrigins,yw(e.rules,this,"addRule"),yw(e.checks,this,"addCheck"),this.data={},this.data.checks=e.data&&e.data.checks||{},this.data.rules=e.data&&e.data.rules||{},this.data.failureSummaries=e.data&&e.data.failureSummaries||{},this.data.incompleteFallbackMessage=e.data&&e.data.incompleteFallbackMessage||"",this._constructHelpUrls()}},{key:"registerCommand",value:function(e){this.commands[e.id]=e.callback}},{key:"addRule",value:function(e){e.metadata&&(this.data.rules[e.id]=e.metadata);var t=this.getRule(e.id);t?t.configure(e):this.rules.push(new fw(e,this))}},{key:"addCheck",value:function(e){var t=e.metadata;"object"===l(t)&&(this.data.checks[e.id]=t,"object"===l(t.messages)&&Object.keys(t.messages).filter((function(e){return t.messages.hasOwnProperty(e)&&"string"==typeof t.messages[e]})).forEach((function(e){0===t.messages[e].indexOf("function")&&(t.messages[e]=new Function("return "+t.messages[e]+";")())}))),this.checks[e.id]?this.checks[e.id].configure(e):this.checks[e.id]=new dw(e)}},{key:"run",value:function(e,t,r,n){this.normalizeOptions(t),Tp.setRunOptions(t),c._selectCache=[];var a=function(e,t,r){var n={now:[],later:[]},a=e.reduce((function(e,n){return kh(n,t,r)?n.preload?(e.later.push(n),e):(e.now.push(n),e):e}),n);return a}(this.rules,e,t),o=a.now,i=a.later,u=ef();o.forEach((function(r){u.defer(Aw(r,e,t))}));var s=ef();i.length&&s.defer((function(e){wh(t).then((function(t){return e(t)})).catch((function(t){console.warn("Couldn't load preload assets: ",t),e(void 0)}))}));var l=ef();l.defer(u),l.defer(s),l.then((function(a){var o=a.pop();if(o&&o.length){var u=o[0];u&&(e=j({},e,u))}var s=a[0];if(!i.length)return c._selectCache=void 0,void r(s.filter((function(e){return!!e})));var l=ef();i.forEach((function(r){var n=Aw(r,e,t);l.defer(n)})),l.then((function(e){c._selectCache=void 0,r(s.concat(e).filter((function(e){return!!e})))})).catch(n)})).catch(n)}},{key:"after",value:function(e,t){var r=this.rules;return e.map((function(e){if(e.error)return e;var n=$f(r,"id",e.id);if(!n)throw new Error("Result for unknown rule. You may be running mismatch axe-core versions");try{return n.after(e,t)}catch(e){if(t.debug)throw e;return Fw(n,e)}}))}},{key:"getRule",value:function(e){return this.rules.find((function(t){return t.id===e}))}},{key:"normalizeOptions",value:function(e){var t=[],r=[];if(this.rules.forEach((function(e){r.push(e.id),e.tags.forEach((function(e){t.includes(e)||t.push(e)}))})),["object","string"].includes(l(e.runOnly))){if("string"==typeof e.runOnly&&(e.runOnly=[e.runOnly]),Array.isArray(e.runOnly)){var n=e.runOnly.find((function(e){return t.includes(e)})),a=e.runOnly.find((function(e){return r.includes(e)}));if(n&&a)throw new Error("runOnly cannot be both rules and tags");e.runOnly=a?{type:"rule",values:e.runOnly}:{type:"tag",values:e.runOnly}}var o=e.runOnly;if(o.value&&!o.values&&(o.values=o.value,delete o.value),!Array.isArray(o.values)||0===o.values.length)throw new Error("runOnly.values must be a non-empty array");if(["rule","rules"].includes(o.type))o.type="rule",o.values.forEach((function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.runOnly")}));else{if(!["tag","tags",void 0].includes(o.type))throw new Error("Unknown runOnly type '".concat(o.type,"'"));o.type="tag";var i=o.values.filter((function(e){return!t.includes(e)&&!/wcag2[1-3]a{1,3}/.test(e)}));0!==i.length&&c.log("Could not find tags `"+i.join("`, `")+"`")}}return"object"===l(e.rules)&&Object.keys(e.rules).forEach((function(e){if(!r.includes(e))throw new Error("unknown rule `"+e+"` in options.rules")})),e}},{key:"setBranding",value:function(e){var t={brand:this.brand,application:this.application};"string"==typeof e&&(this.application=e),e&&e.hasOwnProperty("brand")&&e.brand&&"string"==typeof e.brand&&(this.brand=e.brand),e&&e.hasOwnProperty("application")&&e.application&&"string"==typeof e.application&&(this.application=e.application),this._constructHelpUrls(t)}},{key:"_constructHelpUrls",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=(c.version.match(/^[1-9][0-9]*\.[0-9]+/)||["x.y"])[0];this.rules.forEach((function(n){e.data.rules[n.id]||(e.data.rules[n.id]={});var a=e.data.rules[n.id];("string"!=typeof a.helpUrl||t&&a.helpUrl===Cw(t,n.id,r))&&(a.helpUrl=Cw(e,n.id,r))}))}},{key:"resetRulesAndChecks",value:function(){this._init(),this._resetLocale()}}]),vw=gw;function bw(){return i.origin&&"null"!==i.origin?i.origin:i.location&&i.location.origin&&"null"!==i.location.origin?i.location.origin:void 0}function yw(e,t,r){var n,a;for(n=0,a=e.length;n<a;n++)t[r](e[n])}var ww=function(e,t){var r=t.pass,n=t.fail;return"string"==typeof r&&hw.test(r)&&(r=Ia.default.compile(r)),"string"==typeof n&&hw.test(n)&&(n=Ia.default.compile(n)),j({},e,{messages:{pass:r||e.messages.pass,fail:n||e.messages.fail,incomplete:"object"===l(e.messages.incomplete)?j({},e.messages.incomplete,t.incomplete):t.incomplete}})},Dw=function(e,t){var r=t.help,n=t.description;return"string"==typeof r&&hw.test(r)&&(r=Ia.default.compile(r)),"string"==typeof n&&hw.test(n)&&(n=Ia.default.compile(n)),j({},e,{help:r||e.help,description:n||e.description})},xw=function(e,t){var r=t.failureMessage;return"string"==typeof r&&hw.test(r)&&(r=Ia.default.compile(r)),j({},e,{failureMessage:r||e.failureMessage})},Ew=function(e,t){return"string"==typeof t&&hw.test(t)&&(t=Ia.default.compile(t)),t||e};function Aw(e,t,r){return r.performanceTimer&&ch.mark("mark_rule_start_"+e.id),function(n,a){e.run(t,r,(function(e){return n(e)}),(function(t){r.debug?a(t):n(Fw(e,t))}))}}function Fw(e,t){var r=t.errorNode,n=Sh(t),a=[{id:"error-occurred",result:void 0,data:n,relatedNodes:[]}],o=r||new Tp(s.documentElement);return Object.assign(new pw(e),{error:n,result:na.CANTTELL,nodes:[{any:[],all:[],none:a,node:o}]})}function Cw(e,t,r){var n=e.brand,a=e.application,o=e.lang;return na.helpUrlBase+n+"/"+(r||c.version.substring(0,c.version.lastIndexOf(".")))+"/"+t+"?application="+encodeURIComponent(a)+(o&&"en"!==o?"&lang="+encodeURIComponent(o):"")}function kw(e){var t=i&&"Node"in i&&"NodeList"in i,r=!!s;if(!t||!r){if(!e||!e.ownerDocument)throw new Error('Required "window" or "document" globals not defined and cannot be deduced from the context. Either set the globals before running or pass in a valid Element.');r||(ds.set("globalDocumentSet",!0),s=e.ownerDocument),t||(ds.set("globalWindowSet",!0),i=s.defaultView)}}var Nw=function(){ds.get("globalDocumentSet")&&(ds.set("globalDocumentSet",!1),s=null),ds.get("globalWindowSet")&&(ds.set("globalWindowSet",!1),i=null),c._memoizedFns.forEach((function(e){return e.clear()})),ds.clear(),c._tree=void 0,c._selectorData=void 0,c._selectCache=void 0};function Rw(e,t,r,n){try{e=new Mm(e),c._tree=e.flatTree,c._selectorData=Zu(e.flatTree)}catch(e){return Nw(),n(e)}var a=ef(),o=c._audit;t.performanceTimer&&ch.auditStart(),e.frames.length&&!1!==t.iframes&&a.defer((function(r,n){Wf(e,t,"rules",null,r,n)})),a.defer((function(r,n){o.run(e,t,r,n)})),a.then((function(a){try{t.performanceTimer&&ch.auditEnd();var i=Uf(a.map((function(e){return{results:e}})));e.initiator&&(t.performanceTimer&&ch.mark("auditAfterStart"),i=o.after(i,t),t.performanceTimer&&(ch.mark("auditAfterEnd"),ch.measure("audit.after","auditAfterStart","auditAfterEnd"),ch.logMeasures("audit.after")),i.forEach(Eh),i=i.map(ha));try{r(i,Nw)}catch(e){Nw(),aa(e)}}catch(e){Nw(),n(e)}})).catch((function(e){Nw(),n(e)}))}function _w(e){this._run=e.run,this._collect=e.collect,this._registry={},e.commands.forEach((function(e){c._audit.registerCommand(e)}))}i.top!==i&&(Pf.subscribe("axe.start",(function(e,t,r){var n=r,a=function(e){e instanceof Error==0&&(e=new Error(e)),r(e)},o=e&&e.context||{};o.hasOwnProperty("include")&&!o.include.length&&(o.include=[s]);var i=e&&e.options||{};switch(e.command){case"rules":return Rw(o,i,(function(e,t){e=Vf.mapRawResults(e),n(e),t()}),a);case"cleanup-plugin":return Kh(n,a);default:if(c._audit&&c._audit.commands&&c._audit.commands[e.command])return c._audit.commands[e.command](e,r)}})),Pf.subscribe("axe.ping",(function(e,t,r){r({axe:!0})}))),_w.prototype.run=function(){return this._run.apply(this,arguments)},_w.prototype.collect=function(){return this._collect.apply(this,arguments)},_w.prototype.cleanup=function(e){var t=c.utils.queue(),r=this;Object.keys(this._registry).forEach((function(e){t.defer((function(t){r._registry[e].cleanup(t)}))})),t.then(e)},_w.prototype.add=function(e){this._registry[e.id]=e};var Tw=function(e){c.plugins[e.id]=new _w(e)};var Sw=function(){var e=c._audit;if(!e)throw new Error("No audit configured");e.resetRulesAndChecks(),Object.keys(rc).forEach((function(e){rc[e]=tc[e]}))};function Ow(e){var t,r,n,a=Y(e,3),o=a[0],i=a[1],u=a[2],d=new TypeError("axe.run arguments are invalid");if(!Wm(o)){if(void 0!==u)throw d;u=i,i=o,o=s}if("object"!==l(i)){if(void 0!==u)throw d;u=i,i={}}if("function"!=typeof u&&void 0!==u)throw d;return(i=Op(i)).reporter=null!==(t=null!==(r=i.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",{context:o,options:i,callback:u}}var Mw=function(){};function Pw(e){var t=e.frames,r=e.frameSpec;return r?t.map((function(e){return Vf.mergeSpecs(e,r)})):t}var Iw=function(e){if(c._tree)throw new Error("Axe is already setup. Call `axe.teardown()` before calling `axe.setup` again.");return e&&"object"===l(e.documentElement)&&"object"===l(e.defaultView)&&(e=e.documentElement),kw(e),c._tree=um(e),c._selectorData=Zu(c._tree),c._tree[0]},Bw=function(e,t,r){console.warn('"na" reporter will be deprecated in axe v4.0. Use the "v2" reporter instead.'),"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,F);r(j({},xm(a),{toolOptions:o},hm(e,t)))},Lw=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,C);t.resultTypes=["violations"];var i=hm(e,t).violations;r(j({},xm(a),{toolOptions:o,violations:i}))},jw=function(e,t,r){if("function"==typeof t&&(r=t,t={}),!e||!Array.isArray(e))return r(e);r(e.map((function(e){for(var t=j({},e),r=0,n=["passes","violations","incomplete","inapplicable"];r<n.length;r++){var a=n[r];t[a]=Vf.mapRawNodeResults(t[a])}return t})))},qw=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,k);jw(e,o,(function(e){var t=xm(a);r({raw:e,env:t})}))},zw=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,N),i=hm(e,t),u=function(e){e.nodes.forEach((function(e){e.failureSummary=pm(e)}))};i.incomplete.forEach(u),i.violations.forEach(u),r(j({},xm(a),{toolOptions:o},i))},Vw=function(e,t,r){"function"==typeof t&&(r=t,t={});var n=t,a=n.environmentData,o=O(n,R),i=hm(e,t);r(j({},xm(a),{toolOptions:o},i))},Gw={base:{Audit:vw,CheckResult:uw,Check:dw,Context:Mm,RuleResult:pw,Rule:fw,metadataFunctionMap:iw},public:{reporters:Xh},helpers:{failureSummary:pm,incompleteFallbackMessage:fm,processAggregate:hm},utils:{setDefaultFrameMessenger:Of,cacheNodeSelectors:im,getNodesMatchingExpression:rm,convertSelector:Up},commons:{dom:{nativelyHidden:As,displayHidden:Fs,visibilityHidden:Cs,contentVisibiltyHidden:ks,ariaHidden:Ns,opacityHidden:Rs,scrollHidden:_s,overflowHidden:Ts,clipHidden:Ss,areaHidden:Os,detailsHidden:Ms}}};c._thisWillBeDeletedDoNotUse=Gw,c.constants=na,c.log=aa,c.AbstractVirtualNode=ia,c.SerialVirtualNode=Wh,c.VirtualNode=Cp,c._cache=ds,c.imports=Ra,c.cleanup=Kh,c.configure=Qh,c.frameMessenger=function(e){Pf.updateMessenger(e)},c.getRules=eg,c._load=function(e){c._audit=new vw(e)},c.plugins={},c.registerPlugin=Tw,c.hasReporter=Zh,c.getReporter=Jh,c.addReporter=function(e,t,r){Xh[e]=t,r&&(Yh=t)},c.reset=Sw,c._runRules=Rw,c.runVirtualRule=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};r.reporter=r.reporter||c._audit.reporter||"v1",c._selectorData={},t instanceof ia||(t=new Wh(t));var n=Im(e);if(!n)throw new Error("unknown rule `"+e+"`");var a={initiator:!0,include:[t],exclude:[],frames:[],page:!1,focusable:!0,size:{},flatTree:[]},o=(n=Object.create(n,{excludeHidden:{value:!1}})).runSync(a,r);Eh(o),ha(o);var i=ba([o]);return i.violations.forEach((function(e){return e.nodes.forEach((function(e){e.failureSummary=pm(e)}))})),j({},xm(),i,{toolOptions:r})},c.run=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];kw(t[0]);var n=Ow(t),a=n.context,o=n.options,i=n.callback,u=void 0===i?Mw:i,s=function(e){var t,r,n;"function"==typeof Promise&&e===Mw?t=new Promise((function(e,t){r=t,n=e})):(n=function(t){return e(null,t)},r=function(t){return e(t)});return{thenable:t,reject:r,resolve:n}}(u),l=s.thenable,d=s.resolve,p=s.reject;try{wa(c._audit,"No audit configured"),wa(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.")}catch(e){return function(e,t){if("function"==typeof t&&t!==Mw)return void t(e.message);throw e}(e,u)}return c._running=!0,o.performanceTimer&&ch.start(),c._runRules(a,o,(function(e,t){var r=function(e){c._running=!1,t();try{p(e)}catch(e){c.log(e)}};try{o.performanceTimer&&ch.mark("reporterStart"),function(e,t,r,n){var a=Jh(t.reporter),o=a(e,t,r,n);void 0!==o&&r(o)}(e,o,(function(e){o.performanceTimer&&(ch.mark("reporterEnd"),ch.measure("reporter","reporterStart","reporterEnd"),ch.logMeasures("reporter"),ch.end()),c._running=!1,t();try{d(e)}catch(e){c.log(e)}}),r)}catch(e){r(e)}}),(function(e){o.performanceTimer&&ch.end(),c._running=!1,u(e),p(e)})),l},c.setup=Iw,c.teardown=Nw,c.runPartial=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=Ow(t),a=n.options,o=n.context;wa(c._audit,"Axe is not configured. Audit is missing."),wa(!c._running,"Axe is already running. Use `await axe.run()` to wait for the previous run to finish before starting a new run.");var i=new Mm(o,c._tree);return c._tree=i.flatTree,c._selectorData=Zu(i.flatTree),c._running=!0,a.elementRef=!1,new Promise((function(e,t){c._audit.run(i,a,e,t)})).then((function(e){e=Vf.mapRawResults(e);var t,r=i.frames.map((function(e){var t=e.node;return Vf.toSpec(t)}));return i.initiator&&(t=xm()),c._running=!1,Nw(),{results:e,frames:r,environmentData:t}})).catch((function(e){return c._running=!1,Nw(),Promise.reject(e)}))},c.finishRun=function(e){var t,r,n,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};a=Op(a);var o=(e.find((function(e){return e.environmentData}))||{}).environmentData;c._audit.normalizeOptions(a),a.reporter=null!==(t=null!==(r=a.reporter)&&void 0!==r?r:null===(n=c._audit)||void 0===n?void 0:n.reporter)&&void 0!==t?t:"v1",function(e){var t,r=[],n=te(e);try{for(n.s();!(t=n.n()).done;){var a=t.value,o=r.shift();if(a){a.frameSpec=null!=o?o:null;var i=Pw(a);r.unshift.apply(r,q(i))}}}catch(e){n.e(e)}finally{n.f()}}(e);var i=Uf(e);return(i=c._audit.after(i,a)).forEach(Eh),function(e,t){return new Promise((function(r,n){Jh(t.reporter)(e,t,r,n)}))}(i=i.map(ha),j({environmentData:o},a))},c.commons=Dv,c.utils=ua,c.addReporter("na",Bw),c.addReporter("no-passes",Lw),c.addReporter("rawEnv",qw),c.addReporter("raw",jw),c.addReporter("v1",zw),c.addReporter("v2",Vw,!0)}(),c._load({lang:"en",data:{rules:{accesskeys:{description:"Ensure every accesskey attribute value is unique",help:"accesskey attribute value should be unique"},"area-alt":{description:"Ensure <area> elements of image maps have alternative text",help:"Active <area> elements must have alternative text"},"aria-allowed-attr":{description:"Ensure an element's role supports its ARIA attributes",help:"Elements must only use supported ARIA attributes"},"aria-allowed-role":{description:"Ensure role attribute has an appropriate value for the element",help:"ARIA role should be appropriate for the element"},"aria-braille-equivalent":{description:"Ensure aria-braillelabel and aria-brailleroledescription have a non-braille equivalent",help:"aria-braille attributes must have a non-braille equivalent"},"aria-command-name":{description:"Ensure every ARIA button, link and menuitem has an accessible name",help:"ARIA commands must have an accessible name"},"aria-conditional-attr":{description:"Ensure ARIA attributes are used as described in the specification of the element's role",help:"ARIA attributes must be used as specified for the element's role"},"aria-deprecated-role":{description:"Ensure elements do not use deprecated roles",help:"Deprecated ARIA roles must not be used"},"aria-dialog-name":{description:"Ensure every ARIA dialog and alertdialog node has an accessible name",help:"ARIA dialog and alertdialog nodes should have an accessible name"},"aria-hidden-body":{description:'Ensure aria-hidden="true" is not present on the document body.',help:'aria-hidden="true" must not be present on the document body'},"aria-hidden-focus":{description:"Ensure aria-hidden elements are not focusable nor contain focusable elements",help:"ARIA hidden element must not be focusable or contain focusable elements"},"aria-input-field-name":{description:"Ensure every ARIA input field has an accessible name",help:"ARIA input fields must have an accessible name"},"aria-meter-name":{description:"Ensure every ARIA meter node has an accessible name",help:"ARIA meter nodes must have an accessible name"},"aria-progressbar-name":{description:"Ensure every ARIA progressbar node has an accessible name",help:"ARIA progressbar nodes must have an accessible name"},"aria-prohibited-attr":{description:"Ensure ARIA attributes are not prohibited for an element's role",help:"Elements must only use permitted ARIA attributes"},"aria-required-attr":{description:"Ensure elements with ARIA roles have all required ARIA attributes",help:"Required ARIA attributes must be provided"},"aria-required-children":{description:"Ensure elements with an ARIA role that require child roles contain them",help:"Certain ARIA roles must contain particular children"},"aria-required-parent":{description:"Ensure elements with an ARIA role that require parent roles are contained by them",help:"Certain ARIA roles must be contained by particular parents"},"aria-roledescription":{description:"Ensure aria-roledescription is only used on elements with an implicit or explicit role",help:"aria-roledescription must be on elements with a semantic role"},"aria-roles":{description:"Ensure all elements with a role attribute use a valid value",help:"ARIA roles used must conform to valid values"},"aria-text":{description:'Ensure role="text" is used on elements with no focusable descendants',help:'"role=text" should have no focusable descendants'},"aria-toggle-field-name":{description:"Ensure every ARIA toggle field has an accessible name",help:"ARIA toggle fields must have an accessible name"},"aria-tooltip-name":{description:"Ensure every ARIA tooltip node has an accessible name",help:"ARIA tooltip nodes must have an accessible name"},"aria-treeitem-name":{description:"Ensure every ARIA treeitem node has an accessible name",help:"ARIA treeitem nodes should have an accessible name"},"aria-valid-attr-value":{description:"Ensure all ARIA attributes have valid values",help:"ARIA attributes must conform to valid values"},"aria-valid-attr":{description:"Ensure attributes that begin with aria- are valid ARIA attributes",help:"ARIA attributes must conform to valid names"},"audio-caption":{description:"Ensure <audio> elements have captions",help:"<audio> elements must have a captions track"},"autocomplete-valid":{description:"Ensure the autocomplete attribute is correct and suitable for the form field",help:"autocomplete attribute must be used correctly"},"avoid-inline-spacing":{description:"Ensure that text spacing set through style attributes can be adjusted with custom stylesheets",help:"Inline text spacing must be adjustable with custom stylesheets"},blink:{description:"Ensure <blink> elements are not used",help:"<blink> elements are deprecated and must not be used"},"button-name":{description:"Ensure buttons have discernible text",help:"Buttons must have discernible text"},bypass:{description:"Ensure each page has at least one mechanism for a user to bypass navigation and jump straight to the content",help:"Page must have means to bypass repeated blocks"},"color-contrast-enhanced":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",help:"Elements must meet enhanced color contrast ratio thresholds"},"color-contrast":{description:"Ensure the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},"css-orientation-lock":{description:"Ensure content is not locked to any specific display orientation, and the content is operable in all display orientations",help:"CSS Media queries must not lock display orientation"},"definition-list":{description:"Ensure <dl> elements are structured correctly",help:"<dl> elements must only directly contain properly-ordered <dt> and <dd> groups, <script>, <template> or <div> elements"},dlitem:{description:"Ensure <dt> and <dd> elements are contained by a <dl>",help:"<dt> and <dd> elements must be contained by a <dl>"},"document-title":{description:"Ensure each HTML document contains a non-empty <title> element",help:"Documents must have <title> element to aid in navigation"},"duplicate-id-active":{description:"Ensure every id attribute value of active elements is unique",help:"IDs of active elements must be unique"},"duplicate-id-aria":{description:"Ensure every id attribute value used in ARIA and in labels is unique",help:"IDs used in ARIA and labels must be unique"},"duplicate-id":{description:"Ensure every id attribute value is unique",help:"id attribute value must be unique"},"empty-heading":{description:"Ensure headings have discernible text",help:"Headings should not be empty"},"empty-table-header":{description:"Ensure table headers have discernible text",help:"Table header text should not be empty"},"focus-order-semantics":{description:"Ensure elements in the focus order have a role appropriate for interactive content",help:"Elements in the focus order should have an appropriate role"},"form-field-multiple-labels":{description:"Ensure form field does not have multiple label elements",help:"Form field must not have multiple label elements"},"frame-focusable-content":{description:"Ensure <frame> and <iframe> elements with focusable content do not have tabindex=-1",help:"Frames with focusable content must not have tabindex=-1"},"frame-tested":{description:"Ensure <iframe> and <frame> elements contain the axe-core script",help:"Frames should be tested with axe-core"},"frame-title-unique":{description:"Ensure <iframe> and <frame> elements contain a unique title attribute",help:"Frames must have a unique title attribute"},"frame-title":{description:"Ensure <iframe> and <frame> elements have an accessible name",help:"Frames must have an accessible name"},"heading-order":{description:"Ensure the order of headings is semantically correct",help:"Heading levels should only increase by one"},"hidden-content":{description:"Inform users about hidden content.",help:"Hidden content on the page should be analyzed"},"html-has-lang":{description:"Ensure every HTML document has a lang attribute",help:"<html> element must have a lang attribute"},"html-lang-valid":{description:"Ensure the lang attribute of the <html> element has a valid value",help:"<html> element must have a valid value for the lang attribute"},"html-xml-lang-mismatch":{description:"Ensure that HTML elements with both valid lang and xml:lang attributes agree on the base language of the page",help:"HTML elements with lang and xml:lang must have the same base language"},"identical-links-same-purpose":{description:"Ensure that links with the same accessible name serve a similar purpose",help:"Links with the same name must have a similar purpose"},"image-alt":{description:"Ensure <img> elements have alternative text or a role of none or presentation",help:"Images must have alternative text"},"image-redundant-alt":{description:"Ensure image alternative is not repeated as text",help:"Alternative text of images should not be repeated as text"},"input-button-name":{description:"Ensure input buttons have discernible text",help:"Input buttons must have discernible text"},"input-image-alt":{description:'Ensure <input type="image"> elements have alternative text',help:"Image buttons must have alternative text"},"label-content-name-mismatch":{description:"Ensure that elements labelled through their content must have their visible text as part of their accessible name",help:"Elements must have their visible text as part of their accessible name"},"label-title-only":{description:"Ensure that every form element has a visible label and is not solely labeled using hidden labels, or the title or aria-describedby attributes",help:"Form elements should have a visible label"},label:{description:"Ensure every form element has a label",help:"Form elements must have labels"},"landmark-banner-is-top-level":{description:"Ensure the banner landmark is at top level",help:"Banner landmark should not be contained in another landmark"},"landmark-complementary-is-top-level":{description:"Ensure the complementary landmark or aside is at top level",help:"Aside should not be contained in another landmark"},"landmark-contentinfo-is-top-level":{description:"Ensure the contentinfo landmark is at top level",help:"Contentinfo landmark should not be contained in another landmark"},"landmark-main-is-top-level":{description:"Ensure the main landmark is at top level",help:"Main landmark should not be contained in another landmark"},"landmark-no-duplicate-banner":{description:"Ensure the document has at most one banner landmark",help:"Document should not have more than one banner landmark"},"landmark-no-duplicate-contentinfo":{description:"Ensure the document has at most one contentinfo landmark",help:"Document should not have more than one contentinfo landmark"},"landmark-no-duplicate-main":{description:"Ensure the document has at most one main landmark",help:"Document should not have more than one main landmark"},"landmark-one-main":{description:"Ensure the document has a main landmark",help:"Document should have one main landmark"},"landmark-unique":{description:"Ensure landmarks are unique",help:"Landmarks should have a unique role or role/label/title (i.e. accessible name) combination"},"link-in-text-block":{description:"Ensure links are distinguished from surrounding text in a way that does not rely on color",help:"Links must be distinguishable without relying on color"},"link-name":{description:"Ensure links have discernible text",help:"Links must have discernible text"},list:{description:"Ensure that lists are structured correctly",help:"<ul> and <ol> must only directly contain <li>, <script> or <template> elements"},listitem:{description:"Ensure <li> elements are used semantically",help:"<li> elements must be contained in a <ul> or <ol>"},marquee:{description:"Ensure <marquee> elements are not used",help:"<marquee> elements are deprecated and must not be used"},"meta-refresh-no-exceptions":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh must not be used"},"meta-refresh":{description:'Ensure <meta http-equiv="refresh"> is not used for delayed refresh',help:"Delayed refresh under 20 hours must not be used"},"meta-viewport-large":{description:'Ensure <meta name="viewport"> can scale a significant amount',help:"Users should be able to zoom and scale the text up to 500%"},"meta-viewport":{description:'Ensure <meta name="viewport"> does not disable text scaling and zooming',help:"Zooming and scaling must not be disabled"},"nested-interactive":{description:"Ensure interactive controls are not nested as they are not always announced by screen readers or can cause focus problems for assistive technologies",help:"Interactive controls must not be nested"},"no-autoplay-audio":{description:"Ensure <video> or <audio> elements do not autoplay audio for more than 3 seconds without a control mechanism to stop or mute the audio",help:"<video> or <audio> elements must not play automatically"},"object-alt":{description:"Ensure <object> elements have alternative text",help:"<object> elements must have alternative text"},"p-as-heading":{description:"Ensure bold, italic text and font-size is not used to style <p> elements as a heading",help:"Styled <p> elements must not be used as headings"},"page-has-heading-one":{description:"Ensure that the page, or at least one of its frames contains a level-one heading",help:"Page should contain a level-one heading"},"presentation-role-conflict":{description:"Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",help:"Elements marked as presentational should be consistently ignored"},region:{description:"Ensure all page content is contained by landmarks",help:"All page content should be contained by landmarks"},"role-img-alt":{description:'Ensure [role="img"] elements have alternative text',help:'[role="img"] elements must have alternative text'},"scope-attr-valid":{description:"Ensure the scope attribute is used correctly on tables",help:"scope attribute should be used correctly"},"scrollable-region-focusable":{description:"Ensure elements that have scrollable content are accessible by keyboard",help:"Scrollable region must have keyboard access"},"select-name":{description:"Ensure select element has an accessible name",help:"Select element must have an accessible name"},"server-side-image-map":{description:"Ensure that server-side image maps are not used",help:"Server-side image maps must not be used"},"skip-link":{description:"Ensure all skip links have a focusable target",help:"The skip-link target should exist and be focusable"},"summary-name":{description:"Ensure summary elements have discernible text",help:"Summary elements must have discernible text"},"svg-img-alt":{description:"Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",help:"<svg> elements with an img role must have alternative text"},tabindex:{description:"Ensure tabindex attribute values are not greater than 0",help:"Elements should not have tabindex greater than zero"},"table-duplicate-name":{description:"Ensure the <caption> element does not contain the same text as the summary attribute",help:"Tables should not have the same summary and caption"},"table-fake-caption":{description:"Ensure that tables with a caption use the <caption> element.",help:"Data or header cells must not be used to give caption to a data table."},"target-size":{description:"Ensure touch targets have sufficient size and space",help:"All touch targets must be 24px large, or leave sufficient space"},"td-has-header":{description:"Ensure that each non-empty data cell in a <table> larger than 3 by 3 has one or more table headers",help:"Non-empty <td> elements in larger <table> must have an associated table header"},"td-headers-attr":{description:"Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",help:"Table cell headers attributes must refer to other <th> elements in the same table"},"th-has-data-cells":{description:"Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",help:"Table headers in a data table must refer to data cells"},"valid-lang":{description:"Ensure lang attributes have valid values",help:"lang attribute must have a valid value"},"video-caption":{description:"Ensure <video> elements have captions",help:"<video> elements must have captions"}},checks:{abstractrole:{impact:"serious",messages:{pass:"Abstract roles are not used",fail:{singular:"Abstract role cannot be directly used: ${data.values}",plural:"Abstract roles cannot be directly used: ${data.values}"}}},"aria-allowed-attr":{impact:"critical",messages:{pass:"ARIA attributes are used correctly for the defined role",fail:{singular:"ARIA attribute is not allowed: ${data.values}",plural:"ARIA attributes are not allowed: ${data.values}"},incomplete:"Check that there is no problem if the ARIA attribute is ignored on this element: ${data.values}"}},"aria-allowed-role":{impact:"minor",messages:{pass:"ARIA role is allowed for given element",fail:{singular:"ARIA role ${data.values} is not allowed for given element",plural:"ARIA roles ${data.values} are not allowed for given element"},incomplete:{singular:"ARIA role ${data.values} must be removed when the element is made visible, as it is not allowed for the element",plural:"ARIA roles ${data.values} must be removed when the element is made visible, as they are not allowed for the element"}}},"aria-busy":{impact:"serious",messages:{pass:"Element has an aria-busy attribute",fail:'Element uses aria-busy="true" while showing a loader'}},"aria-conditional-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{checkbox:'Remove aria-checked, or set it to "${data.checkState}" to match the real checkbox state',rowSingular:"This attribute is supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}",rowPlural:"These attributes are supported with treegrid rows, but not ${data.ownerRole}: ${data.invalidAttrs}"}}},"aria-errormessage":{impact:"critical",messages:{pass:"aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",fail:{singular:"aria-errormessage value `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",plural:"aria-errormessage values `${data.values}` must use a technique to announce the message (e.g., aria-live, aria-describedby, role=alert, etc.)",hidden:"aria-errormessage value `${data.values}` cannot reference a hidden element"},incomplete:{singular:"Ensure aria-errormessage value `${data.values}` references an existing element",plural:"Ensure aria-errormessage values `${data.values}` reference existing elements",idrefs:"Unable to determine if aria-errormessage element exists on the page: ${data.values}"}}},"aria-hidden-body":{impact:"critical",messages:{pass:"No aria-hidden attribute is present on document body",fail:"aria-hidden=true should not be present on the document body"}},"aria-level":{impact:"serious",messages:{pass:"aria-level values are valid",incomplete:"aria-level values greater than 6 are not supported in all screenreader and browser combinations"}},"aria-prohibited-attr":{impact:"serious",messages:{pass:"ARIA attribute is allowed",fail:{hasRolePlural:'${data.prohibited} attributes cannot be used with role "${data.role}".',hasRoleSingular:'${data.prohibited} attribute cannot be used with role "${data.role}".',noRolePlural:"${data.prohibited} attributes cannot be used on a ${data.nodeName} with no valid role attribute.",noRoleSingular:"${data.prohibited} attribute cannot be used on a ${data.nodeName} with no valid role attribute."},incomplete:{hasRoleSingular:'${data.prohibited} attribute is not well supported with role "${data.role}".',hasRolePlural:'${data.prohibited} attributes are not well supported with role "${data.role}".',noRoleSingular:"${data.prohibited} attribute is not well supported on a ${data.nodeName} with no valid role attribute.",noRolePlural:"${data.prohibited} attributes are not well supported on a ${data.nodeName} with no valid role attribute."}}},"aria-required-attr":{impact:"critical",messages:{pass:"All required ARIA attributes are present",fail:{singular:"Required ARIA attribute not present: ${data.values}",plural:"Required ARIA attributes not present: ${data.values}"}}},"aria-required-children":{impact:"critical",messages:{pass:{default:"Required ARIA children are present","aria-busy":"Element has an aria-busy attribute, so it is allowed to omit required children"},fail:{singular:"Required ARIA child role not present: ${data.values}",plural:"Required ARIA children role not present: ${data.values}",unallowed:"Element has children which are not allowed: ${data.values}"},incomplete:{singular:"Expecting ARIA child role to be added: ${data.values}",plural:"Expecting ARIA children role to be added: ${data.values}"}}},"aria-required-parent":{impact:"critical",messages:{pass:"Required ARIA parent role present",fail:{singular:"Required ARIA parent role not present: ${data.values}",plural:"Required ARIA parents role not present: ${data.values}"}}},"aria-roledescription":{impact:"serious",messages:{pass:"aria-roledescription used on a supported semantic role",incomplete:"Check that the aria-roledescription is announced by supported screen readers",fail:"Give the element a role that supports aria-roledescription"}},"aria-unsupported-attr":{impact:"critical",messages:{pass:"ARIA attribute is supported",fail:"ARIA attribute is not widely supported in screen readers and assistive technologies: ${data.values}"}},"aria-valid-attr-value":{impact:"critical",messages:{pass:"ARIA attribute values are valid",fail:{singular:"Invalid ARIA attribute value: ${data.values}",plural:"Invalid ARIA attribute values: ${data.values}"},incomplete:{noId:"ARIA attribute element ID does not exist on the page: ${data.needsReview}",noIdShadow:"ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",ariaCurrent:'ARIA attribute value is invalid and will be treated as "aria-current=true": ${data.needsReview}',idrefs:"Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",empty:"ARIA attribute value is ignored while empty: ${data.needsReview}",controlsWithinPopup:"Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"}}},"aria-valid-attr":{impact:"critical",messages:{pass:"ARIA attribute name is valid",fail:{singular:"Invalid ARIA attribute name: ${data.values}",plural:"Invalid ARIA attribute names: ${data.values}"}}},"braille-label-equivalent":{impact:"serious",messages:{pass:"aria-braillelabel is used on an element with accessible text",fail:"aria-braillelabel is used on an element with no accessible text",incomplete:"Unable to compute accessible text"}},"braille-roledescription-equivalent":{impact:"serious",messages:{pass:"aria-brailleroledescription is used on an element with aria-roledescription",fail:{noRoleDescription:"aria-brailleroledescription is used on an element with no aria-roledescription",emptyRoleDescription:"aria-brailleroledescription is used on an element with an empty aria-roledescription"}}},deprecatedrole:{impact:"minor",messages:{pass:"ARIA role is not deprecated",fail:"The role used is deprecated: ${data}"}},fallbackrole:{impact:"serious",messages:{pass:"Only one role value used",fail:"Use only one role value, since fallback roles are not supported in older browsers",incomplete:"Use only role 'presentation' or 'none' since they are synonymous."}},"has-global-aria-attribute":{impact:"minor",messages:{pass:{singular:"Element has global ARIA attribute: ${data.values}",plural:"Element has global ARIA attributes: ${data.values}"},fail:"Element does not have global ARIA attribute"}},"has-widget-role":{impact:"minor",messages:{pass:"Element has a widget role.",fail:"Element does not have a widget role."}},invalidrole:{impact:"critical",messages:{pass:"ARIA role is valid",fail:{singular:"Role must be one of the valid ARIA roles: ${data.values}",plural:"Roles must be one of the valid ARIA roles: ${data.values}"}}},"is-element-focusable":{impact:"minor",messages:{pass:"Element is focusable.",fail:"Element is not focusable."}},"no-implicit-explicit-label":{impact:"serious",messages:{pass:"There is no mismatch between a <label> and accessible name",incomplete:"Check that the <label> does not need be part of the ARIA ${data} field's name"}},unsupportedrole:{impact:"critical",messages:{pass:"ARIA role is supported",fail:"The role used is not widely supported in screen readers and assistive technologies: ${data}"}},"valid-scrollable-semantics":{impact:"minor",messages:{pass:"Element has valid semantics for an element in the focus order.",fail:"Element has invalid semantics for an element in the focus order."}},"color-contrast-enhanced":{impact:"serious",messages:{pass:"Element has sufficient color contrast of ${data.contrastRatio}",fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"color-contrast":{impact:"serious",messages:{pass:{default:"Element has sufficient color contrast of ${data.contrastRatio}",hidden:"Element is hidden"},fail:{default:"Element has insufficient color contrast of ${data.contrastRatio} (foreground color: ${data.fgColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",fgOnShadowColor:"Element has insufficient color contrast of ${data.contrastRatio} between the foreground and shadow color (foreground color: ${data.fgColor}, text-shadow color: ${data.shadowColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}",shadowOnBgColor:"Element has insufficient color contrast of ${data.contrastRatio} between the shadow color and background color (text-shadow color: ${data.shadowColor}, background color: ${data.bgColor}, font size: ${data.fontSize}, font weight: ${data.fontWeight}). Expected contrast ratio of ${data.expectedContrastRatio}"},incomplete:{default:"Unable to determine contrast ratio",bgImage:"Element's background color could not be determined due to a background image",bgGradient:"Element's background color could not be determined due to a background gradient",imgNode:"Element's background color could not be determined because element contains an image node",bgOverlap:"Element's background color could not be determined because it is overlapped by another element",complexTextShadows:"Element's contrast could not be determined because it uses complex text shadows",fgAlpha:"Element's foreground color could not be determined because of alpha transparency",elmPartiallyObscured:"Element's background color could not be determined because it's partially obscured by another element",elmPartiallyObscuring:"Element's background color could not be determined because it partially overlaps other elements",outsideViewport:"Element's background color could not be determined because it's outside the viewport",equalRatio:"Element has a 1:1 contrast ratio with the background",shortTextContent:"Element content is too short to determine if it is actual text content",nonBmp:"Element content contains only non-text characters",pseudoContent:"Element's background color could not be determined due to a pseudo element",colorParse:"Could not parse color string ${data.colorParse}"}}},"link-in-text-block-style":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text by visual styling",incomplete:{default:"Check if the link needs styling to distinguish it from nearby text",pseudoContent:"Check if the link's pseudo style is sufficient to distinguish it from the surrounding text"},fail:"The link has no styling (such as underline) to distinguish it from the surrounding text"}},"link-in-text-block":{impact:"serious",messages:{pass:"Links can be distinguished from surrounding text in some way other than by color",fail:{fgContrast:"The link has insufficient color contrast of ${data.contrastRatio}:1 with the surrounding text. (Minimum contrast is ${data.requiredContrastRatio}:1, link text: ${data.nodeColor}, surrounding text: ${data.parentColor})",bgContrast:"The link background has insufficient color contrast of ${data.contrastRatio} (Minimum contrast is ${data.requiredContrastRatio}:1, link background color: ${data.nodeBackgroundColor}, surrounding background color: ${data.parentBackgroundColor})"},incomplete:{default:"Element's foreground contrast ratio could not be determined",bgContrast:"Element's background contrast ratio could not be determined",bgImage:"Element's contrast ratio could not be determined due to a background image",bgGradient:"Element's contrast ratio could not be determined due to a background gradient",imgNode:"Element's contrast ratio could not be determined because element contains an image node",bgOverlap:"Element's contrast ratio could not be determined because of element overlap"}}},"autocomplete-appropriate":{impact:"serious",messages:{pass:"The autocomplete value is on an appropriate element",fail:"The autocomplete value is inappropriate for this type of input"}},"autocomplete-valid":{impact:"serious",messages:{pass:"the autocomplete attribute is correctly formatted",fail:"the autocomplete attribute is incorrectly formatted",incomplete:"the autocomplete attribute has a non-standard value. Check whether any standard value could be used instead."}},accesskeys:{impact:"serious",messages:{pass:"Accesskey attribute value is unique",fail:"Document has multiple elements with the same accesskey"}},"focusable-content":{impact:"serious",messages:{pass:"Element contains focusable elements",fail:"Element should have focusable content"}},"focusable-disabled":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:"Focusable content should be disabled or be removed from the DOM"}},"focusable-element":{impact:"serious",messages:{pass:"Element is focusable",fail:"Element should be focusable"}},"focusable-modal-open":{impact:"serious",messages:{pass:"No focusable elements while a modal is open",incomplete:"Check that focusable elements are not tabbable in the current state"}},"focusable-no-name":{impact:"serious",messages:{pass:"Element is not in tab order or has accessible text",fail:"Element is in tab order and does not have accessible text",incomplete:"Unable to determine if element has an accessible name"}},"focusable-not-tabbable":{impact:"serious",messages:{pass:"No focusable elements contained within element",incomplete:"Check if the focusable elements immediately move the focus indicator",fail:'Focusable content should have tabindex="-1" or be removed from the DOM'}},"frame-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:"Element has focusable descendants",incomplete:"Could not determine if element has descendants"}},"landmark-is-top-level":{impact:"moderate",messages:{pass:"The ${data.role} landmark is at the top level.",fail:"The ${data.role} landmark is contained in another landmark."}},"no-focusable-content":{impact:"serious",messages:{pass:"Element does not have focusable descendants",fail:{default:"Element has focusable descendants",notHidden:'Using a negative tabindex on an element inside an interactive control does not prevent assistive technologies from focusing the element (even with aria-hidden="true")'},incomplete:"Could not determine if element has descendants"}},"page-has-heading-one":{impact:"moderate",messages:{pass:"Page has at least one level-one heading",fail:"Page must have a level-one heading"}},"page-has-main":{impact:"moderate",messages:{pass:"Document has at least one main landmark",fail:"Document does not have a main landmark"}},"page-no-duplicate-banner":{impact:"moderate",messages:{pass:"Document does not have more than one banner landmark",fail:"Document has more than one banner landmark"}},"page-no-duplicate-contentinfo":{impact:"moderate",messages:{pass:"Document does not have more than one contentinfo landmark",fail:"Document has more than one contentinfo landmark"}},"page-no-duplicate-main":{impact:"moderate",messages:{pass:"Document does not have more than one main landmark",fail:"Document has more than one main landmark"}},tabindex:{impact:"serious",messages:{pass:"Element does not have a tabindex greater than 0",fail:"Element has a tabindex greater than 0"}},"alt-space-value":{impact:"critical",messages:{pass:"Element has a valid alt attribute value",fail:"Element has an alt attribute containing only a space character, which is not ignored by all screen readers"}},"duplicate-img-label":{impact:"minor",messages:{pass:"Element does not duplicate existing text in <img> alt text",fail:"Element contains <img> element with alt text that duplicates existing text"}},"explicit-label":{impact:"critical",messages:{pass:"Element has an explicit <label>",fail:"Element does not have an explicit <label>",incomplete:"Unable to determine if form element has an explicit <label>"}},"help-same-as-label":{impact:"minor",messages:{pass:"Help text (title or aria-describedby) does not duplicate label text",fail:"Help text (title or aria-describedby) text is the same as the label text"}},"hidden-explicit-label":{impact:"critical",messages:{pass:"Form element has a visible explicit <label>",fail:"Form element has explicit <label> that is hidden",incomplete:"Unable to determine if form element has explicit <label> that is hidden"}},"implicit-label":{impact:"critical",messages:{pass:"Element has an implicit (wrapped) <label>",fail:"Element does not have an implicit (wrapped) <label>",incomplete:"Unable to determine if form element has an implicit (wrapped) <label>"}},"label-content-name-mismatch":{impact:"serious",messages:{pass:"Element contains visible text as part of it's accessible name",fail:"Text inside the element is not included in the accessible name"}},"multiple-label":{impact:"moderate",messages:{pass:"Form field does not have multiple label elements",incomplete:"Multiple label elements is not widely supported in assistive technologies. Ensure the first label contains all necessary information."}},"title-only":{impact:"serious",messages:{pass:"Form element does not solely use title attribute for its label",fail:"Only title used to generate label for form element"}},"landmark-is-unique":{impact:"moderate",messages:{pass:"Landmarks must have a unique role or role/label/title (i.e. accessible name) combination",fail:"The landmark must have a unique aria-label, aria-labelledby, or title to make landmarks distinguishable"}},"has-lang":{impact:"serious",messages:{pass:"The <html> element has a lang attribute",fail:{noXHTML:"The xml:lang attribute is not valid on HTML pages, use the lang attribute.",noLang:"The <html> element does not have a lang attribute"}}},"valid-lang":{impact:"serious",messages:{pass:"Value of lang attribute is included in the list of valid languages",fail:"Value of lang attribute not included in the list of valid languages"}},"xml-lang-mismatch":{impact:"moderate",messages:{pass:"Lang and xml:lang attributes have the same base language",fail:"Lang and xml:lang attributes do not have the same base language"}},dlitem:{impact:"serious",messages:{pass:"Description list item has a <dl> parent element",fail:"Description list item does not have a <dl> parent element"}},listitem:{impact:"serious",messages:{pass:'List item has a <ul>, <ol> or role="list" parent element',fail:{default:"List item does not have a <ul>, <ol> parent element",roleNotValid:'List item parent element has a role that is not role="list"'}}},"only-dlitems":{impact:"serious",messages:{pass:"dl element only has direct children that are allowed inside; <dt>, <dd>, or <div> elements",fail:"dl element has direct children that are not allowed: ${data.values}"}},"only-listitems":{impact:"serious",messages:{pass:"List element only has direct children that are allowed inside <li> elements",fail:"List element has direct children that are not allowed: ${data.values}"}},"structured-dlitems":{impact:"serious",messages:{pass:"When not empty, element has both <dt> and <dd> elements",fail:"When not empty, element does not have at least one <dt> element followed by at least one <dd> element"}},caption:{impact:"critical",messages:{pass:"The multimedia element has a captions track",incomplete:"Check that captions are available for the element"}},"frame-tested":{impact:"critical",messages:{pass:"The iframe was tested with axe-core",fail:"The iframe could not be tested with axe-core",incomplete:"The iframe still has to be tested with axe-core"}},"no-autoplay-audio":{impact:"moderate",messages:{pass:"<video> or <audio> does not output audio for more than allowed duration or has controls mechanism",fail:"<video> or <audio> outputs audio for more than allowed duration and does not have a controls mechanism",incomplete:"Check that the <video> or <audio> does not output audio for more than allowed duration or provides a controls mechanism"}},"css-orientation-lock":{impact:"serious",messages:{pass:"Display is operable, and orientation lock does not exist",fail:"CSS Orientation lock is applied, and makes display inoperable",incomplete:"CSS Orientation lock cannot be determined"}},"meta-viewport-large":{impact:"minor",messages:{pass:"<meta> tag does not prevent significant zooming on mobile devices",fail:"<meta> tag limits zooming on mobile devices"}},"meta-viewport":{impact:"critical",messages:{pass:"<meta> tag does not disable zooming on mobile devices",fail:"${data} on <meta> tag disables zooming on mobile devices"}},"target-offset":{impact:"serious",messages:{pass:{default:"Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.",large:"Target far exceeds the minimum size of ${data.minOffset}px."},fail:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",incomplete:{default:"Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",nonTabbableNeighbor:"Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"target-size":{impact:"serious",messages:{pass:{default:"Control has sufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",obscured:"Control is ignored because it is fully obscured and thus not clickable",large:"Target far exceeds the minimum size of ${data.minSize}px."},fail:{default:"Target has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)",partiallyObscured:"Target has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px)"},incomplete:{default:"Element with negative tabindex has insufficient size (${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",contentOverflow:"Element size could not be accurately determined due to overflow content",partiallyObscured:"Element with negative tabindex has insufficient size because it is partially obscured (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is this a target?",partiallyObscuredNonTabbable:"Target has insufficient size because it is partially obscured by a neighbor with negative tabindex (smallest space is ${data.width}px by ${data.height}px, should be at least ${data.minSize}px by ${data.minSize}px). Is the neighbor a target?",tooManyRects:"Could not get the target size because there are too many overlapping elements"}}},"header-present":{impact:"serious",messages:{pass:"Page has a heading",fail:"Page does not have a heading"}},"heading-order":{impact:"moderate",messages:{pass:"Heading order valid",fail:"Heading order invalid",incomplete:"Unable to determine previous heading"}},"identical-links-same-purpose":{impact:"minor",messages:{pass:"There are no other links with the same name, that go to a different URL",incomplete:"Check that links have the same purpose, or are intentionally ambiguous."}},"internal-link-present":{impact:"serious",messages:{pass:"Valid skip link found",fail:"No valid skip link found"}},landmark:{impact:"serious",messages:{pass:"Page has a landmark region",fail:"Page does not have a landmark region"}},"meta-refresh-no-exceptions":{impact:"minor",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page"}},"meta-refresh":{impact:"critical",messages:{pass:"<meta> tag does not immediately refresh the page",fail:"<meta> tag forces timed refresh of page (less than 20 hours)"}},"p-as-heading":{impact:"serious",messages:{pass:"<p> elements are not styled as headings",fail:"Heading elements should be used instead of styled <p> elements",incomplete:"Unable to determine if <p> elements are styled as headings"}},region:{impact:"moderate",messages:{pass:"All page content is contained by landmarks",fail:"Some page content is not contained by landmarks"}},"skip-link":{impact:"moderate",messages:{pass:"Skip link target exists",incomplete:"Skip link target should become visible on activation",fail:"No skip link target"}},"unique-frame-title":{impact:"serious",messages:{pass:"Element's title attribute is unique",fail:"Element's title attribute is not unique"}},"duplicate-id-active":{impact:"serious",messages:{pass:"Document has no active elements that share the same id attribute",fail:"Document has active elements with the same id attribute: ${data}"}},"duplicate-id-aria":{impact:"critical",messages:{pass:"Document has no elements referenced with ARIA or labels that share the same id attribute",fail:"Document has multiple elements referenced with ARIA with the same id attribute: ${data}"}},"duplicate-id":{impact:"minor",messages:{pass:"Document has no static elements that share the same id attribute",fail:"Document has multiple static elements with the same id attribute: ${data}"}},"aria-label":{impact:"serious",messages:{pass:"aria-label attribute exists and is not empty",fail:"aria-label attribute does not exist or is empty"}},"aria-labelledby":{impact:"serious",messages:{pass:"aria-labelledby attribute exists and references elements that are visible to screen readers",fail:"aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty",incomplete:"Ensure aria-labelledby references an existing element"}},"avoid-inline-spacing":{impact:"serious",messages:{pass:"No inline styles with '!important' that affect text spacing has been specified",fail:{singular:"Remove '!important' from inline style ${data.values}, as overriding this is not supported by most browsers",plural:"Remove '!important' from inline styles ${data.values}, as overriding this is not supported by most browsers"}}},"button-has-visible-text":{impact:"critical",messages:{pass:"Element has inner text that is visible to screen readers",fail:"Element does not have inner text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"doc-has-title":{impact:"serious",messages:{pass:"Document has a non-empty <title> element",fail:"Document does not have a non-empty <title> element"}},"error-occurred":{messages:{pass:"",incomplete:"Axe encountered an error; test the page for this type of problem manually"}},exists:{impact:"minor",messages:{pass:"Element does not exist",incomplete:"Element exists"}},"has-alt":{impact:"critical",messages:{pass:"Element has an alt attribute",fail:"Element does not have an alt attribute"}},"has-visible-text":{impact:"minor",messages:{pass:"Element has text that is visible to screen readers",fail:"Element does not have text that is visible to screen readers",incomplete:"Unable to determine if element has children"}},"important-letter-spacing":{impact:"serious",messages:{pass:"Letter-spacing in the style attribute is not set to !important, or meets the minimum",fail:"letter-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-line-height":{impact:"serious",messages:{pass:"line-height in the style attribute is not set to !important, or meets the minimum",fail:"line-height in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"important-word-spacing":{impact:"serious",messages:{pass:"word-spacing in the style attribute is not set to !important, or meets the minimum",fail:"word-spacing in the style attribute must not use !important, or be at ${data.minValue}em (current ${data.value}em)"}},"is-on-screen":{impact:"serious",messages:{pass:"Element is not visible",fail:"Element is visible"}},"non-empty-alt":{impact:"critical",messages:{pass:"Element has a non-empty alt attribute",fail:{noAttr:"Element has no alt attribute",emptyAttr:"Element has an empty alt attribute"}}},"non-empty-if-present":{impact:"critical",messages:{pass:{default:"Element does not have a value attribute","has-label":"Element has a non-empty value attribute"},fail:"Element has a value attribute and the value attribute is empty"}},"non-empty-placeholder":{impact:"serious",messages:{pass:"Element has a placeholder attribute",fail:{noAttr:"Element has no placeholder attribute",emptyAttr:"Element has an empty placeholder attribute"}}},"non-empty-title":{impact:"serious",messages:{pass:"Element has a title attribute",fail:{noAttr:"Element has no title attribute",emptyAttr:"Element has an empty title attribute"}}},"non-empty-value":{impact:"critical",messages:{pass:"Element has a non-empty value attribute",fail:{noAttr:"Element has no value attribute",emptyAttr:"Element has an empty value attribute"}}},"presentational-role":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="${data.role}"',fail:{default:'Element\'s default semantics were not overridden with role="none" or role="presentation"',globalAria:"Element's role is not presentational because it has a global ARIA attribute",focusable:"Element's role is not presentational because it is focusable",both:"Element's role is not presentational because it has a global ARIA attribute and is focusable",iframe:'Using the "title" attribute on an ${data.nodeName} element with a presentational role behaves inconsistently between screen readers'}}},"role-none":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="none"',fail:'Element\'s default semantics were not overridden with role="none"'}},"role-presentation":{impact:"minor",messages:{pass:'Element\'s default semantics were overridden with role="presentation"',fail:'Element\'s default semantics were not overridden with role="presentation"'}},"svg-non-empty-title":{impact:"serious",messages:{pass:"Element has a child that is a title",fail:{noTitle:"Element has no child that is a title",emptyTitle:"Element child title is empty"},incomplete:"Unable to determine element has a child that is a title"}},"caption-faked":{impact:"serious",messages:{pass:"The first row of a table is not used as a caption",fail:"The first child of the table should be a caption instead of a table cell"}},"html5-scope":{impact:"moderate",messages:{pass:"Scope attribute is only used on table header elements (<th>)",fail:"In HTML 5, scope attributes may only be used on table header elements (<th>)"}},"same-caption-summary":{impact:"minor",messages:{pass:"Content of summary attribute and <caption> are not duplicated",fail:"Content of summary attribute and <caption> element are identical",incomplete:"Unable to determine if <table> element has a caption"}},"scope-value":{impact:"critical",messages:{pass:"Scope attribute is used correctly",fail:"The value of the scope attribute may only be 'row' or 'col'"}},"td-has-header":{impact:"critical",messages:{pass:"All non-empty data cells have table headers",fail:"Some non-empty data cells do not have table headers"}},"td-headers-attr":{impact:"serious",messages:{pass:"The headers attribute is exclusively used to refer to other header cells in the table",incomplete:"The headers attribute is empty",fail:{"cell-header-not-in-table":"The headers attribute is not exclusively used to refer to other header cells in the table","cell-header-not-th":"The headers attribute must refer to header cells, not data cells","header-refs-self":"The element with headers attribute refers to itself"}}},"th-has-data-cells":{impact:"serious",messages:{pass:"All table header cells refer to data cells",fail:"Not all table header cells refer to data cells",incomplete:"Table data cells are missing or empty"}},"hidden-content":{impact:"minor",messages:{pass:"All content on the page has been analyzed.",fail:"There were problems analyzing the content on this page.",incomplete:"There is hidden content on the page that was not analyzed. You will need to trigger the display of this content in order to analyze it."}}},failureSummaries:{any:{failureMessage:function(e){var t="Fix any of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}},none:{failureMessage:function(e){var t="Fix all of the following:",r=e;if(r)for(var n=-1,a=r.length-1;n<a;)t+="\n "+r[n+=1].split("\n").join("\n ");return t}}},incompleteFallbackMessage:"axe couldn't tell the reason. Time to break out the element inspector!"},rules:[{id:"accesskeys",impact:"serious",selector:"[accesskey]",excludeHidden:!1,tags:["cat.keyboard","best-practice"],all:[],any:[],none:["accesskeys"]},{id:"area-alt",impact:"critical",selector:"map area[href]",excludeHidden:!1,tags:["cat.text-alternatives","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.2"],actIds:["c487ae"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-allowed-attr",impact:"critical",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-allowed-attr"}],any:[],none:["aria-unsupported-attr"]},{id:"aria-allowed-role",impact:"minor",excludeHidden:!1,selector:"[role]",matches:"aria-allowed-role-matches",tags:["cat.aria","best-practice"],all:[],any:[{options:{allowImplicit:!0,ignoredTags:[]},id:"aria-allowed-role"}],none:[]},{id:"aria-braille-equivalent",reviewOnFail:!0,impact:"serious",selector:"[aria-brailleroledescription], [aria-braillelabel]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:["braille-roledescription-equivalent","braille-label-equivalent"],any:[],none:[]},{id:"aria-command-name",impact:"serious",selector:'[role="link"], [role="button"], [role="menuitem"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-conditional-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[{options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]},id:"aria-conditional-attr"}],any:[],none:[]},{id:"aria-deprecated-role",impact:"minor",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["deprecatedrole"]},{id:"aria-dialog-name",impact:"serious",selector:'[role="dialog"], [role="alertdialog"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-hidden-body",impact:"critical",selector:"body",excludeHidden:!1,matches:"is-initiator-matches",tags:["cat.aria","wcag2a","wcag131","wcag412","EN-301-549","EN-9.1.3.1","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],all:[],any:["aria-hidden-body"],none:[]},{id:"aria-hidden-focus",impact:"serious",selector:'[aria-hidden="true"]',matches:"aria-hidden-focus-matches",excludeHidden:!1,tags:["cat.name-role-value","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-10.8.1"],actIds:["6cfa84"],all:["focusable-modal-open","focusable-disabled","focusable-not-tabbable"],any:[],none:[]},{id:"aria-input-field-name",impact:"serious",selector:'[role="combobox"], [role="listbox"], [role="searchbox"], [role="slider"], [role="spinbutton"], [role="textbox"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-meter-name",impact:"serious",selector:'[role="meter"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-progressbar-name",impact:"serious",selector:'[role="progressbar"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag111","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-11.1.1"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-prohibited-attr",impact:"serious",matches:"aria-allowed-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5c01ea"],all:[],any:[],none:[{options:{elementsAllowedAriaLabel:["applet","input"]},id:"aria-prohibited-attr"}]},{id:"aria-required-attr",impact:"critical",selector:"[role]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["4e8ab6"],all:[],any:["aria-required-attr"],none:[]},{id:"aria-required-children",impact:"critical",selector:"[role]",matches:"aria-required-children-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["bc4a75","ff89c9"],all:[],any:[{options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]},id:"aria-required-children"}],none:[]},{id:"aria-required-parent",impact:"critical",selector:"[role]",matches:"aria-required-parent-matches",tags:["cat.aria","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],actIds:["ff89c9"],all:[],any:[{options:{ownGroupRoles:["listitem","treeitem"]},id:"aria-required-parent"}],none:[]},{id:"aria-roledescription",impact:"serious",selector:"[aria-roledescription]",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","deprecated"],enabled:!1,all:[],any:[{options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]},id:"aria-roledescription"}],none:[]},{id:"aria-roles",impact:"critical",selector:"[role]",matches:"no-empty-role-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["674b10"],all:[],any:[],none:["invalidrole","abstractrole","unsupportedrole"]},{id:"aria-text",impact:"serious",selector:"[role=text]",tags:["cat.aria","best-practice"],all:[],any:["no-focusable-content"],none:[]},{id:"aria-toggle-field-name",impact:"serious",selector:'[role="checkbox"], [role="menuitemcheckbox"], [role="menuitemradio"], [role="radio"], [role="switch"], [role="option"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-7.1.1"],actIds:["e086e5"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["no-implicit-explicit-label"]},{id:"aria-tooltip-name",impact:"serious",selector:'[role="tooltip"]',matches:"no-naming-method-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-treeitem-name",impact:"serious",selector:'[role="treeitem"]',matches:"no-naming-method-matches",tags:["cat.aria","best-practice"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"aria-valid-attr-value",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["6a7281"],all:[{options:[],id:"aria-valid-attr-value"},"aria-errormessage","aria-level"],any:[],none:[]},{id:"aria-valid-attr",impact:"critical",matches:"aria-has-attr-matches",tags:["cat.aria","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["5f99a7"],all:[],any:[{options:[],id:"aria-valid-attr"}],none:[]},{id:"audio-caption",impact:"critical",selector:"audio",enabled:!1,excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag121","EN-301-549","EN-9.1.2.1","section508","section508.22.a","deprecated"],actIds:["2eb176","afb423"],all:[],any:[],none:["caption"]},{id:"autocomplete-valid",impact:"serious",matches:"autocomplete-matches",tags:["cat.forms","wcag21aa","wcag135","EN-301-549","EN-9.1.3.5","ACT","RGAAv4","RGAA-11.13.1"],actIds:["73f2c2"],all:[{options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]},id:"autocomplete-valid"}],any:[],none:[]},{id:"avoid-inline-spacing",impact:"serious",selector:"[style]",matches:"is-visible-on-screen-matches",tags:["cat.structure","wcag21aa","wcag1412","EN-301-549","EN-9.1.4.12","ACT"],actIds:["24afc2","9e45ec","78fd32"],all:[{options:{cssProperty:"letter-spacing",minValue:.12},id:"important-letter-spacing"},{options:{cssProperty:"word-spacing",minValue:.16},id:"important-word-spacing"},{options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1},id:"important-line-height"}],any:[],none:[]},{id:"blink",impact:"serious",selector:"blink",excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag222","section508","section508.22.j","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"button-name",impact:"critical",selector:"button",matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1","m6b1q3"],all:[],any:["button-has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"bypass",impact:"serious",selector:"html:not(html *)",pageLevel:!0,matches:"bypass-matches",reviewOnFail:!0,tags:["cat.keyboard","wcag2a","wcag241","section508","section508.22.o","TTv5","TT9.a","EN-301-549","EN-9.2.4.1","RGAAv4","RGAA-12.7.1"],actIds:["cf77f2","047fe0","b40fd1","3e12e1","ye5d6e"],all:[],any:["internal-link-present",{options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"},id:"header-present"},{options:{selector:"main, [role=main]"},id:"landmark"}],none:[]},{id:"color-contrast-enhanced",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,enabled:!1,tags:["cat.color","wcag2aaa","wcag146","ACT"],actIds:["09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03},id:"color-contrast-enhanced"}],none:[]},{id:"color-contrast",impact:"serious",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT","RGAAv4","RGAA-3.2.1"],actIds:["afw4f7","09o5cg"],all:[],any:[{options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03},id:"color-contrast"}],none:[]},{id:"css-orientation-lock",impact:"serious",selector:"html:not(html *)",tags:["cat.structure","wcag134","wcag21aa","EN-301-549","EN-9.1.3.4","RGAAv4","RGAA-13.9.1","experimental"],actIds:["b33eff"],all:[{options:{degreeThreshold:2},id:"css-orientation-lock"}],any:[],none:[],preload:!0},{id:"definition-list",impact:"serious",selector:"dl",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:[],none:["structured-dlitems",{options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0},id:"only-dlitems"}]},{id:"dlitem",impact:"serious",selector:"dd, dt",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.3"],all:[],any:["dlitem"],none:[]},{id:"document-title",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.text-alternatives","wcag2a","wcag242","TTv5","TT12.a","EN-301-549","EN-9.2.4.2","ACT","RGAAv4","RGAA-8.5.1"],actIds:["2779a5"],all:[],any:["doc-has-title"],none:[]},{id:"duplicate-id-active",impact:"serious",selector:"[id]",matches:"duplicate-id-active-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id-active"],none:[]},{id:"duplicate-id-aria",impact:"critical",selector:"[id]",matches:"duplicate-id-aria-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag412","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-8.2.1"],reviewOnFail:!0,actIds:["3ea0c8"],all:[],any:["duplicate-id-aria"],none:[]},{id:"duplicate-id",impact:"minor",selector:"[id]",matches:"duplicate-id-misc-matches",excludeHidden:!1,tags:["cat.parsing","wcag2a-obsolete","wcag411","deprecated"],enabled:!1,actIds:["3ea0c8"],all:[],any:["duplicate-id"],none:[]},{id:"empty-heading",impact:"minor",selector:'h1, h2, h3, h4, h5, h6, [role="heading"]',matches:"heading-matches",tags:["cat.name-role-value","best-practice"],actIds:["ffd0e9"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"empty-table-header",impact:"minor",selector:'th:not([role]), [role="rowheader"], [role="columnheader"]',tags:["cat.name-role-value","best-practice"],all:[],any:["has-visible-text"],none:[]},{id:"focus-order-semantics",impact:"minor",selector:"div, h1, h2, h3, h4, h5, h6, [role=heading], p, span",matches:"inserted-into-focus-order-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.8.1","experimental"],all:[],any:[{options:[],id:"has-widget-role"},{options:{roles:["tooltip"]},id:"valid-scrollable-semantics"}],none:[]},{id:"form-field-multiple-labels",impact:"moderate",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag332","TTv5","TT5.c","EN-301-549","EN-9.3.3.2","RGAAv4","RGAA-11.2.1"],all:[],any:[],none:["multiple-label"]},{id:"frame-focusable-content",impact:"serious",selector:"html:not(html *)",matches:"frame-focusable-content-matches",tags:["cat.keyboard","wcag2a","wcag211","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-7.3.2"],actIds:["akn7bn"],all:[],any:["frame-focusable-content"],none:[]},{id:"frame-tested",impact:"critical",selector:"html:not(html *), frame, iframe",tags:["cat.structure","best-practice","review-item"],all:[{options:{isViolation:!1},id:"frame-tested"}],any:[],none:[]},{id:"frame-title-unique",impact:"serious",selector:"frame[title], iframe[title]",matches:"frame-title-has-text-matches",tags:["cat.text-alternatives","wcag2a","wcag412","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.2.1"],actIds:["4b1c6c"],all:[],any:[],none:["unique-frame-title"],reviewOnFail:!0},{id:"frame-title",impact:"serious",selector:"frame, iframe",matches:"no-negative-tabindex-matches",tags:["cat.text-alternatives","wcag2a","wcag412","section508","section508.22.i","TTv5","TT12.d","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-2.1.1"],actIds:["cae760"],all:[],any:[{options:{attribute:"title"},id:"non-empty-title"},"aria-label","aria-labelledby","presentational-role"],none:[]},{id:"heading-order",impact:"moderate",selector:"h1, h2, h3, h4, h5, h6, [role=heading]",matches:"heading-matches",tags:["cat.semantics","best-practice"],all:[],any:["heading-order"],none:[]},{id:"hidden-content",impact:"minor",selector:"*",excludeHidden:!1,tags:["cat.structure","best-practice","experimental","review-item"],all:[],any:["hidden-content"],none:[]},{id:"html-has-lang",impact:"serious",selector:"html:not(html *)",matches:"is-initiator-matches",tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["b5c3f8"],all:[],any:[{options:{attributes:["lang","xml:lang"]},id:"has-lang"}],none:[]},{id:"html-lang-valid",impact:"serious",selector:'html[lang]:not([lang=""]):not(html *), html[xml\\:lang]:not([xml\\:lang=""]):not(html *)',tags:["cat.language","wcag2a","wcag311","TTv5","TT11.a","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.4.1"],actIds:["bf051a"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"html-xml-lang-mismatch",impact:"moderate",selector:"html[lang][xml\\:lang]:not(html *)",matches:"xml-lang-mismatch-matches",tags:["cat.language","wcag2a","wcag311","EN-301-549","EN-9.3.1.1","ACT","RGAAv4","RGAA-8.3.1"],actIds:["5b7ae0"],all:["xml-lang-mismatch"],any:[],none:[]},{id:"identical-links-same-purpose",impact:"minor",selector:'a[href], area[href], [role="link"]',excludeHidden:!1,enabled:!1,matches:"identical-links-same-purpose-matches",tags:["cat.semantics","wcag2aaa","wcag249"],actIds:["b20e66"],all:["identical-links-same-purpose"],any:[],none:[]},{id:"image-alt",impact:"critical",selector:"img",matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","TT7.b","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["has-alt","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["alt-space-value"]},{id:"image-redundant-alt",impact:"minor",selector:"img",tags:["cat.text-alternatives","best-practice"],all:[],any:[],none:[{options:{parentSelector:"button, [role=button], a[href], p, li, td, th"},id:"duplicate-img-label"}]},{id:"input-button-name",impact:"critical",selector:'input[type="button"], input[type="submit"], input[type="reset"]',matches:"no-explicit-name-required-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.9.1"],actIds:["97a4e1"],all:[],any:["non-empty-if-present",{options:{attribute:"value"},id:"non-empty-value"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label","presentational-role"],none:[]},{id:"input-image-alt",impact:"critical",selector:'input[type="image"]',matches:"no-explicit-name-required-matches",tags:["cat.text-alternatives","wcag2a","wcag111","wcag412","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","EN-9.4.1.2","ACT","RGAAv4","RGAA-1.1.3"],actIds:["59796f"],all:[],any:[{options:{attribute:"alt"},id:"non-empty-alt"},"aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"implicit-label","explicit-label"],none:[]},{id:"label-content-name-mismatch",impact:"serious",matches:"label-content-name-mismatch-matches",tags:["cat.semantics","wcag21a","wcag253","EN-301-549","EN-9.2.5.3","RGAAv4","RGAA-6.1.5","experimental"],actIds:["2ee8b8"],all:[],any:[{options:{pixelThreshold:.1,occurrenceThreshold:3},id:"label-content-name-mismatch"}],none:[]},{id:"label-title-only",impact:"serious",selector:"input, select, textarea",matches:"label-matches",tags:["cat.forms","best-practice"],all:[],any:[],none:["title-only"]},{id:"label",impact:"critical",selector:"input, textarea",matches:"label-matches",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},{options:{attribute:"placeholder"},id:"non-empty-placeholder"},"presentational-role"],none:["hidden-explicit-label"]},{id:"landmark-banner-is-top-level",impact:"moderate",selector:"header:not([role]), [role=banner]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-complementary-is-top-level",impact:"moderate",selector:"aside:not([role]), [role=complementary]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-contentinfo-is-top-level",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",matches:"landmark-has-body-context-matches",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-main-is-top-level",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:["landmark-is-top-level"],none:[]},{id:"landmark-no-duplicate-banner",impact:"moderate",selector:"header:not([role]), [role=banner]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"header:not([role]), [role=banner]",role:"banner"},id:"page-no-duplicate-banner"}],none:[]},{id:"landmark-no-duplicate-contentinfo",impact:"moderate",selector:"footer:not([role]), [role=contentinfo]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"},id:"page-no-duplicate-contentinfo"}],none:[]},{id:"landmark-no-duplicate-main",impact:"moderate",selector:"main:not([role]), [role=main]",tags:["cat.semantics","best-practice"],all:[],any:[{options:{selector:"main:not([role]), [role='main']"},id:"page-no-duplicate-main"}],none:[]},{id:"landmark-one-main",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"main:not([role]), [role='main']",passForModal:!0},id:"page-has-main"}],any:[],none:[]},{id:"landmark-unique",impact:"moderate",selector:"[role=banner], [role=complementary], [role=contentinfo], [role=main], [role=navigation], [role=region], [role=search], [role=form], form, footer, header, aside, main, nav, section",tags:["cat.semantics","best-practice"],matches:"landmark-unique-matches",all:[],any:["landmark-is-unique"],none:[]},{id:"link-in-text-block",impact:"serious",selector:"a[href], [role=link]",matches:"link-in-text-block-matches",excludeHidden:!1,tags:["cat.color","wcag2a","wcag141","TTv5","TT13.a","EN-301-549","EN-9.1.4.1","RGAAv4","RGAA-10.6.1"],all:[],any:[{options:{requiredContrastRatio:3,allowSameColor:!0},id:"link-in-text-block"},"link-in-text-block-style"],none:[]},{id:"link-name",impact:"serious",selector:"a[href]",tags:["cat.name-role-value","wcag2a","wcag244","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.2.4.4","EN-9.4.1.2","ACT","RGAAv4","RGAA-6.2.1"],actIds:["c487ae"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:["focusable-no-name"]},{id:"list",impact:"serious",selector:"ul, ol",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:[],none:[{options:{validRoles:["listitem"],validNodeNames:["li"]},id:"only-listitems"}]},{id:"listitem",impact:"serious",selector:"li",matches:"no-role-matches",tags:["cat.structure","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.3.1"],all:[],any:["listitem"],none:[]},{id:"marquee",impact:"serious",selector:"marquee",excludeHidden:!1,tags:["cat.parsing","wcag2a","wcag222","TTv5","TT2.b","EN-301-549","EN-9.2.2.2","RGAAv4","RGAA-13.8.1"],all:[],any:[],none:["is-on-screen"]},{id:"meta-refresh-no-exceptions",impact:"minor",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,enabled:!1,tags:["cat.time-and-media","wcag2aaa","wcag224","wcag325"],actIds:["bisz58"],all:[],any:[{options:{minDelay:72e3,maxDelay:!1},id:"meta-refresh-no-exceptions"}],none:[]},{id:"meta-refresh",impact:"critical",selector:'meta[http-equiv="refresh"][content]',excludeHidden:!1,tags:["cat.time-and-media","wcag2a","wcag221","TTv5","TT8.a","EN-301-549","EN-9.2.2.1","RGAAv4","RGAA-13.1.2"],actIds:["bc659a","bisz58"],all:[],any:[{options:{minDelay:0,maxDelay:72e3},id:"meta-refresh"}],none:[]},{id:"meta-viewport-large",impact:"minor",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","best-practice"],all:[],any:[{options:{scaleMinimum:5,lowerBound:2},id:"meta-viewport-large"}],none:[]},{id:"meta-viewport",impact:"moderate",selector:'meta[name="viewport"]',matches:"is-initiator-matches",excludeHidden:!1,tags:["cat.sensory-and-visual-cues","wcag2aa","wcag144","EN-301-549","EN-9.1.4.4","ACT","RGAAv4","RGAA-10.4.2"],actIds:["b4f0c3"],all:[],any:[{options:{scaleMinimum:2},id:"meta-viewport"}],none:[]},{id:"nested-interactive",impact:"serious",matches:"nested-interactive-matches",tags:["cat.keyboard","wcag2a","wcag412","TTv5","TT6.a","EN-301-549","EN-9.4.1.2","RGAAv4","RGAA-7.1.1"],actIds:["307n5z"],all:[],any:["no-focusable-content"],none:[]},{id:"no-autoplay-audio",impact:"moderate",excludeHidden:!1,selector:"audio[autoplay], video[autoplay]",matches:"no-autoplay-audio-matches",reviewOnFail:!0,tags:["cat.time-and-media","wcag2a","wcag142","TTv5","TT2.a","EN-301-549","EN-9.1.4.2","ACT","RGAAv4","RGAA-4.10.1"],actIds:["80f0bf"],preload:!0,all:[{options:{allowedDuration:3},id:"no-autoplay-audio"}],any:[],none:[]},{id:"object-alt",impact:"serious",selector:"object[data]",matches:"object-is-loaded-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","EN-301-549","EN-9.1.1.1","RGAAv4","RGAA-1.1.6"],actIds:["8fc3b6"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:[]},{id:"p-as-heading",impact:"serious",selector:"p",matches:"p-as-heading-matches",tags:["cat.semantics","wcag2a","wcag131","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-9.1.3","experimental"],all:[{options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5},id:"p-as-heading"}],any:[],none:[]},{id:"page-has-heading-one",impact:"moderate",selector:"html:not(html *)",tags:["cat.semantics","best-practice"],all:[{options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0},id:"page-has-heading-one"}],any:[],none:[]},{id:"presentation-role-conflict",impact:"minor",selector:'img[alt=\'\'], [role="none"], [role="presentation"]',matches:"has-implicit-chromium-role-matches",tags:["cat.aria","best-practice","ACT"],actIds:["46ca7f"],all:[],any:[],none:["is-element-focusable","has-global-aria-attribute"]},{id:"region",impact:"moderate",selector:"body *",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-9.2.1"],all:[],any:[{options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"},id:"region"}],none:[]},{id:"role-img-alt",impact:"serious",selector:"[role='img']:not(img, area, input, object)",matches:"html-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.1"],actIds:["23a2a8"],all:[],any:["aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"scope-attr-valid",impact:"moderate",selector:"td[scope], th[scope]",tags:["cat.tables","best-practice"],all:["html5-scope",{options:{values:["row","col","rowgroup","colgroup"]},id:"scope-value"}],any:[],none:[]},{id:"scrollable-region-focusable",impact:"serious",selector:"*:not(select,textarea)",matches:"scrollable-region-focusable-matches",tags:["cat.keyboard","wcag2a","wcag211","wcag213","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","EN-9.2.1.3","RGAAv4","RGAA-7.3.2"],actIds:["0ssw9k"],all:[],any:["focusable-content","focusable-element"],none:[]},{id:"select-name",impact:"critical",selector:"select",tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT","RGAAv4","RGAA-11.1.1"],actIds:["e086e5"],all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"},"presentational-role"],none:["hidden-explicit-label"]},{id:"server-side-image-map",impact:"minor",selector:"img[ismap]",tags:["cat.text-alternatives","wcag2a","wcag211","section508","section508.22.f","TTv5","TT4.a","EN-301-549","EN-9.2.1.1","RGAAv4","RGAA-1.1.4"],all:[],any:[],none:["exists"]},{id:"skip-link",impact:"moderate",selector:'a[href^="#"], a[href^="/#"]',matches:"skip-link-matches",tags:["cat.keyboard","best-practice","RGAAv4","RGAA-12.7.1"],all:[],any:["skip-link"],none:[]},{id:"summary-name",impact:"serious",selector:"summary",matches:"summary-interactive-matches",tags:["cat.name-role-value","wcag2a","wcag412","section508","section508.22.a","TTv5","TT6.a","EN-301-549","EN-9.4.1.2"],all:[],any:["has-visible-text","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"svg-img-alt",impact:"serious",selector:'[role="img"], [role="graphics-symbol"], svg[role="graphics-document"]',matches:"svg-namespace-matches",tags:["cat.text-alternatives","wcag2a","wcag111","section508","section508.22.a","TTv5","TT7.a","EN-301-549","EN-9.1.1.1","ACT","RGAAv4","RGAA-1.1.5"],actIds:["7d6734"],all:[],any:["svg-non-empty-title","aria-label","aria-labelledby",{options:{attribute:"title"},id:"non-empty-title"}],none:[]},{id:"tabindex",impact:"serious",selector:"[tabindex]",tags:["cat.keyboard","best-practice"],all:[],any:["tabindex"],none:[]},{id:"table-duplicate-name",impact:"minor",selector:"table",tags:["cat.tables","best-practice","RGAAv4","RGAA-5.2.1"],all:[],any:[],none:["same-caption-summary"]},{id:"table-fake-caption",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.4.1"],all:["caption-faked"],any:[],none:[]},{id:"target-size",impact:"serious",selector:"*",enabled:!1,matches:"widget-not-inline-matches",tags:["cat.sensory-and-visual-cues","wcag22aa","wcag258"],all:[],any:[{options:{minSize:24},id:"target-size"},{options:{minOffset:24},id:"target-offset"}],none:[]},{id:"td-has-header",impact:"critical",selector:"table",matches:"data-table-large-matches",tags:["cat.tables","experimental","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],all:["td-has-header"],any:[],none:[]},{id:"td-headers-attr",impact:"serious",selector:"table",matches:"table-or-grid-role-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.4"],actIds:["a25f45"],all:["td-headers-attr"],any:[],none:[]},{id:"th-has-data-cells",impact:"serious",selector:"table",matches:"data-table-matches",tags:["cat.tables","wcag2a","wcag131","section508","section508.22.g","TTv5","TT14.b","EN-301-549","EN-9.1.3.1","RGAAv4","RGAA-5.7.1"],actIds:["d0f69e"],all:["th-has-data-cells"],any:[],none:[]},{id:"valid-lang",impact:"serious",selector:"[lang]:not(html), [xml\\:lang]:not(html)",tags:["cat.language","wcag2aa","wcag312","TTv5","TT11.b","EN-301-549","EN-9.3.1.2","ACT","RGAAv4","RGAA-8.8.1"],actIds:["de46e4"],all:[],any:[],none:[{options:{attributes:["lang","xml:lang"]},id:"valid-lang"}]},{id:"video-caption",impact:"critical",selector:"video",tags:["cat.text-alternatives","wcag2a","wcag122","section508","section508.22.a","TTv5","TT17.a","EN-301-549","EN-9.1.2.2","RGAAv4","RGAA-4.3.1"],actIds:["eac66b"],all:[],any:[],none:["caption"]}],checks:[{id:"abstractrole",evaluate:"abstractrole-evaluate"},{id:"aria-allowed-attr",evaluate:"aria-allowed-attr-evaluate",options:{validTreeRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-allowed-role",evaluate:"aria-allowed-role-evaluate",options:{allowImplicit:!0,ignoredTags:[]}},{id:"aria-busy",evaluate:"aria-busy-evaluate",deprecated:!0},{id:"aria-conditional-attr",evaluate:"aria-conditional-attr-evaluate",options:{invalidTableRowAttrs:["aria-posinset","aria-setsize","aria-expanded","aria-level"]}},{id:"aria-errormessage",evaluate:"aria-errormessage-evaluate"},{id:"aria-hidden-body",evaluate:"aria-hidden-body-evaluate"},{id:"aria-level",evaluate:"aria-level-evaluate"},{id:"aria-prohibited-attr",evaluate:"aria-prohibited-attr-evaluate",options:{elementsAllowedAriaLabel:["applet","input"]}},{id:"aria-required-attr",evaluate:"aria-required-attr-evaluate"},{id:"aria-required-children",evaluate:"aria-required-children-evaluate",options:{reviewEmpty:["doc-bibliography","doc-endnotes","grid","list","listbox","menu","menubar","table","tablist","tree","treegrid","rowgroup"]}},{id:"aria-required-parent",evaluate:"aria-required-parent-evaluate",options:{ownGroupRoles:["listitem","treeitem"]}},{id:"aria-roledescription",evaluate:"aria-roledescription-evaluate",options:{supportedRoles:["button","img","checkbox","radio","combobox","menuitemcheckbox","menuitemradio"]}},{id:"aria-unsupported-attr",evaluate:"aria-unsupported-attr-evaluate"},{id:"aria-valid-attr-value",evaluate:"aria-valid-attr-value-evaluate",options:[]},{id:"aria-valid-attr",evaluate:"aria-valid-attr-evaluate",options:[]},{id:"braille-label-equivalent",evaluate:"braille-label-equivalent-evaluate"},{id:"braille-roledescription-equivalent",evaluate:"braille-roledescription-equivalent-evaluate"},{id:"deprecatedrole",evaluate:"deprecatedrole-evaluate"},{id:"fallbackrole",evaluate:"fallbackrole-evaluate"},{id:"has-global-aria-attribute",evaluate:"has-global-aria-attribute-evaluate"},{id:"has-widget-role",evaluate:"has-widget-role-evaluate",options:[]},{id:"invalidrole",evaluate:"invalidrole-evaluate"},{id:"is-element-focusable",evaluate:"is-element-focusable-evaluate"},{id:"no-implicit-explicit-label",evaluate:"no-implicit-explicit-label-evaluate"},{id:"unsupportedrole",evaluate:"unsupportedrole-evaluate"},{id:"valid-scrollable-semantics",evaluate:"valid-scrollable-semantics-evaluate",options:{roles:["tooltip"]}},{id:"color-contrast-enhanced",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:7,minThreshold:4.5},large:{expected:4.5,minThreshold:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.1,textStrokeEmMin:.03}},{id:"color-contrast",evaluate:"color-contrast-evaluate",options:{ignoreUnicode:!0,ignoreLength:!1,ignorePseudo:!1,boldValue:700,boldTextPt:14,largeTextPt:18,contrastRatio:{normal:{expected:4.5},large:{expected:3}},pseudoSizeThreshold:.25,shadowOutlineEmMax:.2,textStrokeEmMin:.03}},{id:"link-in-text-block-style",evaluate:"link-in-text-block-style-evaluate"},{id:"link-in-text-block",evaluate:"link-in-text-block-evaluate",options:{requiredContrastRatio:3,allowSameColor:!0}},{id:"autocomplete-appropriate",evaluate:"autocomplete-appropriate-evaluate",deprecated:!0},{id:"autocomplete-valid",evaluate:"autocomplete-valid-evaluate",options:{stateTerms:["none","false","true","disabled","enabled","undefined","null","xoff","xon"],ignoredValues:["text","pronouns","gender","message","content"]}},{id:"accesskeys",evaluate:"accesskeys-evaluate",after:"accesskeys-after"},{id:"focusable-content",evaluate:"focusable-content-evaluate"},{id:"focusable-disabled",evaluate:"focusable-disabled-evaluate"},{id:"focusable-element",evaluate:"focusable-element-evaluate"},{id:"focusable-modal-open",evaluate:"focusable-modal-open-evaluate"},{id:"focusable-no-name",evaluate:"focusable-no-name-evaluate"},{id:"focusable-not-tabbable",evaluate:"focusable-not-tabbable-evaluate"},{id:"frame-focusable-content",evaluate:"frame-focusable-content-evaluate"},{id:"landmark-is-top-level",evaluate:"landmark-is-top-level-evaluate"},{id:"no-focusable-content",evaluate:"no-focusable-content-evaluate"},{id:"page-has-heading-one",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"h1:not([role], [aria-level]), :is(h1, h2, h3, h4, h5, h6):not([role])[aria-level=1], [role=heading][aria-level=1]",passForModal:!0}},{id:"page-has-main",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:"main:not([role]), [role='main']",passForModal:!0}},{id:"page-no-duplicate-banner",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"header:not([role]), [role=banner]",role:"banner"}},{id:"page-no-duplicate-contentinfo",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"footer:not([role]), [role=contentinfo]",role:"contentinfo"}},{id:"page-no-duplicate-main",evaluate:"page-no-duplicate-evaluate",after:"page-no-duplicate-after",options:{selector:"main:not([role]), [role='main']"}},{id:"tabindex",evaluate:"tabindex-evaluate"},{id:"alt-space-value",evaluate:"alt-space-value-evaluate"},{id:"duplicate-img-label",evaluate:"duplicate-img-label-evaluate",options:{parentSelector:"button, [role=button], a[href], p, li, td, th"}},{id:"explicit-label",evaluate:"explicit-evaluate"},{id:"help-same-as-label",evaluate:"help-same-as-label-evaluate"},{id:"hidden-explicit-label",evaluate:"hidden-explicit-label-evaluate"},{id:"implicit-label",evaluate:"implicit-evaluate"},{id:"label-content-name-mismatch",evaluate:"label-content-name-mismatch-evaluate",options:{pixelThreshold:.1,occurrenceThreshold:3}},{id:"multiple-label",evaluate:"multiple-label-evaluate"},{id:"title-only",evaluate:"title-only-evaluate"},{id:"landmark-is-unique",evaluate:"landmark-is-unique-evaluate",after:"landmark-is-unique-after"},{id:"has-lang",evaluate:"has-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"valid-lang",evaluate:"valid-lang-evaluate",options:{attributes:["lang","xml:lang"]}},{id:"xml-lang-mismatch",evaluate:"xml-lang-mismatch-evaluate"},{id:"dlitem",evaluate:"dlitem-evaluate"},{id:"listitem",evaluate:"listitem-evaluate"},{id:"only-dlitems",evaluate:"invalid-children-evaluate",options:{validRoles:["definition","term","listitem"],validNodeNames:["dt","dd"],divGroups:!0}},{id:"only-listitems",evaluate:"invalid-children-evaluate",options:{validRoles:["listitem"],validNodeNames:["li"]}},{id:"structured-dlitems",evaluate:"structured-dlitems-evaluate"},{id:"caption",evaluate:"caption-evaluate"},{id:"frame-tested",evaluate:"frame-tested-evaluate",after:"frame-tested-after",options:{isViolation:!1}},{id:"no-autoplay-audio",evaluate:"no-autoplay-audio-evaluate",options:{allowedDuration:3}},{id:"css-orientation-lock",evaluate:"css-orientation-lock-evaluate",options:{degreeThreshold:2}},{id:"meta-viewport-large",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:5,lowerBound:2}},{id:"meta-viewport",evaluate:"meta-viewport-scale-evaluate",options:{scaleMinimum:2}},{id:"target-offset",evaluate:"target-offset-evaluate",options:{minOffset:24}},{id:"target-size",evaluate:"target-size-evaluate",options:{minSize:24}},{id:"header-present",evaluate:"has-descendant-evaluate",after:"has-descendant-after",options:{selector:":is(h1, h2, h3, h4, h5, h6):not([role]), [role=heading]"}},{id:"heading-order",evaluate:"heading-order-evaluate",after:"heading-order-after"},{id:"identical-links-same-purpose",evaluate:"identical-links-same-purpose-evaluate",after:"identical-links-same-purpose-after"},{id:"internal-link-present",evaluate:"internal-link-present-evaluate"},{id:"landmark",evaluate:"has-descendant-evaluate",options:{selector:"main, [role=main]"}},{id:"meta-refresh-no-exceptions",evaluate:"meta-refresh-evaluate",options:{minDelay:72e3,maxDelay:!1}},{id:"meta-refresh",evaluate:"meta-refresh-evaluate",options:{minDelay:0,maxDelay:72e3}},{id:"p-as-heading",evaluate:"p-as-heading-evaluate",options:{margins:[{weight:150,italic:!0},{weight:150,size:1.15},{italic:!0,size:1.15},{size:1.4}],passLength:1,failLength:.5}},{id:"region",evaluate:"region-evaluate",after:"region-after",options:{regionMatcher:"dialog, [role=dialog], [role=alertdialog], svg"}},{id:"skip-link",evaluate:"skip-link-evaluate"},{id:"unique-frame-title",evaluate:"unique-frame-title-evaluate",after:"unique-frame-title-after"},{id:"duplicate-id-active",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id-aria",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"duplicate-id",evaluate:"duplicate-id-evaluate",after:"duplicate-id-after"},{id:"aria-label",evaluate:"aria-label-evaluate"},{id:"aria-labelledby",evaluate:"aria-labelledby-evaluate"},{id:"avoid-inline-spacing",evaluate:"avoid-inline-spacing-evaluate",options:{cssProperties:["line-height","letter-spacing","word-spacing"]}},{id:"button-has-visible-text",evaluate:"has-text-content-evaluate"},{id:"doc-has-title",evaluate:"doc-has-title-evaluate"},{id:"error-occurred",evaluate:"exists-evaluate"},{id:"exists",evaluate:"exists-evaluate"},{id:"has-alt",evaluate:"has-alt-evaluate"},{id:"has-visible-text",evaluate:"has-text-content-evaluate"},{id:"important-letter-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"letter-spacing",minValue:.12}},{id:"important-line-height",evaluate:"inline-style-property-evaluate",options:{multiLineOnly:!0,cssProperty:"line-height",minValue:1.5,normalValue:1}},{id:"important-word-spacing",evaluate:"inline-style-property-evaluate",options:{cssProperty:"word-spacing",minValue:.16}},{id:"is-on-screen",evaluate:"is-on-screen-evaluate"},{id:"non-empty-alt",evaluate:"attr-non-space-content-evaluate",options:{attribute:"alt"}},{id:"non-empty-if-present",evaluate:"non-empty-if-present-evaluate"},{id:"non-empty-placeholder",evaluate:"attr-non-space-content-evaluate",options:{attribute:"placeholder"}},{id:"non-empty-title",evaluate:"attr-non-space-content-evaluate",options:{attribute:"title"}},{id:"non-empty-value",evaluate:"attr-non-space-content-evaluate",options:{attribute:"value"}},{id:"presentational-role",evaluate:"presentational-role-evaluate"},{id:"role-none",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"none"}}}},{id:"role-presentation",evaluate:"matches-definition-evaluate",deprecated:!0,options:{matcher:{attributes:{role:"presentation"}}}},{id:"svg-non-empty-title",evaluate:"svg-non-empty-title-evaluate"},{id:"caption-faked",evaluate:"caption-faked-evaluate"},{id:"html5-scope",evaluate:"html5-scope-evaluate"},{id:"same-caption-summary",evaluate:"same-caption-summary-evaluate"},{id:"scope-value",evaluate:"scope-value-evaluate",options:{values:["row","col","rowgroup","colgroup"]}},{id:"td-has-header",evaluate:"td-has-header-evaluate"},{id:"td-headers-attr",evaluate:"td-headers-attr-evaluate"},{id:"th-has-data-cells",evaluate:"th-has-data-cells-evaluate"},{id:"hidden-content",evaluate:"hidden-content-evaluate"}]})}("object"==typeof window?window:this)}},t={};function __webpack_require__(r){var n=t[r];if(void 0!==n)return n.exports;var a=t[r]={id:r,loaded:!1,exports:{}};return e[r].call(a.exports,a,a.exports,__webpack_require__),a.loaded=!0,a.exports}__webpack_require__.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{"use strict";__webpack_require__(609);const e={id:"element_with_underline",evaluate(e){const t=window.getComputedStyle(e),r=t.getPropertyValue("text-decoration"),n=t.getPropertyValue("text-decoration-line");return r.includes("underline")||n.includes("underline")}},t={id:"element_is_u_tag",evaluate:e=>e.tagName&&"u"===e.tagName.toLowerCase()},r={id:"paragraph_not_empty",evaluate:e=>"p"!==e.tagName.toLowerCase()||(!(!e.getAttribute("aria-hidden")||"true"!==e.getAttribute("aria-hidden").toLowerCase())||(!(!e.childNodes.length||!Array.from(e.childNodes).some((e=>3!==e.nodeType)))||""!==e.textContent.trim()))},n=e=>{if(!e||e.nodeType!==Node.ELEMENT_NODE)return 0;const t=parseFloat(window.getComputedStyle(e).fontSize);return"number"==typeof t?t:0},a=e=>(e||"").trim().toLowerCase().replace(/\s+/g," ");class o extends Map{set(e,t){return super.set("string"==typeof e?e.toLowerCase():e,t)}get(e){return super.get("string"==typeof e?e.toLowerCase():e)}has(e){return super.has("string"==typeof e?e.toLowerCase():e)}delete(e){return super.delete("string"==typeof e?e.toLowerCase():e)}}const i={id:"paragraph_styled_as_header",evaluate:e=>{const t=n(e);if(!e.textContent.trim())return!1;if(e.textContent.trim().length>50||t<16)return!1;if(t>=20)return!0;const r=window.getComputedStyle(e),a=r.getPropertyValue("font-weight"),o=["bold","bolder","700","800","900"].includes(a),i=r.getPropertyValue("font-style"),u=["italic","oblique"].includes(i);let s=!1;return e.querySelectorAll("b, strong, i, em").forEach((t=>{t.textContent===e.textContent&&(s=!0)})),!!(o||u||s)}},u={id:"text_size_too_small",evaluate:e=>{if(!e.textContent.trim().length)return!1;const t=Array.from(e.childNodes).some((e=>e.nodeType===Node.TEXT_NODE));return!(e.childNodes.length&&!t)&&n(e)<=10}},s={id:"text_justified",selector:"p, span, small, strong, b, i, em, h1, h2, h3, h4, h5, h6, a, label, button, th, td, li, div, blockquote, address, cite, q, s, sub, sup, u, del, caption, dt, dd, figcaption, summary, data, time",matches:e=>e.textContent.trim().length>=200,tags:["wcag2aaa","wcag148","cat.text","custom"],metadata:{description:"Text elements inside containers should not be justified."},all:[],any:[],none:["text_is_justified"]},l={id:"text_is_justified",evaluate:e=>"justify"===window.getComputedStyle(e).textAlign.toLowerCase()},c=wp.i18n,d=[(0,c.__)("new window","accessibility-checker"),(0,c.__)("new tab","accessibility-checker"),(0,c.__)("new document","accessibility-checker")],p={id:"link_target_blank_without_informing",evaluate:e=>{if("a"!==e.tagName.toLowerCase()||"_blank"!==e.getAttribute("target"))return!1;if(f(e.textContent))return!1;if(e.hasAttribute("aria-label")&&f(e.getAttribute("aria-label")))return!1;if(e.hasAttribute("aria-labelledby")){const t=document.getElementById(e.getAttribute("aria-labelledby"));if(t&&f(t.textContent))return!1}const t=e.querySelectorAll("img");for(const e of t)if(f(e.getAttribute("alt")))return!1;return!0}},f=e=>!!e&&d.some((t=>e.toLowerCase().includes(t))),m=[(0,c.__)("click","accessibility-checker"),(0,c.__)("click here","accessibility-checker"),(0,c.__)("here","accessibility-checker"),(0,c.__)("go here","accessibility-checker"),(0,c.__)("more","accessibility-checker"),(0,c.__)("more...","accessibility-checker"),(0,c.__)("more…","accessibility-checker"),(0,c.__)("details","accessibility-checker"),(0,c.__)("more details","accessibility-checker"),(0,c.__)("link","accessibility-checker"),(0,c.__)("this page","accessibility-checker"),(0,c.__)("continue","accessibility-checker"),(0,c.__)("continue reading","accessibility-checker"),(0,c.__)("read more","accessibility-checker"),(0,c.__)("open","accessibility-checker"),(0,c.__)("download","accessibility-checker"),(0,c.__)("button","accessibility-checker"),(0,c.__)("keep reading","accessibility-checker"),(0,c.__)("learn more","accessibility-checker"),(0,c.__)("opens a new window","accessibility-checker")],h=e=>!!e&&(e=e.toLowerCase().replace(/[^a-z]+/g," ").trim(),m.includes(e)),g={id:"has_ambiguous_text",evaluate:e=>{if(e.hasAttribute("aria-label")){const t=e.getAttribute("aria-label");return h(t)}if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby"),r=document.getElementById(t)?.textContent;return h(r)}if(e.textContent&&""!==e.textContent)return h(e.textContent);const t=e.querySelectorAll("img");for(const e of t){const t=e.getAttribute("alt");if(h(t))return!0}return!1}},v={id:"anchor_exists",evaluate:e=>{const t=e.getAttribute("href").slice(1);if(""===t)return!0;const r=`#${CSS.escape(t)}`;if(null!==document.querySelector(r))return!0;return null!==document.querySelector(`a[name="${CSS.escape(t)}"]`)}},b={id:"link_ms_office_file",selector:[".doc",".docx",".xls",".xlsx",".ppt",".pptx",".pps",".ppsx"].map((e=>`a[href$="${e}"], a[href$="${e.toUpperCase()}"], a[href*="${e}?"], a[href*="${e.toUpperCase()}?"], a[href*="${e}#"], a[href*="${e.toUpperCase()}#"]`)).join(", "),excludeHidden:!1,tags:["cat.custom"],metadata:{description:"Links to MS Office documents typically should be checked."},all:[],any:["always-fail"],none:[]},y=["screen-reader-text","sr-only","show-for-sr","visuallyhidden","visually-hidden","hidden-visually","invisible","accessibly-hidden","hide","hidden"],w={id:"aria_hidden_valid_usage",evaluate:e=>{const t=window.getComputedStyle(e);if("none"===t.display||"hidden"===t.visibility)return!0;if(e.classList.contains("wp-block-spacer"))return!0;const r=e.getAttribute("role");if(r?.split(/\s+/).includes("presentation"))return!0;const n=e.parentElement;if(!n)return!1;const a=window.getComputedStyle(n);if("none"===a.display||"hidden"===a.visibility)return!0;if(["button","a"].includes(n.tagName.toLowerCase())){if(n.hasAttribute("aria-label")&&n.getAttribute("aria-label").trim()||n.hasAttribute("aria-labelledby")&&document.getElementById(n.getAttribute("aria-labelledby")))return!0;for(const t of n.childNodes)if(t!==e){if(t.nodeType===Node.TEXT_NODE&&t.textContent.trim())return!0;if(t.nodeType===Node.ELEMENT_NODE&&!t.hasAttribute("aria-hidden")){const e=window.getComputedStyle(t);if("none"!==e.display&&"hidden"!==e.visibility&&t.textContent.trim())return!0}}}const o=Array.from(n.children);for(const t of o)if(t!==e)for(const e of y)if(t.classList.contains(e)||t.className.toLowerCase().includes(e))return!0;return!1}};function D(e,t){const r=e.getAttribute(t)||"";if(!r.trim())return!1;const n=r.split(/\s+/).filter((e=>e.trim()));return 0===n.length||n.every((e=>null!==document.getElementById(e)))}const x={id:"aria_label_not_found",evaluate:e=>D(e,"aria-labelledby")},E={id:"aria_describedby_not_found",evaluate:e=>D(e,"aria-describedby")},A={id:"aria_owns_not_found",evaluate:e=>D(e,"aria-owns")},F={id:"table_has_headers",evaluate:e=>{if("table"!==e.nodeName.toLowerCase())return!0;const t=Array.from(e.querySelectorAll("tr"));if(0===t.length)return!0;if(t.every((e=>{const t=e.children[0];if(!t||"th"!==t.tagName.toLowerCase())return!1;const r=t.getAttribute("scope");return"row"===r||!r})))return!0;const r=e.querySelector("thead tr")||t.find((e=>e.querySelectorAll("th").length>0));if(!r)return!1;const n=r.querySelectorAll("th").length;if(0===n)return!1;let a=!1;for(const e of t){if(!a&&e===r){a=!0;continue}if(e.querySelectorAll("td").length>n)return!1}return!0}},C={id:"heading_is_empty",evaluate(e){const t=e.querySelectorAll('[aria-hidden="true"]'),r=e.cloneNode(!0);t.forEach((e=>{const t=Array.from(r.querySelectorAll("*")).find((t=>t.isEqualNode(e)));t&&t.remove()}));const n=r.textContent.trim(),a=n&&!/^[-_\s]*$/.test(n),o=e.getAttribute("aria-label"),i=o&&""!==o.trim(),u=e.querySelectorAll("img");let s=!1;for(let e=0;e<u.length;e++){const t=u[e].getAttribute("alt");if(t&&""!==t.trim()){s=!0;break}}const l=e.querySelectorAll("svg");let c=!1;for(let e=0;e<l.length;e++){const t=l[e].querySelector("title");if(t&&""!==t.textContent.trim()){c=!0;break}const r=l[e].getAttribute("aria-label");if(r&&""!==r.trim()){c=!0;break}}const d=e.getAttribute("aria-labelledby");let p=!1;if(d){const e=d.split(/\s+/);for(let t=0;t<e.length;t++){const r=document.getElementById(e[t]);if(r&&""!==r.textContent.trim()){p=!0;break}}}return a||i||s||c||p}},k=["youtube.com","youtu.be","vimeo.com"],N=/\.(3gp|asf|asx|avi|flv|m4a|m4p|mov|mp3|mp4|mpeg|mpeg2|mpg|mpv|ogg|oga|ogv|qtl|smi|smil|wav|wax|webm|wmv|wmp|wmx)(\?.*)?$/i,R={id:"has_transcript",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=e.getAttribute("href")||"",n=e.getAttribute("src")||"",a="a"===t&&N.test(r),o="iframe"===t&&k.some((e=>n.includes(e)));if(!("audio"===t||"video"===t||o||a))return!0;const i=function(e,t=250){let r="";e.previousElementSibling&&"noscript"!==e.previousElementSibling.nodeName.toLowerCase()&&(r+=e.previousElementSibling.textContent.trim()+" ");e.nextElementSibling&&"noscript"!==e.nextElementSibling.nodeName.toLowerCase()&&(r+=e.nextElementSibling.textContent.trim()+" ");if(!e.previousElementSibling&&!e.nextElementSibling&&e.parentElement){const t=e.parentElement;t.previousElementSibling&&"noscript"!==t.previousElementSibling.nodeName.toLowerCase()&&(r+=t.previousElementSibling.textContent.trim()+" "),t.nextElementSibling&&"noscript"!==t.nextElementSibling.nodeName.toLowerCase()&&(r+=t.nextElementSibling.textContent.trim()+" ")}const n=e.closest("figure");if(n){const e=n.querySelector("figcaption");e&&(r+=e.textContent.trim()+" "),r+=_(n.nextElementSibling,5)}let a=e.closest(".media-wrapper, figure, section, article");if(!a){let t=e.parentElement,r=0;for(;t&&r<3;){if(t.children.length>1||t.nextElementSibling||t.previousElementSibling){a=t;break}t=t.parentElement,r++}}if(a){r+=_(a.nextElementSibling,3);const n={acceptNode(e){const t=window.getComputedStyle(e.parentElement);return t&&"none"!==t.display&&"hidden"!==t.visibility?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}},o=document.createTreeWalker(a,NodeFilter.SHOW_TEXT,n,!1);for(;o.nextNode();){const n=o.currentNode,a=n.textContent.trim();if(!e.contains(n)&&a.length&&(r+=a+" "),r.length>=t){const e=r.lastIndexOf(" ",t);-1!==e&&(r=r.substring(0,e));break}}}return r.toLowerCase().trim()}(e,350),u=["transcript","transcription","text version","written version"].some((e=>i.toLowerCase().includes(e))),s=e.getAttribute("aria-describedby"),l=s&&document.getElementById(s)?.textContent?.toLowerCase().includes("transcript");return!(!u&&!l)}};function _(e,t){let r="",n=e,a=0;for(;n&&a<t;){const e=n.textContent?.trim();e&&(r+=e+" "),n=n.nextElementSibling,a++}return r}const T={id:"button_is_empty",evaluate(e){const t=(e=>{const t=[];e.querySelectorAll('[aria-hidden="true"]').forEach((e=>{t.push(e.cloneNode(!0).textContent)})),Array.from(e.getElementsByTagName("*")).forEach((e=>{const r=window.getComputedStyle(e);"none"!==r.display&&"hidden"!==r.visibility||t.push(e.textContent)}));let r=e.textContent;return t.forEach((e=>{r=r.replace(e,"")})),r.trim()})(e);if(t&&t.length>0)return!1;const r=e.getAttribute("aria-label"),n=e.getAttribute("aria-description"),a=e.getAttribute("title");if(r||n||a)return!1;const o=e.getAttribute("aria-labelledby");if(o){const e=o.split(/\s+/);for(const t of e){const e=document.getElementById(t);if(e?.textContent?.trim())return!1}}const i=e.getAttribute("aria-describedby");if(i){const e=i.split(/\s+/);for(const t of e){const e=document.getElementById(t);if(e?.textContent?.trim())return!1}}const u=e.querySelectorAll("img");for(const e of u)if(e.getAttribute("alt")?.trim())return!1;if("input"===e.tagName.toLowerCase()&&e.getAttribute("value"))return!1;const s=e.querySelectorAll("i");for(const e of s)if(e.getAttribute("title")?.trim()||e.getAttribute("aria-label")?.trim()||e.getAttribute("aria-description")?.trim())return!1;const l=e.querySelectorAll("svg");for(const e of l)if(e.querySelector("title")?.textContent?.trim()||e.getAttribute("aria-label")?.trim()||e.getAttribute("aria-description")?.trim())return!1;return!0}},S=["slider","carousel","owl-carousel","soliloquy-container","n2-section-smartslider","metaslider","master-slider","rev_slider","royalSlider","wonderpluginslider","meteor-slides","flexslider","slick-slider","uagb-slick-carousel","swiper-container","flickity-slider","spacegallery","blueimp-gallery","seq-active","siema","keen-slider","bxslider","bx-wrapper","glide--slider"],O={id:"slider_detected",evaluate:e=>{const t=(e.getAttribute("class")||"").toLowerCase().split(/\s+/),r=S.some((e=>t.includes(e))),n=e.hasAttribute("data-jssor-slider")||e.hasAttribute("data-layerslider-uid");return!r&&!n}},M=[".3gp",".asf",".asx",".avi",".flv",".m4p",".mov",".mp4",".mpeg",".mpeg2",".mpg",".mpv",".ogg",".ogv",".qtl",".smi",".smil",".wax",".webm",".wmv",".wmp",".wmx"],P=["youtube","youtu.be","vimeo"],I=["video"],B={id:"is_video_detected",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=e.getAttribute("src")||"",n=e.getAttribute("data")||"",a=e.getAttribute("type")||"",o=e.getAttribute("role")||"";if("iframe"===t&&r){const e=r.toLowerCase();if(P.some((t=>e.includes(t))))return!0}const i=M.some((e=>{const t=r.toLowerCase(),a=n.toLowerCase();return t.endsWith(e)||t.includes(e+"?")||a.endsWith(e)||a.includes(e+"?")})),u=P.some((e=>r.toLowerCase().includes(e))),s=a.toLowerCase().startsWith("video/"),l=I.includes(o.toLowerCase());if("source"===t){const t=e.parentNode;if(t&&"video"===t.nodeName.toLowerCase())return!1;if(s||i)return!0}return!!("video"===t||i||u||s||l)}},L={id:"link-is-empty",evaluate(e){if(!e.hasAttribute("href"))return!1;if(e.hasAttribute("name"))return!1;if(Array.from(e.childNodes).some((e=>e.nodeType===Node.TEXT_NODE?""!==e.textContent.replace(/[\s\u00A0\-—_]/g,""):e.nodeType===Node.ELEMENT_NODE&&(!e.hasAttribute("aria-hidden")&&""!==e.textContent.replace(/[\s\u00A0\-—_]/g,"")))))return!1;if(e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label").trim())return!1;if(e.hasAttribute("title")&&""!==e.getAttribute("title").trim())return!1;if(e.hasAttribute("aria-labelledby")){if(e.getAttribute("aria-labelledby").split(" ").map((e=>document.getElementById(e))).filter(Boolean).some((e=>""!==e.textContent.trim())))return!1}const t=e.querySelectorAll("img");for(const e of t)if(e.hasAttribute("alt")&&""!==e.getAttribute("alt").trim())return!1;const r=e.querySelectorAll("input");for(const e of r)if(e.hasAttribute("value")&&""!==e.getAttribute("value").trim())return!1;const n=e.querySelectorAll("i");for(const e of n)if(e.hasAttribute("title")&&""!==e.getAttribute("title").trim()||e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label").trim())return!1;const a=e.querySelectorAll("svg");for(const e of a)if(e.querySelector("title"))return!1;return!0}},j=["apng","bmp","gif","ico","cur","jpg","jpeg","jfif","pjpeg","pjp","png","svg","tif","tiff","webp"],q={id:"longdesc_valid",evaluate:e=>{if("img"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("longdesc");if(null===t)return!0;if(""===t.trim())return!1;if(t.includes(":")){if(!/^[a-zA-Z][a-zA-Z\d+\-.]*:\/\//.test(t))return!1}let r;try{r=new URL(t,document.baseURI)}catch{return!1}const n=r.pathname,a=n.endsWith("/")?"":n.split("/").pop();if(!a)return!1;const o=a.match(/\.([^.?#]+)(?:\?.*)?(?:#.*)?$/),i=o?o[1].toLowerCase():"";return!j.includes(i)}},z={id:"table_header_is_empty",evaluate(e){if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden"))return!0;if(""!==e.textContent.replace(/[\s\u00A0\-—_]/g,""))return!1;if(e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label")?.trim())return!1;if(e.hasAttribute("title")&&""!==e.getAttribute("title")?.trim())return!1;if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby")?.split(" "),r=t?.map((e=>document.getElementById(e))).filter(Boolean);if(r.some((e=>""!==e.textContent?.trim())))return!1}const t=e.querySelectorAll("img");for(const e of t)if(e.hasAttribute("alt")&&""!==e.getAttribute("alt")?.trim())return!1;const r=e.querySelectorAll("i");for(const e of r)if(e.hasAttribute("title")&&""!==e.getAttribute("title")?.trim()||e.hasAttribute("aria-label")&&""!==e.getAttribute("aria-label")?.trim())return!1;const n=e.querySelectorAll("svg");for(const e of n)if(e.querySelector("title"))return!1;return!0}},V={id:"img_alt_missing_check",evaluate(e){const t=e.tagName.toLowerCase();if(e.hasAttribute("role")&&"presentation"===e.getAttribute("role"))return!1;if(e.hasAttribute("aria-hidden")&&"true"===e.getAttribute("aria-hidden"))return!1;if(e.hasAttribute("aria-labelledby")){const t=e.getAttribute("aria-labelledby"),r=document.getElementById(t);if(r&&""!==r.textContent.trim())return!1}const r=e.hasAttribute("alt")&&null!==e.getAttribute("alt");return"input"===t&&"image"===e.getAttribute("type")?!r:"img"===t&&(!G(e)&&(!H(e)&&(!U(e)&&!r)))},options:{},metadata:{impact:"critical",messages:{pass:"Image has an alt attribute",fail:"Image is missing an alt attribute"}}},G=e=>{const t=W(e,(e=>e.tagName&&"figure"===e.tagName.toLowerCase()));if(t){const e=t.querySelectorAll("figcaption");if(e.length>0&&""!==e[0].textContent.trim())return!0}const r=W(e,(e=>e.tagName&&"div"===e.tagName.toLowerCase()&&e.classList.contains("wp-caption")));return!!(r&&r.textContent&&r.textContent.trim().length>5)},$=(e,t)=>""!==Array.from(e.childNodes).filter((e=>e!==t&&3===e.nodeType)).map((e=>e.textContent)).join("").trim(),H=e=>{const t=W(e,(e=>e.tagName&&"a"===e.tagName.toLowerCase()));if(t){if(t.hasAttribute("aria-label")&&""!==t.getAttribute("aria-label").trim())return!0;if(t.hasAttribute("title")&&""!==t.getAttribute("title").trim())return!0;if($(t,e))return!0}return!1},U=e=>{const t=W(e,(e=>e.tagName&&"button"===e.tagName.toLowerCase()));return!(!t||!$(t,e))},W=(e,t)=>{let r=e.parentNode;for(;r;){if(t(r))return r;r=r.parentNode}return null},Y={id:"img_alt_invalid_check",evaluate(e){if(!e.hasAttribute("alt"))return!0;const t=e.getAttribute("alt");if(""===t)return!0;if(""===t.trim())return!1;const r=t.toLowerCase().trim().replace(/\s+/g," "),n=["graphic of","bullet","image of","an image"];for(const e of n)if(r.startsWith(e))return!1;const a=["image","graphic"];for(const e of a)if(r.endsWith(e))return!1;const o=[".apng",".bmp",".gif",".ico",".cur",".jpg",".jpeg",".jfif",".pjpeg",".pjp",".png",".svg",".tif",".tiff",".webp"];for(const e of o)if(r.includes(e))return!1;if(["graphic of","bullet","image of","an image","image","graphic","photo","photograph","drawing","painting","artwork","logo","button","arrow","more","spacer","blank","chart","table","diagram","graph","*"].includes(r))return!1;const i=["_","img","jpg","jpeg","apng","png","svg","webp"];for(const e of i)if(r.includes(e))return!1;return!/^\d+$/.test(r)},options:{},metadata:{impact:"serious",messages:{pass:"Image alt text is valid",fail:"Image has invalid alt text (contains generic terms, file names, or only numbers)"}}},K=new Map;const X={id:"img_alt_redundant_check",evaluate(e){const t=a(e.getAttribute("alt"));if(!t)return!0;const r=a(e.getAttribute("title"));if(r&&t===r)return!1;const n=e.closest("a");if(n){const e=a(n.textContent);if(e&&t===e)return!1}const o=e.closest("figure");if(o){const e=o.querySelector("figcaption");if(e){const r=a(e.textContent);if(r&&t===r)return!1}}if(0===K.size&&document.querySelectorAll("img").forEach((e=>{const t=a(e.getAttribute("alt"));t&&(K.has(t)||K.set(t,[]),K.get(t).push(e))})),K.has(t)){const r=K.get(t).filter((t=>t!==e));if(r.length>0){const t=e.getAttribute("src"),n=e.closest("a")?.getAttribute("href");if(r.filter((e=>{const r=e.getAttribute("src"),a=e.closest("a")?.getAttribute("href");return!(r===t)&&!(n&&a&&a===n)})).length>0)return!1}}return!0},options:{},metadata:{impact:"warning",messages:{pass:"Image alternative text is not redundant.",fail:"Image alternative text is redundant (matches title, link text, caption, or is duplicated)."}}},Z=e=>{const t=e.querySelectorAll("img");return Array.from(t).filter((e=>!(e=>{const t=window.getComputedStyle(e);return"none"===t.display||"hidden"===t.visibility||null!==e.closest('[aria-hidden="true"]')})(e)))},J=e=>{const t=(e.textContent||"").trim().length>=5,r=null!==e.getAttribute("aria-label")&&""!==e.getAttribute("aria-label"),n=null!==e.getAttribute("title")&&""!==e.getAttribute("title");return t||r||n},Q={id:"linked_image_alt_present",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;if(J(e))return!0;const t=Z(e);return 0===t.length||t.every((e=>{const t=e.hasAttribute("alt"),r=e.getAttribute("role"),n=e.getAttribute("aria-hidden");return t||"presentation"===r||"true"===n}))}},ee={id:"linked_image_alt_not_empty",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;if(J(e))return!0;const t=Z(e);return 0===t.length||t.every((e=>{const t=e.getAttribute("alt"),r=e.getAttribute("role"),n=e.getAttribute("aria-hidden");return"presentation"===r||"true"===n||null!==t&&""!==t.trim()}))}},te={id:"img_alt_long_check",evaluate(e,t={}){const r=e.getAttribute("alt");return!(r&&r.length>t.maxAltLength)},options:{maxAltLength:300}},re={id:"img_alt_empty_check",evaluate(e){const t=e.hasAttribute("alt")&&""===e.getAttribute("alt");return!(!t||"presentation"!==e.getAttribute("role")&&"none"!==e.getAttribute("role"))||(!(!t||"true"!==e.getAttribute("aria-hidden"))||(!(!t||!function(e){const t=e.closest("figure");if(t&&t.querySelector("figcaption"))return!0;const r=e.closest("div.wp-caption");if(r&&r.querySelector(".wp-caption-text"))return!0;const n=e.closest("a");if(n){if(n.hasAttribute("aria-label")&&""!==n.getAttribute("aria-label").trim())return!0;if(n.hasAttribute("title")&&""!==n.getAttribute("title").trim())return!0;const e=n.textContent.trim();if(""!==e&&e.length>5)return!0}return!1}(e))||(!(!t||!function(e){if(e.classList.contains("wp-smiley"))return!0;const t=e.getAttribute("src")||"";if(t.includes("advanced-wp-columns/assets/js/plugins/views/img/1x1-pixel.png"))return!0;if(t.includes("googleads.g.doubleclick.net/pagead/viewthroughconversion"))return!0;return!1}(e))||!t)))}};const ne=["rtf","wpd","ods","odt","odp","sxw","sxc","sxd","sxi","pages","key"],ae={id:"link_points_to_html",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("href")||"";try{const e=new URL(t,document.baseURI).pathname.split("."),r=e.length>1?e.pop().toLowerCase():"";if(ne.includes(r))return!1}catch{return!0}return!0}},oe={id:"link_has_valid_href_or_role",evaluate:e=>{if("a"!==e.nodeName.toLowerCase())return!0;const t=e.getAttribute("href"),r=(e.getAttribute("role")||"").toLowerCase().split(/\s+/);if(r.some((e=>["button","tab"].includes(e))))return!0;const n=e.hasAttribute("aria-expanded");if(r.includes("menuitem")&&n)return!0;const a=t?t.trim():"";if(!t||"#"===a||t.toLowerCase().startsWith("javascript:")||t.toLowerCase().startsWith("data:")||t.toLowerCase().startsWith("file:"))return!1;if(t.includes("://"))try{new URL(t)}catch(e){return!1}return!0}},ie={id:"has_subheadings_if_long_content",evaluate:e=>{if(e!==document.body)return!0;if(e.textContent.replace(/\s+/g," ").trim().split(/\s+/).length<400)return!0;return['h2, [role="heading"][aria-level="2"]','h3, [role="heading"][aria-level="3"]','h4, [role="heading"][aria-level="4"]','h5, [role="heading"][aria-level="5"]','h6, [role="heading"][aria-level="6"]'].map((e=>document.querySelectorAll(e).length)).reduce(((e,t)=>e+t),0)>0}},ue={id:"img_animated",selector:"img[src], iframe[src]",excludeHidden:!1,tags:["wcag2aa","wcag222","cat.sensory-and-visual-cues","best-practice","flashing"],metadata:{description:"Identifies animated images that may require user controls",help:"Animated images (not static GIFs/WebPs) should be limited to less than 5 seconds or provide user controls to pause/stop",impact:"serious",issue:{type:"warning",message:"Animated image content might need controls for accessibility compliance",tips:["Only animated images need controls, static GIFs/WebPs are fine","Limit animations to less than 5 seconds","Add controls to pause/stop animations","Consider using video elements with controls instead of animated GIFs","Avoid flashing content that could trigger seizures"]}},all:[],any:[],none:["img_animated_check"]},se=new o,le={id:"img_animated_check",evaluate:e=>{const t=e.nodeName.toLowerCase(),r=(e.getAttribute("src")||"").toLowerCase();if(se.has(r))return se.get(r);if("iframe"===t){const e=he(r);return se.set(r,e),e}return"img"===t&&((fe(r)||me(r))&&he(r)?(se.set(r,!0),!0):(se.set(r,!1),!1))}};function ce(e){const t=new Uint8Array(e);return function(e){const t=String.fromCharCode(...e.slice(0,6));return"GIF89a"===t||"GIF87a"===t}(t)?function(e){let t=13,r=0;if(de(e[10])){const r=pe(e[10]);t+=3*Math.pow(2,r+1)}for(;t<e.length;){const n=e[t];if(33===n){if(249===e[t+1]&&(r++,r>1))return!0;t+=2;let n=e[t];for(;0!==n;)t+=n+1,n=e[t];t++}else if(44===n){if(t+=10,de(e[t-1])){const r=pe(e[t-1]);t+=3*Math.pow(2,r+1)}t++;let r=e[t];for(;0!==r;)t+=r+1,r=e[t];t++}else{if(59===n)break;t++}}return!1}(t):!!function(e){const t=String.fromCharCode(...e.slice(0,4)),r=String.fromCharCode(...e.slice(8,12));return"RIFF"===t&&"WEBP"===r}(t)&&function(e){for(let t=12;t<e.length-4;t++)if(65===e[t]&&78===e[t+1]&&73===e[t+2]&&77===e[t+3])return!0;return!1}(t)}function de(e){return 1===Math.floor(e/128)}function pe(e){return e%8}const fe=e=>e.endsWith(".gif")||e.includes(".gif?")||e.includes(".gif#")||e.endsWith("%2egif")||e.includes("%2egif?")||e.includes("%2egif#")||e.includes("format=gif")||e.includes("type=gif")||e.includes("filetype=gif")||e.startsWith("data:image/gif"),me=e=>e.endsWith(".webp")||e.includes(".webp?")||e.includes(".webp#")||e.endsWith("%2ewebp")||e.includes("%2ewebp?")||e.includes("%2ewebp#")||e.includes("format=webp")||e.includes("type=webp")||e.includes("filetype=webp")||e.startsWith("data:image/webp"),he=e=>["giphy.com","tenor.com","gfycat.com","imgur.com/a/","media.discordapp.net"].some((t=>e.includes(t))),ge=[{id:"color_contrast_failure",matches:"color-contrast-matches",excludeHidden:!1,tags:["cat.color","wcag2aa","wcag143","TTv5","TT13.c","EN-301-549","EN-9.1.4.3","ACT"],actIds:["afw4f7","09o5cg"],metadata:{description:"Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",help:"Elements must meet minimum color contrast ratio thresholds"},all:[],any:["color-contrast"],none:[]},{id:"underlined_text",excludeHidden:!1,selector:'*:not(a):not([role="link"]):not(a *):not([role="link"] *)',metadata:{description:"Text elements should not be underlined unless they are links."},all:[],none:["element_with_underline","element_is_u_tag"]},{id:"possible_heading",selector:"p",matches:e=>!e.closest("blockquote, figcaption, td"),excludeHidden:!1,tags:["wcag2a","wcag131","wcag241","cat.semantics"],metadata:{description:"Headings should be used to convey the structure of the page, not styled paragraphs",help:"Paragraphs should not be styled to look like headings. Use the appropriate heading tag instead."},all:[],any:[],none:["paragraph_styled_as_header"]},{id:"empty_paragraph_tag",selector:"p",excludeHidden:!1,tags:["cat.text","best-practices"],impact:"moderate",metadata:{description:"Detects empty paragraph tags",help:"Paragraphs should not be used for layout purposes and should never be empty"},all:[],any:["paragraph_not_empty"],none:[]},{id:"text_small",impact:"moderate",selector:"p, span, small, strong, b, i, h1, h2, h3, h4, h5, h6, a, label, button, th, td, li, div, blockquote, address, cite, code, pre, q, s, sub, sup, u, var, abbr, acronym, del, dfn, em, ins, kbd, input, select, textarea, caption, dl, dt, dd, li, figure, figcaption, details, dialog, summary, data, time",matches:e=>e.textContent.trim().length,tags:["wcag2aaa","wcag144","wcag148","cat.text"],metadata:{description:"Text elements should not be too small."},all:[],any:[],none:["text_size_too_small"]},s,{id:"link_blank",selector:'a[target="_blank"]',excludeHidden:!1,tags:["cat.custom","wcag2aaa","wcag322","wcag325"],metadata:{description:"Links that open in a new tab should inform the user.",help:"Links that open in a new tab should inform the user. This is important for users who rely on screen readers, as they may not realize that a new tab has opened."},all:[],any:[],none:["link_target_blank_without_informing"]},{id:"link_ambiguous_text",enabled:!0,selector:"a",excludeHidden:!1,tags:["cat.text","best-practices"],metadata:{description:"Detects ambiguous link text",help:"Links should have descriptive text to help users understand their purpose."},any:[],all:[],none:["has_ambiguous_text"]},{id:"link_pdf",selector:'a[href$=".pdf"], a[href$=".PDF"], a[href*=".pdf?"], a[href*=".PDF?"], a[href*=".pdf#"], a[href*=".PDF#"]',excludeHidden:!1,tags:["cat.custom"],metadata:{description:"Links to PDFs typically should be checked."},all:[],any:["always-fail"],none:[]},b,{id:"broken_skip_anchor_link",selector:'a[href^="#"]:not([href="#"]):not([role="button"])',tags:["wcag2a","wcag131","wcag241","custom"],metadata:{description:"Check if the skip anchor link is broken or missing its target."},all:[],any:["anchor_exists"],none:[]},{id:"label",impact:"critical",selector:"input, textarea",matches:(e,t)=>{if("input"!==t.props.nodeName||!1===t.hasAttr("type"))return!0;const r=t.attr("type").toLowerCase();return!1===["hidden","button","submit","reset"].includes(r)},tags:["cat.forms","wcag2a","wcag412","section508","section508.22.n","TTv5","TT5.c","EN-301-549","EN-9.4.1.2","ACT"],actIds:["e086e5"],metadata:{description:"Ensure every form element has a label",help:"Form elements must have labels"},all:[],any:["implicit-label","explicit-label","aria-label","aria-labelledby","non-empty-title","presentational-role","image_input_has_alt"],none:["hidden-explicit-label"]},{id:"missing_table_header",selector:"table",excludeHidden:!1,tags:["wcag2a","wcag131","cat.structure"],metadata:{description:"Tables must have header cells to convey data relationships",help:"Ensure that tables use <th> elements with text or appropriate scope attributes",impact:"serious"},all:[],any:["table_has_headers"],none:[]},{id:"empty_heading_tag",selector:"h1, h2, h3, h4, h5, h6",metadata:{description:"Ensures headings have discernible text",help:"Headings must have discernible text",helpUrl:"https://a11ychecker.com/help1957"},tags:["wcag2a","best-practice"],all:[],any:["heading_is_empty"],none:[]},{id:"missing_transcript",selector:"audio, video, iframe, a[href]",excludeHidden:!1,tags:["wcag2a","wcag122","cat.time-and-media"],metadata:{description:"Media content should be accompanied by a text transcript",help:"Ensure audio or video content includes a nearby transcript or transcript link",impact:"serious"},all:[],any:["has_transcript"],none:[]},{id:"empty_button",excludeHidden:!1,selector:'button, [role="button"], input[type="button"], input[type="submit"], input[type="reset"]',tags:["accessibility","wcag2a","wcag2aa"],metadata:{description:"Ensures buttons have accessible labels or content.",help:"Buttons must have accessible text, aria-label, or title attributes.",helpUrl:"https://a11ychecker.com/help1960"},any:[],all:[],none:["button_is_empty"]},{id:"slider_present",selector:"[class], [data-jssor-slider], [data-layerslider-uid]",excludeHidden:!1,tags:["cat.structure"],metadata:{description:"Identifies presence of slider/carousel components that may require accessibility improvements",help:"Sliders and carousels must be keyboard accessible and provide appropriate navigation controls",impact:"moderate"},all:[],any:["slider_detected"],none:[]},{id:"video_present",selector:"video, iframe, object, source, [src]:not(script), [role]",excludeHidden:!1,tags:["wcag2a","wcag121","wcag122","wcag123","cat.time-and-media","cat.sensory"],metadata:{description:"Identifies presence of video content that may require accessibility features",help:"Video content should have appropriate alternatives like captions and audio descriptions",impact:"serious"},all:[],any:[],none:["is_video_detected"]},{id:"empty_link",selector:"a[href]",tags:["wcag2a","wcag2.4.4","wcag4.1.2"],metadata:{description:"Ensures links have discernible text",help:"Links must have discernible text",helpUrl:"https://a11ychecker.com/help4108"},any:[],all:[],none:["link-is-empty"]},{id:"long_description_invalid",selector:"img[longdesc]",tags:["wcag2a","wcag131","cat.text-alternatives"],metadata:{description:"Checks that longdesc attributes are valid and do not point to images.",help:"longdesc should link to a non-image resource with a detailed description",impact:"moderate"},all:[],any:["longdesc_valid"],none:[]},{id:"empty_table_header",selector:'th, [role="columnheader"], [role="rowheader"]',excludeHidden:!1,tags:["wcag2a","wcag1.3.1","wcag4.1.2"],metadata:{description:"Ensures table headers have discernible text",help:"Table headers must have discernible text",helpUrl:"https://a11ychecker.com/help4109"},any:[],all:[],none:["table_header_is_empty"]},{id:"img_alt_missing",selector:'img, input[type="image"]',excludeHidden:!0,any:[],all:[],none:["img_alt_missing_check"],tags:["wcag1a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures images have alt text",help:"Images must have an alt attribute",helpUrl:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html"}},{id:"img_alt_invalid",selector:"img",excludeHidden:!0,any:[],all:["img_alt_invalid_check"],none:[],tags:["wcag1a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures images have valid alternative text",help:"Images must have meaningful alt text rather than filenames or generic text",helpUrl:"https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html"}},{id:"img_alt_redundant",selector:"img, figure img",any:["img_alt_redundant_check"],none:[],tags:["duplicate","redundant","accessibility"],metadata:{description:"Checks for redundant alternative text on images, including duplicate alt text across images; alt text matching title, link text or figcaption.",help:"Ensure that each image has unique, meaningful alt text that does not duplicate related text (such as its title, associated link text, or accompanying caption).",helpUrl:"https://a11ychecker.com/help1976"}},{id:"img_linked_alt_missing",selector:"a",tags:["wcag2a","wcag111","cat.text-alternatives"],metadata:{description:"Checks that linked images have meaningful alternative text.",help:"Linked images must have alternative text describing link purpose.",impact:"serious"},all:[],any:["linked_image_alt_present"],none:[]},{id:"img_linked_alt_empty",selector:"a",tags:["wcag2a","wcag111","cat.text-alternatives"],metadata:{description:"Ensures linked images do not have empty alt text",help:"Linked images must have meaningful alternative text describing the link purpose",impact:"serious"},all:[],any:["linked_image_alt_not_empty"],none:[]},{id:"img_alt_long",selector:"img[alt]",excludeHidden:!0,tags:["cat.text-alternatives","wcag1a","wcag111"],all:[],any:["img_alt_long_check"],none:[],metadata:{description:"Ensures images do not have excessively long alt text",help:"Image alt text should be concise and not exceed 300 characters"}},{id:"img_alt_empty",selector:'img[alt=""], input[type="image"][alt=""]',excludeHidden:!0,tags:["cat.text-alternatives","wcag1a","wcag111"],all:[],any:["img_alt_empty_check"],none:[],metadata:{description:'Ensures images with attributes alt="" are not used when they require alternative text',help:"Images with empty alt attributes must be decorative or already described in context"}},{id:"link_non_html_file",selector:"a[href]",tags:["best-practice","cat.structure"],metadata:{description:"Links to non-HTML documents should be clearly labeled or avoided.",help:"Avoid linking to non-HTML documents without warnings or alternatives.",impact:"moderate"},all:[],any:["link_points_to_html"],none:[]},{id:"link_improper",selector:"a",tags:["wcag2a","wcag412","cat.structure"],metadata:{description:"Links must have a meaningful href or an appropriate role if used as buttons.",help:'Avoid using <a> tags without href or with href="#" unless role="button" is used.',impact:"serious"},all:[],any:["link_has_valid_href_or_role"],none:[]},{id:"missing_headings",selector:"body",tags:["wcag2a","best-practice"],all:[],any:["has_subheadings_if_long_content"],none:[],metadata:{description:"Ensures long content has appropriate heading structure",help:"Content with more than 400 words should contain headings to improve readability and structure"}},ue,{id:"aria_hidden_validation",selector:'[aria-hidden="true"]',excludeHidden:!1,tags:["wcag2a","wcag131","cat.aria","cat.semantics"],metadata:{description:'Ensures elements with aria-hidden="true" are used appropriately',help:'Elements with aria-hidden="true" should not hide important content that is unavailable elsewhere',impact:"serious"},all:[],any:["aria_hidden_valid_usage"],none:[]},{id:"aria_broken_reference",selector:"[aria-labelledby], [aria-describedby], [aria-owns]",excludeHidden:!0,tags:[],metadata:{description:"Ensures ARIA attributes reference existing elements",help:"ARIA attributes that reference other elements must point to elements that exist in the DOM",impact:"critical"},all:[],any:["aria_label_not_found","aria_describedby_not_found","aria_owns_not_found"],none:[]}],ve=[{id:"always-fail",metadata:{impact:"critical",messages:{pass:"This test passed.",fail:"This test failed."}},evaluate:()=>!1},t,e,i,r,u,l,p,g,v,{id:"image_input_has_alt",evaluate:e=>("input"!==e.tagName.toLowerCase()||"image"===e.type)&&""!==e.getAttribute("alt")?.trim()},w,F,C,R,T,O,B,L,q,z,V,Y,X,Q,ee,{...te,options:{maxAltLength:window?.scanOptions?.maxAltLength||te.options.maxAltLength}},re,ae,oe,ie,le,x,E,A],be=["meta-viewport","blink","marquee","document-title","tabindex","html-lang-valid","html-has-lang","form-field-multiple-labels","heading-order","frame-title","area-alt"],ye=ge.map((e=>e.id)),we=["#wpadminbar",".edac-panel-container","#query-monitor-main","#qm-icon-container"];let De;const xe=["MAIN","HEADER","FOOTER","NAV","ASIDE"],Ee=["main","navigation","banner","contentinfo","complementary"],Ae=["SECTION","ARTICLE","FORM"],Fe=["region","article","form"];function Ce(e){if(!e)return null;if(e.id)return`#${e.id}`;const t=e.tagName.toLowerCase();if("main"===t){if(1===document.querySelectorAll("main").length)return"main"}if(("header"===t||"footer"===t)&&e.parentElement===document.body)return t;if("nav"===t||"navigation"===e.getAttribute("role")){if(1===document.querySelectorAll('nav, [role="navigation"]').length)return"nav"===t?"nav":'[role="navigation"]';if(e.hasAttribute("aria-label")){return`${"nav"===t?"nav":'[role="navigation"]'}[aria-label="${e.getAttribute("aria-label")}"]`}}const r=e.getAttribute("role");if(r&&Ee.includes(r)){if(1===document.querySelectorAll(`[role="${r}"]`).length)return`[role="${r}"]`;if(e.hasAttribute("aria-label")){return`[role="${r}"][aria-label="${e.getAttribute("aria-label")}"]`}}const n=[];let a=e;for(;a&&a.nodeType===Node.ELEMENT_NODE&&a!==document.body;){let e=a.nodeName.toLowerCase();if(a.id){e=`#${a.id}`,n.unshift(e);break}if(a.className){const t=a.className.trim().split(/\s+/).map((e=>CSS.escape(e))).filter((e=>!e.match(/^(wp-|js-|css-|generated-|dynamic-)/))).slice(0,2);t.length>0&&(e+=`.${t.join(".")}`)}if(!a.id&&!a.className){e+=`:nth-child(${Array.from(a.parentNode.children).indexOf(a)+1})`}if(n.unshift(e),a=a.parentElement,n.length>=4)break}return n.length?n.join(" > "):null}const ke=document.querySelector("body"),Ne=ke.getAttribute("data-iframe-id"),Re=ke.getAttribute("data-iframe-event-name"),_e=ke.getAttribute("data-iframe-post-id");const Te=async(e={configOptions:{},runOptions:{}})=>{const t={exclude:we},r={configOptions:{reporter:"raw",rules:ge,checks:ve,iframes:!1},resultTypes:["violations","incomplete"],runOptions:{runOnly:{type:"rule",values:[...be,...ye]}}},n=Object.assign(r.configOptions,e.configOptions);axe.configure(n);const a=Object.assign(r.runOptions,e.runOptions);return a?.runOnly?.values?.includes(ue.id)&&await async function(e=5e3){const t=document.querySelectorAll("img[src]");for(const r of t){const t=r.getAttribute("src")||"",n=t.toLowerCase();if(!se.has(n)){if(fe(n)||me(n))try{const r=new AbortController,a=setTimeout((()=>r.abort()),e);let o;try{o=await fetch(t,{mode:"cors",signal:r.signal})}finally{clearTimeout(a)}if(o.ok){const e=ce(await o.arrayBuffer());se.set(n,e);continue}}catch(e){se.set(n,he(n));continue}se.set(n,he(n))}}return se}(),await axe.run(t,a).then((e=>{const t=[];e.forEach((e=>{e.violations.forEach((r=>{"failed"===r.result&&t.push(Me(r,e))})),"form-field-multiple-labels"===e.id&&e.incomplete.forEach((r=>{t.push(Me(r,e))}))}));const r=e.map((e=>({id:e.id,description:e.description,help:e.help,impact:e.impact,tags:e.tags})));return t.sort((function(e,t){return(e=document.querySelector(e.selector))===(t=document.querySelector(t.selector))?0:2&e.compareDocumentPosition(t)?1:-1})),{rules:e,rulesMin:r,violations:t}})).catch((e=>{throw e}))};function Se(e,t,r){const[n,a]=function(e=document.body){if(!e)return[0,0];const t=e.cloneNode(!0);return[...we,"style","script"].forEach((e=>{t.querySelectorAll(e).forEach((e=>e.remove()))})),[t.getElementsByTagName("*").length,(t.textContent||"").replace(/[^A-Za-z0-9]/g,"").length]}(ke),o=new CustomEvent(Re,{detail:{iframeId:Ne,postId:_e,violations:e,errorMsgs:t,error:r,densityMetrics:{elementCount:n,contentLength:a}},bubbles:!1});top.dispatchEvent(o)}const Oe=(e=[],t=[],r=!1)=>{clearTimeout(De),void 0!==axe.cleanup?axe.cleanup((function(){axe.teardown(),axe=null,Se(e,t,"")}),(function(){axe.teardown(),axe=null,t.push("***** axe.cleanup() failed."),Se(e,t,"cleanup-failed")})):(t.push("***** axe.cleanup() does not exist."),axe=null,Se(e,t,"cleanup-not-exists"))};if(window.runAccessibilityScan=async function(e={}){return Te(e).then((t=>("function"==typeof e.onComplete&&e.onComplete(t),t))).catch((t=>{throw"function"==typeof e.onComplete&&e.onComplete(null,t),t}))},ke&&ke.hasAttribute("data-iframe-id")&&ke.hasAttribute("data-iframe-event-name")){const e={configOptions:{},runOptions:{},iframeId:ke.getAttribute("data-iframe-id"),eventName:ke.getAttribute("data-iframe-event-name"),postId:ke.getAttribute("data-iframe-post-id")};De=setTimeout((()=>{Se([],["Scan timed out"],"timeout")}),3e4),Te(e).then((e=>Oe(e.violations,[],null))).catch((e=>Oe([],[e.message||"Unknown error"],e.message)))}function Me(e,t){const r=e.node.selector,n=function(e){const t=document.querySelector(e);if(!t)return{type:null,selector:null};let r=t;for(;r&&r!==document.body;){if(xe.includes(r.tagName))return{type:r.tagName.toLowerCase(),selector:Ce(r)};if(Ae.includes(r.tagName)&&(r.hasAttribute("aria-label")||r.hasAttribute("aria-labelledby")))return{type:r.tagName.toLowerCase(),selector:Ce(r)};if(r.hasAttribute("role")){const e=r.getAttribute("role").toLowerCase();if(Ee.includes(e))return{type:e,selector:Ce(r)};if(Fe.includes(e)&&(r.hasAttribute("aria-label")||r.hasAttribute("aria-labelledby")))return{type:e,selector:Ce(r)}}r=r.parentElement}return{type:null,selector:null}}(r),a=e.node.ancestry||[],o=e.node.xpath||[],i=document.querySelector(r)?.outerHTML;return{selector:r,ancestry:a,xpath:o,html:i,ruleId:t.id,impact:t.impact,tags:t.tags,landmark:n.type,landmarkSelector:n.selector}}})()})(); -
accessibility-checker/trunk/build/pageScanner.bundle.js.LICENSE.txt
r3025920 r3448940 1 /*! axe v4. 8.22 * Copyright (c) 2015 - 202 3Deque Systems, Inc.1 /*! axe v4.11.1 2 * Copyright (c) 2015 - 2026 Deque Systems, Inc. 3 3 * 4 4 * Your use of this Source Code Form is subject to the terms of the Mozilla Public -
accessibility-checker/trunk/changelog.txt
r3425603 r3448940 1 1 *** Accessibility Checker *** 2 2 3 2025-15-22 - version 1.36.0 3 2026-01-23 - version 1.37.0 4 * Fix - Duplicate markup on the page can now be properly identified as an issue. 5 * Fix - Restrict global ignore management link and fix button label span closure. 6 * Fix - Update database schema to use selector as unique identifier for issues. 7 * Enhanced - Frontend issue matching with stable selectors and DOM ordering. 8 * Enhanced - Better handling of frontend highlighter positioning. 9 * Improved - More accurate restoration of styles after deactivating them in frontend highlighter. 10 * Improved - When closing frontend highlighter it won't re-render unless needed. 11 12 2025-12-15 - version 1.36.0 4 13 * Fix - passed tests percentage logic now accounts times no posts are scanned 5 14 * Fix - don't prevent scan speed saving when pro plugin is enabled. -
accessibility-checker/trunk/includes/classes/class-rest-api.php
r3356312 r3448940 265 265 * @return string 266 266 */ 267 public function filter_js_validation_html( string $html, string $rule_id, array $violation ): string { 268 // Add the selector to the violation message as empty paragraphs are almost always 269 // duplicate html fragments. Adding the selector makes it unique, so it can be saved. 270 if ( 'empty_paragraph_tag' === $rule_id ) { 271 $html .= $violation['selector'][0] 272 ? '// {{ ' . $violation['selector'][0] . ' }}' 273 : ''; 274 } 275 267 public function filter_js_validation_html( string $html, string $rule_id, array $violation ): string { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed, VariableAnalysis.CodeAnalysis.VariableAnalysis.UnusedVariable -- the variable was used previously and will be used in future most likely. 276 268 // Use just the opening <html> and closing </html> tag, prevents storing entire page as the affected code. 277 269 if ( 'html-has-lang' === $rule_id || 'document-title' === $rule_id ) { -
accessibility-checker/trunk/readme.txt
r3425603 r3448940 4 4 Requires at least: 6.6 5 5 Tested up to: 6.9 6 Stable tag: 1.3 6.06 Stable tag: 1.37.0 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 212 212 == Changelog == 213 213 214 2025-15-22 - version 1.36.0 214 2026-01-23 - version 1.37.0 215 * Fix - Duplicate markup on the page can now be properly identified as an issue. 216 * Fix - Restrict global ignore management link and fix button label span closure. 217 * Fix - Update database schema to use selector as unique identifier for issues. 218 * Enhanced - Frontend issue matching with stable selectors and DOM ordering. 219 * Enhanced - Better handling of frontend highlighter positioning. 220 * Improved - More accurate restoration of styles after deactivating them in frontend highlighter. 221 * Improved - When closing frontend highlighter it won't re-render unless needed. 222 223 2025-12-15 - version 1.36.0 215 224 * Fix - passed tests percentage logic now accounts times no posts are scanned 216 225 * Fix - don't prevent scan speed saving when pro plugin is enabled. … … 229 238 * Tweak - Use WordPress data functions instead of server time for ignore date formatting. 230 239 231 2025-10-22 - version 1.34.0232 * Tweak - Missing transcript can now detect transcripts for videos when they are not just direct siblings.233 * Tweak - Use post type labels rather than slugs in views where applicable.234 * Tweak - Prepare for sale event during Black Friday.235 236 2025-09-26 - version 1.33.0237 * Add - WP-CLI commands can now be run with short names: `wp edac <command>` or using long name `wp accessibility-checker <command>`.238 * Tweak - Made it easier to register custom commands through filter.239 240 2025-09-18 - version 1.32.0241 * Fix - Improved highlighter behavior to maintain original size and position of scanned elements.242 * Fix - Identify out-of-sequence headings.243 * Fix - Identify missing title attributes.244 * Fix - Correctly assess alternative text requirements for image map areas.245 * Tweak - Implemented additional security measures for input validation and data sanitization.246 247 240 Older versions can be found in the plugins `changelog.txt`. -
accessibility-checker/trunk/vendor/composer/installed.php
r3425603 r3448940 2 2 'root' => array( 3 3 'name' => 'equalizedigital/accessibility-checker', 4 'pretty_version' => 'v1.3 6.0',5 'version' => '1.3 6.0.0',6 'reference' => ' 0a04f4ab2fd6118eada4d81331aa38dd8e842008',4 'pretty_version' => 'v1.37.0', 5 'version' => '1.37.0.0', 6 'reference' => '1cbcfbf9b75f76bee2bce7105167aa858021a5ee', 7 7 'type' => 'library', 8 8 'install_path' => __DIR__ . '/../../', … … 32 32 ), 33 33 'equalizedigital/accessibility-checker' => array( 34 'pretty_version' => 'v1.3 6.0',35 'version' => '1.3 6.0.0',36 'reference' => ' 0a04f4ab2fd6118eada4d81331aa38dd8e842008',34 'pretty_version' => 'v1.37.0', 35 'version' => '1.37.0.0', 36 'reference' => '1cbcfbf9b75f76bee2bce7105167aa858021a5ee', 37 37 'type' => 'library', 38 38 'install_path' => __DIR__ . '/../../',
Note: See TracChangeset for help on using the changeset viewer.