PHP 8.1.33
Preview: a11y.js Size: 8.37 KB
/home/jambtst2015/public_html/cccng.org/wp-includes/js/dist/a11y.js

/******/ (() => { // webpackBootstrap
/******/ 	"use strict";
/******/ 	// The require scope
/******/ 	var __webpack_require__ = {};
/******/ 	
/************************************************************************/
/******/ 	/* webpack/runtime/compat get default export */
/******/ 	(() => {
/******/ 		// getDefaultExport function for compatibility with non-harmony modules
/******/ 		__webpack_require__.n = (module) => {
/******/ 			var getter = module && module.__esModule ?
/******/ 				() => (module['default']) :
/******/ 				() => (module);
/******/ 			__webpack_require__.d(getter, { a: getter });
/******/ 			return getter;
/******/ 		};
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/define property getters */
/******/ 	(() => {
/******/ 		// define getter functions for harmony exports
/******/ 		__webpack_require__.d = (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 */
/******/ 	(() => {
/******/ 		__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
/******/ 	})();
/******/ 	
/******/ 	/* webpack/runtime/make namespace object */
/******/ 	(() => {
/******/ 		// define __esModule on exports
/******/ 		__webpack_require__.r = (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: () => (/* binding */ setup),
  speak: () => (/* reexport */ speak)
});

;// external ["wp","domReady"]
const external_wp_domReady_namespaceObject = window["wp"]["domReady"];
var external_wp_domReady_default = /*#__PURE__*/__webpack_require__.n(external_wp_domReady_namespaceObject);
;// ./node_modules/@wordpress/a11y/build-module/script/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;
}

;// external ["wp","i18n"]
const external_wp_i18n_namespaceObject = window["wp"]["i18n"];
;// ./node_modules/@wordpress/a11y/build-module/script/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;
}

;// ./node_modules/@wordpress/a11y/build-module/shared/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');
  }
}

;// ./node_modules/@wordpress/a11y/build-module/shared/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;
}

;// ./node_modules/@wordpress/a11y/build-module/shared/index.js
/**
 * Internal dependencies
 */



/**
 * 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 {'polite'|'assertive'} [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');
  }
}

;// ./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);

(window.wp = window.wp || {}).a11y = __webpack_exports__;
/******/ })()
;

Directory Contents

Dirs: 3 × Files: 118

Name Size Perms Modified Actions
- drwxr-xr-x 2024-12-30 07:14:41
Edit Download
- drwxr-xr-x 2024-12-17 21:37:28
Edit Download
vendor DIR
- drwxr-xr-x 2024-12-30 07:14:41
Edit Download
8.37 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.30 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
22.79 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
5.39 KB lrw-r--r-- 2024-05-24 05:09:28
Edit Download
23.31 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
5.70 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
15.61 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
5.48 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
4.51 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
1.08 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
78.64 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
20.25 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.60 MB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
845.65 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.13 MB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
856.16 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
14.87 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
2.34 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
554.02 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
169.49 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
178.44 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
48.27 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.25 MB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
702.18 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
195.61 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
35.99 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
23.83 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
9.20 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
261.22 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
64.24 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
95.33 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
34.18 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
7.07 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
1.44 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
141.55 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
25.00 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
798.41 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
765.06 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
4.58 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
684 B lrw-r--r-- 2024-01-31 23:29:56
Edit Download
2.41 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
457 B lrw-r--r-- 2024-01-31 23:29:56
Edit Download
60.67 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
12.25 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
120.43 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
41.27 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
1.56 MB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
626.11 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
171.49 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
57.23 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
1.16 MB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
387.69 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
66.53 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
11.69 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
5.86 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
1000 B lrw-r--r-- 2024-01-31 23:29:56
Edit Download
66.86 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
22.24 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
20.20 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
4.66 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
3.62 KB lrw-r--r-- 2024-05-24 05:09:28
Edit Download
788 B lrw-r--r-- 2024-01-31 23:29:56
Edit Download
48.46 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
8.93 KB lrw-r--r-- 2024-02-16 03:23:16
Edit Download
4.19 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
1018 B lrw-r--r-- 2024-01-31 23:29:56
Edit Download
23.91 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.95 KB lrw-r--r-- 2024-06-01 04:29:00
Edit Download
13.78 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.58 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
30.62 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
4.63 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
30.72 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
9.73 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
21.47 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.02 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
12.98 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
3.43 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
62.55 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
20.95 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
17.85 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
4.18 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
29.31 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
5.49 KB lrw-r--r-- 2024-05-24 05:09:28
Edit Download
25.04 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
6.85 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
6.56 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
1.62 KB lrw-r--r-- 2024-06-01 04:29:00
Edit Download
13.88 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
3.30 KB lrw-r--r-- 2024-02-16 03:23:16
Edit Download
8.30 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.75 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
23.18 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
8.68 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
19.95 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
5.97 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
117.86 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
30.28 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
52.01 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
13.21 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
14.26 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
4.27 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
14.24 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.83 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download
39.07 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
5.91 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
5.91 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
1.24 KB lrw-r--r-- 2024-12-17 21:37:28
Edit Download
34.01 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
8.32 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
10.22 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
1.82 KB lrw-r--r-- 2024-06-01 04:29:00
Edit Download
2.39 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
311 B lrw-r--r-- 2024-01-31 23:29:56
Edit Download
52.48 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
19.56 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
14.40 KB lrw-r--r-- 2025-10-08 17:06:31
Edit Download
2.42 KB lrw-r--r-- 2024-01-31 23:29:56
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).