🚀 Auto Backup WP
var
/
www
/
vhosts
/
construcciondepiscinas.top
/
httpdocs
/
wp-includes
/
js
/
dist
/
Name
Size
Perm
Action
development/
DIR
drwxr-xr-x
🗑️
📝
🔧
vendor/
DIR
drwxr-xr-x
🗑️
📝
🔧
a11y.js
8758B
-rw-r--r--
🗑️
✏️
📝
🔧
a11y.min.js
2508B
-rw-r--r--
🗑️
✏️
📝
🔧
annotations.min.js
7253B
-rw-r--r--
🗑️
✏️
📝
🔧
api-fetch.js
21973B
-rw-r--r--
🗑️
✏️
📝
🔧
api-fetch.min.js
5325B
-rw-r--r--
🗑️
✏️
📝
🔧
autop.js
16272B
-rw-r--r--
🗑️
✏️
📝
🔧
autop.min.js
5738B
-rw-r--r--
🗑️
✏️
📝
🔧
blob.js
3886B
-rw-r--r--
🗑️
✏️
📝
🔧
blob.min.js
952B
-rw-r--r--
🗑️
✏️
📝
🔧
block-directory.js
74490B
-rw-r--r--
🗑️
✏️
📝
🔧
block-directory.min.js
21646B
-rw-r--r--
🗑️
✏️
📝
🔧
block-editor.js
2214743B
-rw-r--r--
🗑️
✏️
📝
🔧
block-editor.min.js
781723B
-rw-r--r--
🗑️
✏️
📝
🔧
block-library.js
1814966B
-rw-r--r--
🗑️
✏️
📝
🔧
block-library.min.js
750177B
-rw-r--r--
🗑️
✏️
📝
🔧
block-serialization-default-parser.js
15218B
-rw-r--r--
🗑️
✏️
📝
🔧
block-serialization-default-parser.min.js
2421B
-rw-r--r--
🗑️
✏️
📝
🔧
blocks.js
538802B
-rw-r--r--
🗑️
✏️
📝
🔧
blocks.min.js
168369B
-rw-r--r--
🗑️
✏️
📝
🔧
components.js
2183566B
-rw-r--r--
🗑️
✏️
📝
🔧
components.min.js
644007B
-rw-r--r--
🗑️
✏️
📝
🔧
compose.js
178350B
-rw-r--r--
🗑️
✏️
📝
🔧
compose.min.js
36744B
-rw-r--r--
🗑️
✏️
📝
🔧
core-data.js
220435B
-rw-r--r--
🗑️
✏️
📝
🔧
core-data.min.js
54244B
-rw-r--r--
🗑️
✏️
📝
🔧
customize-widgets.js
107375B
-rw-r--r--
🗑️
✏️
📝
🔧
customize-widgets.min.js
38283B
-rw-r--r--
🗑️
✏️
📝
🔧
data-controls.js
6968B
-rw-r--r--
🗑️
✏️
📝
🔧
data.js
146542B
-rw-r--r--
🗑️
✏️
📝
🔧
data.min.js
26713B
-rw-r--r--
🗑️
✏️
📝
🔧
date.js
827279B
-rw-r--r--
🗑️
✏️
📝
🔧
date.min.js
794048B
-rw-r--r--
🗑️
✏️
📝
🔧
deprecated.js
4852B
-rw-r--r--
🗑️
✏️
📝
🔧
deprecated.min.js
812B
-rw-r--r--
🗑️
✏️
📝
🔧
dom-ready.js
2510B
-rw-r--r--
🗑️
✏️
📝
🔧
dom-ready.min.js
498B
-rw-r--r--
🗑️
✏️
📝
🔧
dom.js
63079B
-rw-r--r--
🗑️
✏️
📝
🔧
dom.min.js
13084B
-rw-r--r--
🗑️
✏️
📝
🔧
edit-post.js
342359B
-rw-r--r--
🗑️
✏️
📝
🔧
edit-post.min.js
116035B
-rw-r--r--
🗑️
✏️
📝
🔧
edit-site.js
591476B
-rw-r--r--
🗑️
✏️
📝
🔧
edit-site.min.js
204853B
-rw-r--r--
🗑️
✏️
📝
🔧
edit-widgets.js
165538B
-rw-r--r--
🗑️
✏️
📝
🔧
edit-widgets.min.js
58151B
-rw-r--r--
🗑️
✏️
📝
🔧
editor.js
412133B
-rw-r--r--
🗑️
✏️
📝
🔧
editor.min.js
143434B
-rw-r--r--
🗑️
✏️
📝
🔧
element.js
60686B
-rw-r--r--
🗑️
✏️
📝
🔧
element.min.js
12246B
-rw-r--r--
🗑️
✏️
📝
🔧
escape-html.js
6372B
-rw-r--r--
🗑️
✏️
📝
🔧
escape-html.min.js
1139B
-rw-r--r--
🗑️
✏️
📝
🔧
format-library.js
58154B
-rw-r--r--
🗑️
✏️
📝
🔧
format-library.min.js
19897B
-rw-r--r--
🗑️
✏️
📝
🔧
hooks.js
20574B
-rw-r--r--
🗑️
✏️
📝
🔧
hooks.min.js
4910B
-rw-r--r--
🗑️
✏️
📝
🔧
html-entities.js
3716B
-rw-r--r--
🗑️
✏️
📝
🔧
html-entities.min.js
837B
-rw-r--r--
🗑️
✏️
📝
🔧
i18n.js
51846B
-rw-r--r--
🗑️
✏️
📝
🔧
i18n.min.js
10230B
-rw-r--r--
🗑️
✏️
📝
🔧
is-shallow-equal.js
4433B
-rw-r--r--
🗑️
✏️
📝
🔧
is-shallow-equal.min.js
1097B
-rw-r--r--
🗑️
✏️
📝
🔧
keyboard-shortcuts.js
22914B
-rw-r--r--
🗑️
✏️
📝
🔧
keyboard-shortcuts.min.js
4477B
-rw-r--r--
🗑️
✏️
📝
🔧
keycodes.js
28775B
-rw-r--r--
🗑️
✏️
📝
🔧
keycodes.min.js
4215B
-rw-r--r--
🗑️
✏️
📝
🔧
list-reusable-blocks.min.js
4055B
-rw-r--r--
🗑️
✏️
📝
🔧
media-utils.js
22830B
-rw-r--r--
🗑️
✏️
📝
🔧
media-utils.min.js
7468B
-rw-r--r--
🗑️
✏️
📝
🔧
notices.js
20064B
-rw-r--r--
🗑️
✏️
📝
🔧
notices.min.js
2425B
-rw-r--r--
🗑️
✏️
📝
🔧
nux.js
21715B
-rw-r--r--
🗑️
✏️
📝
🔧
nux.min.js
4972B
-rw-r--r--
🗑️
✏️
📝
🔧
plugins.js
20183B
-rw-r--r--
🗑️
✏️
📝
🔧
plugins.min.js
4924B
-rw-r--r--
🗑️
✏️
📝
🔧
preferences-persistence.js
34946B
-rw-r--r--
🗑️
✏️
📝
🔧
preferences-persistence.min.js
6714B
-rw-r--r--
🗑️
✏️
📝
🔧
preferences.js
12323B
-rw-r--r--
🗑️
✏️
📝
🔧
preferences.min.js
2908B
-rw-r--r--
🗑️
✏️
📝
🔧
primitives.js
9434B
-rw-r--r--
🗑️
✏️
📝
🔧
primitives.min.js
2443B
-rw-r--r--
🗑️
✏️
📝
🔧
priority-queue.js
14373B
-rw-r--r--
🗑️
✏️
📝
🔧
priority-queue.min.js
3632B
-rw-r--r--
🗑️
✏️
📝
🔧
redux-routine.js
24400B
-rw-r--r--
🗑️
✏️
📝
🔧
redux-routine.min.js
9242B
-rw-r--r--
🗑️
✏️
📝
🔧
reusable-blocks.js
18509B
-rw-r--r--
🗑️
✏️
📝
🔧
reusable-blocks.min.js
5740B
-rw-r--r--
🗑️
✏️
📝
🔧
rich-text.js
130735B
-rw-r--r--
🗑️
✏️
📝
🔧
rich-text.min.js
33450B
-rw-r--r--
🗑️
✏️
📝
🔧
server-side-render.js
12365B
-rw-r--r--
🗑️
✏️
📝
🔧
server-side-render.min.js
3565B
-rw-r--r--
🗑️
✏️
📝
🔧
shortcode.js
17012B
-rw-r--r--
🗑️
✏️
📝
🔧
shortcode.min.js
3281B
-rw-r--r--
🗑️
✏️
📝
🔧
style-engine.js
17308B
-rw-r--r--
🗑️
✏️
📝
🔧
style-engine.min.js
5285B
-rw-r--r--
🗑️
✏️
📝
🔧
token-list.js
6999B
-rw-r--r--
🗑️
✏️
📝
🔧
token-list.min.js
1517B
-rw-r--r--
🗑️
✏️
📝
🔧
url.js
33504B
-rw-r--r--
🗑️
✏️
📝
🔧
url.min.js
9197B
-rw-r--r--
🗑️
✏️
📝
🔧
viewport.js
11458B
-rw-r--r--
🗑️
✏️
📝
🔧
viewport.min.js
2240B
-rw-r--r--
🗑️
✏️
📝
🔧
warning.js
2571B
-rw-r--r--
🗑️
✏️
📝
🔧
warning.min.js
392B
-rw-r--r--
🗑️
✏️
📝
🔧
widgets.min.js
21623B
-rw-r--r--
🗑️
✏️
📝
🔧
wordcount.js
15323B
-rw-r--r--
🗑️
✏️
📝
🔧
wordcount.min.js
2628B
-rw-r--r--
🗑️
✏️
📝
🔧
/******/ (function() { // webpackBootstrap /******/ "use strict"; /******/ // The require scope /******/ var __webpack_require__ = {}; /******/ /************************************************************************/ /******/ /* 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__, { "actions": function() { return /* binding */ actions; }, "addAction": function() { return /* binding */ addAction; }, "addFilter": function() { return /* binding */ addFilter; }, "applyFilters": function() { return /* binding */ applyFilters; }, "createHooks": function() { return /* reexport */ build_module_createHooks; }, "currentAction": function() { return /* binding */ currentAction; }, "currentFilter": function() { return /* binding */ currentFilter; }, "defaultHooks": function() { return /* binding */ defaultHooks; }, "didAction": function() { return /* binding */ didAction; }, "didFilter": function() { return /* binding */ didFilter; }, "doAction": function() { return /* binding */ doAction; }, "doingAction": function() { return /* binding */ doingAction; }, "doingFilter": function() { return /* binding */ doingFilter; }, "filters": function() { return /* binding */ filters; }, "hasAction": function() { return /* binding */ hasAction; }, "hasFilter": function() { return /* binding */ hasFilter; }, "removeAction": function() { return /* binding */ removeAction; }, "removeAllActions": function() { return /* binding */ removeAllActions; }, "removeAllFilters": function() { return /* binding */ removeAllFilters; }, "removeFilter": function() { return /* binding */ removeFilter; } }); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/validateNamespace.js /** * Validate a namespace string. * * @param {string} namespace The namespace to validate - should take the form * `vendor/plugin/function`. * * @return {boolean} Whether the namespace is valid. */ function validateNamespace(namespace) { if ('string' !== typeof namespace || '' === namespace) { // eslint-disable-next-line no-console console.error('The namespace must be a non-empty string.'); return false; } if (!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(namespace)) { // eslint-disable-next-line no-console console.error('The namespace can only contain numbers, letters, dashes, periods, underscores and slashes.'); return false; } return true; } /* harmony default export */ var build_module_validateNamespace = (validateNamespace); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/validateHookName.js /** * Validate a hookName string. * * @param {string} hookName The hook name to validate. Should be a non empty string containing * only numbers, letters, dashes, periods and underscores. Also, * the hook name cannot begin with `__`. * * @return {boolean} Whether the hook name is valid. */ function validateHookName(hookName) { if ('string' !== typeof hookName || '' === hookName) { // eslint-disable-next-line no-console console.error('The hook name must be a non-empty string.'); return false; } if (/^__/.test(hookName)) { // eslint-disable-next-line no-console console.error('The hook name cannot begin with `__`.'); return false; } if (!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(hookName)) { // eslint-disable-next-line no-console console.error('The hook name can only contain numbers, letters, dashes, periods and underscores.'); return false; } return true; } /* harmony default export */ var build_module_validateHookName = (validateHookName); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createAddHook.js /** * Internal dependencies */ /** * @callback AddHook * * Adds the hook to the appropriate hooks container. * * @param {string} hookName Name of hook to add * @param {string} namespace The unique namespace identifying the callback in the form `vendor/plugin/function`. * @param {import('.').Callback} callback Function to call when the hook is run * @param {number} [priority=10] Priority of this hook */ /** * Returns a function which, when invoked, will add a hook. * * @param {import('.').Hooks} hooks Hooks instance. * @param {import('.').StoreKey} storeKey * * @return {AddHook} Function that adds a new hook. */ function createAddHook(hooks, storeKey) { return function addHook(hookName, namespace, callback) { let priority = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 10; const hooksStore = hooks[storeKey]; if (!build_module_validateHookName(hookName)) { return; } if (!build_module_validateNamespace(namespace)) { return; } if ('function' !== typeof callback) { // eslint-disable-next-line no-console console.error('The hook callback must be a function.'); return; } // Validate numeric priority if ('number' !== typeof priority) { // eslint-disable-next-line no-console console.error('If specified, the hook priority must be a number.'); return; } const handler = { callback, priority, namespace }; if (hooksStore[hookName]) { // Find the correct insert index of the new hook. const handlers = hooksStore[hookName].handlers; /** @type {number} */ let i; for (i = handlers.length; i > 0; i--) { if (priority >= handlers[i - 1].priority) { break; } } if (i === handlers.length) { // If append, operate via direct assignment. handlers[i] = handler; } else { // Otherwise, insert before index via splice. handlers.splice(i, 0, handler); } // We may also be currently executing this hook. If the callback // we're adding would come after the current callback, there's no // problem; otherwise we need to increase the execution index of // any other runs by 1 to account for the added element. hooksStore.__current.forEach(hookInfo => { if (hookInfo.name === hookName && hookInfo.currentIndex >= i) { hookInfo.currentIndex++; } }); } else { // This is the first hook of its type. hooksStore[hookName] = { handlers: [handler], runs: 0 }; } if (hookName !== 'hookAdded') { hooks.doAction('hookAdded', hookName, namespace, callback, priority); } }; } /* harmony default export */ var build_module_createAddHook = (createAddHook); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createRemoveHook.js /** * Internal dependencies */ /** * @callback RemoveHook * Removes the specified callback (or all callbacks) from the hook with a given hookName * and namespace. * * @param {string} hookName The name of the hook to modify. * @param {string} namespace The unique namespace identifying the callback in the * form `vendor/plugin/function`. * * @return {number | undefined} The number of callbacks removed. */ /** * Returns a function which, when invoked, will remove a specified hook or all * hooks by the given name. * * @param {import('.').Hooks} hooks Hooks instance. * @param {import('.').StoreKey} storeKey * @param {boolean} [removeAll=false] Whether to remove all callbacks for a hookName, * without regard to namespace. Used to create * `removeAll*` functions. * * @return {RemoveHook} Function that removes hooks. */ function createRemoveHook(hooks, storeKey) { let removeAll = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; return function removeHook(hookName, namespace) { const hooksStore = hooks[storeKey]; if (!build_module_validateHookName(hookName)) { return; } if (!removeAll && !build_module_validateNamespace(namespace)) { return; } // Bail if no hooks exist by this name. if (!hooksStore[hookName]) { return 0; } let handlersRemoved = 0; if (removeAll) { handlersRemoved = hooksStore[hookName].handlers.length; hooksStore[hookName] = { runs: hooksStore[hookName].runs, handlers: [] }; } else { // Try to find the specified callback to remove. const handlers = hooksStore[hookName].handlers; for (let i = handlers.length - 1; i >= 0; i--) { if (handlers[i].namespace === namespace) { handlers.splice(i, 1); handlersRemoved++; // This callback may also be part of a hook that is // currently executing. If the callback we're removing // comes after the current callback, there's no problem; // otherwise we need to decrease the execution index of any // other runs by 1 to account for the removed element. hooksStore.__current.forEach(hookInfo => { if (hookInfo.name === hookName && hookInfo.currentIndex >= i) { hookInfo.currentIndex--; } }); } } } if (hookName !== 'hookRemoved') { hooks.doAction('hookRemoved', hookName, namespace); } return handlersRemoved; }; } /* harmony default export */ var build_module_createRemoveHook = (createRemoveHook); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createHasHook.js /** * @callback HasHook * * Returns whether any handlers are attached for the given hookName and optional namespace. * * @param {string} hookName The name of the hook to check for. * @param {string} [namespace] Optional. The unique namespace identifying the callback * in the form `vendor/plugin/function`. * * @return {boolean} Whether there are handlers that are attached to the given hook. */ /** * Returns a function which, when invoked, will return whether any handlers are * attached to a particular hook. * * @param {import('.').Hooks} hooks Hooks instance. * @param {import('.').StoreKey} storeKey * * @return {HasHook} Function that returns whether any handlers are * attached to a particular hook and optional namespace. */ function createHasHook(hooks, storeKey) { return function hasHook(hookName, namespace) { const hooksStore = hooks[storeKey]; // Use the namespace if provided. if ('undefined' !== typeof namespace) { return hookName in hooksStore && hooksStore[hookName].handlers.some(hook => hook.namespace === namespace); } return hookName in hooksStore; }; } /* harmony default export */ var build_module_createHasHook = (createHasHook); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createRunHook.js /** * Returns a function which, when invoked, will execute all callbacks * registered to a hook of the specified type, optionally returning the final * value of the call chain. * * @param {import('.').Hooks} hooks Hooks instance. * @param {import('.').StoreKey} storeKey * @param {boolean} [returnFirstArg=false] Whether each hook callback is expected to * return its first argument. * * @return {(hookName:string, ...args: unknown[]) => unknown} Function that runs hook callbacks. */ function createRunHook(hooks, storeKey) { let returnFirstArg = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; return function runHooks(hookName) { const hooksStore = hooks[storeKey]; if (!hooksStore[hookName]) { hooksStore[hookName] = { handlers: [], runs: 0 }; } hooksStore[hookName].runs++; const handlers = hooksStore[hookName].handlers; // The following code is stripped from production builds. if (false) {} for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) { args[_key - 1] = arguments[_key]; } if (!handlers || !handlers.length) { return returnFirstArg ? args[0] : undefined; } const hookInfo = { name: hookName, currentIndex: 0 }; hooksStore.__current.push(hookInfo); while (hookInfo.currentIndex < handlers.length) { const handler = handlers[hookInfo.currentIndex]; const result = handler.callback.apply(null, args); if (returnFirstArg) { args[0] = result; } hookInfo.currentIndex++; } hooksStore.__current.pop(); if (returnFirstArg) { return args[0]; } }; } /* harmony default export */ var build_module_createRunHook = (createRunHook); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createCurrentHook.js /** * Returns a function which, when invoked, will return the name of the * currently running hook, or `null` if no hook of the given type is currently * running. * * @param {import('.').Hooks} hooks Hooks instance. * @param {import('.').StoreKey} storeKey * * @return {() => string | null} Function that returns the current hook name or null. */ function createCurrentHook(hooks, storeKey) { return function currentHook() { var _hooksStore$__current, _hooksStore$__current2; const hooksStore = hooks[storeKey]; return (_hooksStore$__current = (_hooksStore$__current2 = hooksStore.__current[hooksStore.__current.length - 1]) === null || _hooksStore$__current2 === void 0 ? void 0 : _hooksStore$__current2.name) !== null && _hooksStore$__current !== void 0 ? _hooksStore$__current : null; }; } /* harmony default export */ var build_module_createCurrentHook = (createCurrentHook); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createDoingHook.js /** * @callback DoingHook * Returns whether a hook is currently being executed. * * @param {string} [hookName] The name of the hook to check for. If * omitted, will check for any hook being executed. * * @return {boolean} Whether the hook is being executed. */ /** * Returns a function which, when invoked, will return whether a hook is * currently being executed. * * @param {import('.').Hooks} hooks Hooks instance. * @param {import('.').StoreKey} storeKey * * @return {DoingHook} Function that returns whether a hook is currently * being executed. */ function createDoingHook(hooks, storeKey) { return function doingHook(hookName) { const hooksStore = hooks[storeKey]; // If the hookName was not passed, check for any current hook. if ('undefined' === typeof hookName) { return 'undefined' !== typeof hooksStore.__current[0]; } // Return the __current hook. return hooksStore.__current[0] ? hookName === hooksStore.__current[0].name : false; }; } /* harmony default export */ var build_module_createDoingHook = (createDoingHook); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createDidHook.js /** * Internal dependencies */ /** * @callback DidHook * * Returns the number of times an action has been fired. * * @param {string} hookName The hook name to check. * * @return {number | undefined} The number of times the hook has run. */ /** * Returns a function which, when invoked, will return the number of times a * hook has been called. * * @param {import('.').Hooks} hooks Hooks instance. * @param {import('.').StoreKey} storeKey * * @return {DidHook} Function that returns a hook's call count. */ function createDidHook(hooks, storeKey) { return function didHook(hookName) { const hooksStore = hooks[storeKey]; if (!build_module_validateHookName(hookName)) { return; } return hooksStore[hookName] && hooksStore[hookName].runs ? hooksStore[hookName].runs : 0; }; } /* harmony default export */ var build_module_createDidHook = (createDidHook); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/createHooks.js /** * Internal dependencies */ /** * Internal class for constructing hooks. Use `createHooks()` function * * Note, it is necessary to expose this class to make its type public. * * @private */ class _Hooks { constructor() { /** @type {import('.').Store} actions */ this.actions = Object.create(null); this.actions.__current = []; /** @type {import('.').Store} filters */ this.filters = Object.create(null); this.filters.__current = []; this.addAction = build_module_createAddHook(this, 'actions'); this.addFilter = build_module_createAddHook(this, 'filters'); this.removeAction = build_module_createRemoveHook(this, 'actions'); this.removeFilter = build_module_createRemoveHook(this, 'filters'); this.hasAction = build_module_createHasHook(this, 'actions'); this.hasFilter = build_module_createHasHook(this, 'filters'); this.removeAllActions = build_module_createRemoveHook(this, 'actions', true); this.removeAllFilters = build_module_createRemoveHook(this, 'filters', true); this.doAction = build_module_createRunHook(this, 'actions'); this.applyFilters = build_module_createRunHook(this, 'filters', true); this.currentAction = build_module_createCurrentHook(this, 'actions'); this.currentFilter = build_module_createCurrentHook(this, 'filters'); this.doingAction = build_module_createDoingHook(this, 'actions'); this.doingFilter = build_module_createDoingHook(this, 'filters'); this.didAction = build_module_createDidHook(this, 'actions'); this.didFilter = build_module_createDidHook(this, 'filters'); } } /** @typedef {_Hooks} Hooks */ /** * Returns an instance of the hooks object. * * @return {Hooks} A Hooks instance. */ function createHooks() { return new _Hooks(); } /* harmony default export */ var build_module_createHooks = (createHooks); ;// CONCATENATED MODULE: ./node_modules/@wordpress/hooks/build-module/index.js /** * Internal dependencies */ /** @typedef {(...args: any[])=>any} Callback */ /** * @typedef Handler * @property {Callback} callback The callback * @property {string} namespace The namespace * @property {number} priority The namespace */ /** * @typedef Hook * @property {Handler[]} handlers Array of handlers * @property {number} runs Run counter */ /** * @typedef Current * @property {string} name Hook name * @property {number} currentIndex The index */ /** * @typedef {Record<string, Hook> & {__current: Current[]}} Store */ /** * @typedef {'actions' | 'filters'} StoreKey */ /** * @typedef {import('./createHooks').Hooks} Hooks */ const defaultHooks = build_module_createHooks(); const { addAction, addFilter, removeAction, removeFilter, hasAction, hasFilter, removeAllActions, removeAllFilters, doAction, applyFilters, currentAction, currentFilter, doingAction, doingFilter, didAction, didFilter, actions, filters } = defaultHooks; (window.wp = window.wp || {}).hooks = __webpack_exports__; /******/ })() ;
Terminal Command