at path:
ROOT
/
wp-includes
/
js
/
dist
/
a11y.js
run:
R
W
Run
development
DIR
2022-11-10 17:09:20
R
W
Run
vendor
DIR
2023-07-06 17:58:08
R
W
Run
a11y.js
8.46 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
a11y.min.js
2.39 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
annotations.js
30.6 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
annotations.min.js
6.53 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
api-fetch.js
22.29 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
api-fetch.min.js
5.27 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
autop.js
15.9 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
autop.min.js
5.54 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
blob.js
3.62 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
blob.min.js
917 By
2024-02-06 14:00:14
R
W
Run
Delete
Rename
block-directory.js
75.95 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
block-directory.min.js
20.6 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
block-editor.js
2.13 MB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
block-editor.min.js
714.6 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
block-library.js
1.86 MB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
block-library.min.js
788.04 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
block-serialization-default-parser.js
14.93 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
block-serialization-default-parser.min.js
2.39 KB
2023-07-06 17:58:08
R
W
Run
Delete
Rename
blocks.js
540.82 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
blocks.min.js
167.71 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
commands.js
183.14 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
commands.min.js
46.66 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
components.js
2.63 MB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
components.min.js
790.84 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
compose.js
193.9 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
compose.min.js
36.67 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
core-commands.js
21.2 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
core-commands.min.js
7.94 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
core-data.js
230.15 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
core-data.min.js
55.19 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
customize-widgets.js
110.11 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
customize-widgets.min.js
39.5 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
data-controls.js
7.3 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
data-controls.min.js
1.59 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
data.js
152.25 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
data.min.js
26.7 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
date.js
798.3 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
date.min.js
765.34 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
deprecated.js
4.67 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
deprecated.min.js
729 By
2024-02-06 14:00:14
R
W
Run
Delete
Rename
dom-ready.js
2.45 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
dom-ready.min.js
498 By
2022-04-11 12:04:30
R
W
Run
Delete
Rename
dom.js
62.11 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
dom.min.js
12.77 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
edit-post.js
355.9 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
edit-post.min.js
125.19 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
edit-site.js
1.29 MB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
edit-site.min.js
505.33 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
edit-widgets.js
163.6 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
edit-widgets.min.js
57.64 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
editor.js
419.89 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
editor.min.js
147.66 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
element.js
66.15 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
element.min.js
12.35 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
escape-html.js
6.21 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
escape-html.min.js
1.11 KB
2022-04-11 12:04:30
R
W
Run
Delete
Rename
format-library.js
63.81 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
format-library.min.js
22.46 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
hooks.js
19.58 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
hooks.min.js
4.52 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
html-entities.js
3.62 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
html-entities.min.js
837 By
2022-04-11 12:04:30
R
W
Run
Delete
Rename
i18n.js
49.01 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
i18n.min.js
9.22 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
interactivity.js
80.97 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
interactivity.min.js
31.62 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
is-shallow-equal.js
4.33 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
is-shallow-equal.min.js
1.07 KB
2022-04-11 12:04:30
R
W
Run
Delete
Rename
keyboard-shortcuts.js
31.74 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
keyboard-shortcuts.min.js
4.09 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
keycodes.js
33.33 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
keycodes.min.js
3.94 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
list-reusable-blocks.js
30.16 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
list-reusable-blocks.min.js
4.97 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
media-utils.js
22.02 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
media-utils.min.js
7.27 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
notices.js
21.81 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
notices.min.js
2.21 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
nux.js
20.58 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
nux.min.js
4.51 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
patterns.js
26.97 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
patterns.min.js
8.68 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
plugins.js
17.54 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
plugins.min.js
4.24 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
preferences-persistence.js
28.17 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
preferences-persistence.min.js
4.85 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
preferences.js
11.42 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
preferences.min.js
2.58 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
primitives.js
9.59 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
primitives.min.js
2.46 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
priority-queue.js
13.98 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
priority-queue.min.js
3.36 KB
2023-07-06 17:58:08
R
W
Run
Delete
Rename
private-apis.js
8.57 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
private-apis.min.js
2.63 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
redux-routine.js
23.52 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
redux-routine.min.js
8.79 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
reusable-blocks.js
20.37 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
reusable-blocks.min.js
6.5 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
rich-text.js
123.03 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
rich-text.min.js
30.4 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
router.js
25.91 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
router.min.js
4.25 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
server-side-render.js
14.42 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
server-side-render.min.js
4.4 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
shortcode.js
14.96 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
shortcode.min.js
2.87 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
style-engine.js
36.88 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
style-engine.min.js
5.51 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
token-list.js
6.48 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
token-list.min.js
1.27 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
undo-manager.js
8.32 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
undo-manager.min.js
1.75 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
url.js
33.88 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
url.min.js
9.4 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
viewport.js
10.53 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
viewport.min.js
1.94 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
warning.js
2.46 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
warning.min.js
352 By
2024-02-06 14:00:14
R
W
Run
Delete
Rename
widgets.js
53.63 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
widgets.min.js
20.71 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
wordcount.js
14.68 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
wordcount.min.js
2.47 KB
2024-02-06 14:00:14
R
W
Run
Delete
Rename
error_log
up
📄
a11y.js
Save
/******/ (function() { // webpackBootstrap /******/ "use strict"; /******/ // The require scope /******/ var __webpack_require__ = {}; /******/ /************************************************************************/ /******/ /* webpack/runtime/compat get default export */ /******/ !function() { /******/ // getDefaultExport function for compatibility with non-harmony modules /******/ __webpack_require__.n = function(module) { /******/ var getter = module && module.__esModule ? /******/ function() { return module['default']; } : /******/ function() { return module; }; /******/ __webpack_require__.d(getter, { a: getter }); /******/ return getter; /******/ }; /******/ }(); /******/ /******/ /* webpack/runtime/define property getters */ /******/ !function() { /******/ // define getter functions for harmony exports /******/ __webpack_require__.d = function(exports, definition) { /******/ for(var key in definition) { /******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) { /******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] }); /******/ } /******/ } /******/ }; /******/ }(); /******/ /******/ /* webpack/runtime/hasOwnProperty shorthand */ /******/ !function() { /******/ __webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); } /******/ }(); /******/ /******/ /* webpack/runtime/make namespace object */ /******/ !function() { /******/ // define __esModule on exports /******/ __webpack_require__.r = function(exports) { /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); /******/ } /******/ Object.defineProperty(exports, '__esModule', { value: true }); /******/ }; /******/ }(); /******/ /************************************************************************/ var __webpack_exports__ = {}; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // EXPORTS __webpack_require__.d(__webpack_exports__, { setup: function() { return /* binding */ setup; }, speak: function() { return /* binding */ speak; } }); ;// CONCATENATED MODULE: external ["wp","domReady"] var external_wp_domReady_namespaceObject = window["wp"]["domReady"]; var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_namespaceObject); ;// CONCATENATED MODULE: external ["wp","i18n"] var external_wp_i18n_namespaceObject = window["wp"]["i18n"]; ;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-intro-text.js /** * WordPress dependencies */ /** * Build the explanatory text to be placed before the aria live regions. * * This text is initially hidden from assistive technologies by using a `hidden` * HTML attribute which is then removed once a message fills the aria-live regions. * * @return {HTMLParagraphElement} The explanatory text HTML element. */ function addIntroText() { const introText = document.createElement('p'); introText.id = 'a11y-speak-intro-text'; introText.className = 'a11y-speak-intro-text'; introText.textContent = (0,external_wp_i18n_namespaceObject.__)('Notifications'); introText.setAttribute('style', 'position: absolute;' + 'margin: -1px;' + 'padding: 0;' + 'height: 1px;' + 'width: 1px;' + 'overflow: hidden;' + 'clip: rect(1px, 1px, 1px, 1px);' + '-webkit-clip-path: inset(50%);' + 'clip-path: inset(50%);' + 'border: 0;' + 'word-wrap: normal !important;'); introText.setAttribute('hidden', 'hidden'); const { body } = document; if (body) { body.appendChild(introText); } return introText; } ;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/add-container.js /** * Build the live regions markup. * * @param {string} [ariaLive] Value for the 'aria-live' attribute; default: 'polite'. * * @return {HTMLDivElement} The ARIA live region HTML element. */ function addContainer(ariaLive = 'polite') { const container = document.createElement('div'); container.id = `a11y-speak-${ariaLive}`; container.className = 'a11y-speak-region'; container.setAttribute('style', 'position: absolute;' + 'margin: -1px;' + 'padding: 0;' + 'height: 1px;' + 'width: 1px;' + 'overflow: hidden;' + 'clip: rect(1px, 1px, 1px, 1px);' + '-webkit-clip-path: inset(50%);' + 'clip-path: inset(50%);' + 'border: 0;' + 'word-wrap: normal !important;'); container.setAttribute('aria-live', ariaLive); container.setAttribute('aria-relevant', 'additions text'); container.setAttribute('aria-atomic', 'true'); const { body } = document; if (body) { body.appendChild(container); } return container; } ;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/clear.js /** * Clears the a11y-speak-region elements and hides the explanatory text. */ function clear() { const regions = document.getElementsByClassName('a11y-speak-region'); const introText = document.getElementById('a11y-speak-intro-text'); for (let i = 0; i < regions.length; i++) { regions[i].textContent = ''; } // Make sure the explanatory text is hidden from assistive technologies. if (introText) { introText.setAttribute('hidden', 'hidden'); } } ;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/filter-message.js let previousMessage = ''; /** * Filter the message to be announced to the screenreader. * * @param {string} message The message to be announced. * * @return {string} The filtered message. */ function filterMessage(message) { /* * Strip HTML tags (if any) from the message string. Ideally, messages should * be simple strings, carefully crafted for specific use with A11ySpeak. * When re-using already existing strings this will ensure simple HTML to be * stripped out and replaced with a space. Browsers will collapse multiple * spaces natively. */ message = message.replace(/<[^<>]+>/g, ' '); /* * Safari + VoiceOver don't announce repeated, identical strings. We use * a `no-break space` to force them to think identical strings are different. */ if (previousMessage === message) { message += '\u00A0'; } previousMessage = message; return message; } ;// CONCATENATED MODULE: ./node_modules/@wordpress/a11y/build-module/index.js /** * WordPress dependencies */ /** * Internal dependencies */ /** * Create the live regions. */ function setup() { const introText = document.getElementById('a11y-speak-intro-text'); const containerAssertive = document.getElementById('a11y-speak-assertive'); const containerPolite = document.getElementById('a11y-speak-polite'); if (introText === null) { addIntroText(); } if (containerAssertive === null) { addContainer('assertive'); } if (containerPolite === null) { addContainer('polite'); } } /** * Run setup on domReady. */ external_wp_domReady_default()(setup); /** * Allows you to easily announce dynamic interface updates to screen readers using ARIA live regions. * This module is inspired by the `speak` function in `wp-a11y.js`. * * @param {string} message The message to be announced by assistive technologies. * @param {string} [ariaLive] The politeness level for aria-live; default: 'polite'. * * @example * ```js * import { speak } from '@wordpress/a11y'; * * // For polite messages that shouldn't interrupt what screen readers are currently announcing. * speak( 'The message you want to send to the ARIA live region' ); * * // For assertive messages that should interrupt what screen readers are currently announcing. * speak( 'The message you want to send to the ARIA live region', 'assertive' ); * ``` */ function speak(message, ariaLive) { /* * Clear previous messages to allow repeated strings being read out and hide * the explanatory text from assistive technologies. */ clear(); message = filterMessage(message); const introText = document.getElementById('a11y-speak-intro-text'); const containerAssertive = document.getElementById('a11y-speak-assertive'); const containerPolite = document.getElementById('a11y-speak-polite'); if (containerAssertive && ariaLive === 'assertive') { containerAssertive.textContent = message; } else if (containerPolite) { containerPolite.textContent = message; } /* * Make the explanatory text available to assistive technologies by removing * the 'hidden' HTML attribute. */ if (introText) { introText.removeAttribute('hidden'); } } (window.wp = window.wp || {}).a11y = __webpack_exports__; /******/ })() ;