1/******/ (() => { // webpackBootstrap 2/******/ "use strict"; 3/******/ // The require scope 4/******/ var __webpack_require__ = {}; 5/******/ 6/************************************************************************/ 7/******/ /* webpack/runtime/compat get default export */ 8/******/ (() => { 9/******/ // getDefaultExport function for compatibility with non-harmony modules 10/******/ __webpack_require__.n = (module) => { 11/******/ var getter = module && module.__esModule ? 12/******/ () => (module['default']) : 13/******/ () => (module); 14/******/ __webpack_require__.d(getter, { a: getter }); 15/******/ return getter; 16/******/ }; 17/******/ })(); 18/******/ 19/******/ /* webpack/runtime/define property getters */ 20/******/ (() => { 21/******/ // define getter functions for harmony exports 22/******/ __webpack_require__.d = (exports, definition) => { 23/******/ for(var key in definition) { 24/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { 25/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); 26/******/ } 27/******/ } 28/******/ }; 29/******/ })(); 30/******/ 31/******/ /* webpack/runtime/hasOwnProperty shorthand */ 32/******/ (() => { 33/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop)) 34/******/ })(); 35/******/ 36/******/ /* webpack/runtime/make namespace object */ 37/******/ (() => { 38/******/ // define __esModule on exports 39/******/ __webpack_require__.r = (exports) => { 40/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { 41/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); 42/******/ } 43/******/ Object.defineProperty(exports, '__esModule', { value: true }); 44/******/ }; 45/******/ })(); 46/******/ 47/************************************************************************/ 48var __webpack_exports__ = {}; 49// ESM COMPAT FLAG 50__webpack_require__.r(__webpack_exports__); 51 52// EXPORTS 53__webpack_require__.d(__webpack_exports__, { 54 setup: () => (/* binding */ setup), 55 speak: () => (/* reexport */ speak) 56}); 57 58;// external ["wp","domReady"] 59const external_wp_domReady_namespaceObject = window["wp"]["domReady"]; 60var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_namespaceObject); 61;// ./node_modules/@wordpress/a11y/build-module/script/add-container.js 62function addContainer(ariaLive = "polite") { 63 const container = document.createElement("div"); 64 container.id = `a11y-speak-${ariaLive}`; 65 container.className = "a11y-speak-region"; 66 container.setAttribute( 67 "style", 68 "position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip-path:inset(50%);border:0;word-wrap:normal !important;" 69 ); 70 container.setAttribute("aria-live", ariaLive); 71 container.setAttribute("aria-relevant", "additions text"); 72 container.setAttribute("aria-atomic", "true"); 73 const { body } = document; 74 if (body) { 75 body.appendChild(container); 76 } 77 return container; 78} 79 80 81;// external ["wp","i18n"] 82const external_wp_i18n_namespaceObject = window["wp"]["i18n"]; 83;// ./node_modules/@wordpress/a11y/build-module/script/add-intro-text.js 84 85function addIntroText() { 86 const introText = document.createElement("p"); 87 introText.id = "a11y-speak-intro-text"; 88 introText.className = "a11y-speak-intro-text"; 89 introText.textContent = (0,external_wp_i18n_namespaceObject.__)("Notifications"); 90 introText.setAttribute( 91 "style", 92 "position:absolute;margin:-1px;padding:0;height:1px;width:1px;overflow:hidden;clip-path:inset(50%);border:0;word-wrap:normal !important;" 93 ); 94 introText.setAttribute("hidden", ""); 95 const { body } = document; 96 if (body) { 97 body.appendChild(introText); 98 } 99 return introText; 100} 101 102 103;// ./node_modules/@wordpress/a11y/build-module/shared/clear.js 104function clear() { 105 const regions = document.getElementsByClassName("a11y-speak-region"); 106 const introText = document.getElementById("a11y-speak-intro-text"); 107 for (let i = 0; i < regions.length; i++) { 108 regions[i].textContent = ""; 109 } 110 if (introText) { 111 introText.setAttribute("hidden", "hidden"); 112 } 113} 114 115 116;// ./node_modules/@wordpress/a11y/build-module/shared/filter-message.js 117let previousMessage = ""; 118function filterMessage(message) { 119 message = message.replace(/<[^<>]+>
119/g, " "); 120 if (previousMessage === message) { 121 message += "\xA0"; 122 } 123 previousMessage = message; 124 return message; 125} 126 127 128;// ./node_modules/@wordpress/a11y/build-module/shared/index.js 129 130 131function speak(message, ariaLive) { 132 clear(); 133 message = filterMessage(message); 134 const introText = document.getElementById("a11y-speak-intro-text"); 135 const containerAssertive = document.getElementById( 136 "a11y-speak-assertive" 137 ); 138 const containerPolite = document.getElementById("a11y-speak-polite"); 139 if (containerAssertive && ariaLive === "assertive") { 140 containerAssertive.textContent = message; 141 } else if (containerPolite) { 142 containerPolite.textContent = message; 143 } 144 if (introText) { 145 introText.removeAttribute("hidden"); 146 } 147} 148 149 150;// ./node_modules/@wordpress/a11y/build-module/index.js 151 152 153 154 155function setup() { 156 const introText = document.getElementById("a11y-speak-intro-text"); 157 const containerAssertive = document.getElementById( 158 "a11y-speak-assertive" 159 ); 160 const containerPolite = document.getElementById("a11y-speak-polite"); 161 if (introText === null) { 162 addIntroText(); 163 } 164 if (containerAssertive === null) { 165 addContainer("assertive"); 166 } 167 if (containerPolite === null) { 168 addContainer("polite"); 169 } 170} 171external_wp_domReady_default()(setup); 172 173 174(window.wp = window.wp || {}).a11y = __webpack_exports__; 175/******/ })() 176;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.