PATH:
home
/
thebhoeo
/
public_html
/
wp-includes
/
js
/
dist
var wp; (wp ||= {}).viewport = (() => { var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __commonJS = (cb, mod) => function __require() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // package-external:@wordpress/compose var require_compose = __commonJS({ "package-external:@wordpress/compose"(exports, module) { module.exports = window.wp.compose; } }); // package-external:@wordpress/data var require_data = __commonJS({ "package-external:@wordpress/data"(exports, module) { module.exports = window.wp.data; } }); // vendor-external:react/jsx-runtime var require_jsx_runtime = __commonJS({ "vendor-external:react/jsx-runtime"(exports, module) { module.exports = window.ReactJSXRuntime; } }); // packages/viewport/build-module/index.mjs var index_exports = {}; __export(index_exports, { ifViewportMatches: () => if_viewport_matches_default, store: () => store, withViewportMatch: () => with_viewport_match_default }); // packages/viewport/build-module/listener.mjs var import_compose = __toESM(require_compose(), 1); var import_data2 = __toESM(require_data(), 1); // packages/viewport/build-module/store/index.mjs var import_data = __toESM(require_data(), 1); // packages/viewport/build-module/store/reducer.mjs function reducer(state = {}, action) { switch (action.type) { case "SET_IS_MATCHING": return action.values; } return state; } var reducer_default = reducer; // packages/viewport/build-module/store/actions.mjs var actions_exports = {}; __export(actions_exports, { setIsMatching: () => setIsMatching }); function setIsMatching(values) { return { type: "SET_IS_MATCHING", values }; } // packages/viewport/build-module/store/selectors.mjs var selectors_exports = {}; __export(selectors_exports, { isViewportMatch: () => isViewportMatch }); function isViewportMatch(state, query) { if (query.indexOf(" ") === -1) { query = ">= " + query; } return !!state[query]; } // packages/viewport/build-module/store/index.mjs var STORE_NAME = "core/viewport"; var store = (0, import_data.createReduxStore)(STORE_NAME, { reducer: reducer_default, actions: actions_exports, selectors: selectors_exports }); (0, import_data.register)(store); // packages/viewport/build-module/listener.mjs var addDimensionsEventListener = (breakpoints, operators) => { const setIsMatching2 = (0, import_compose.debounce)( () => { const values = Object.fromEntries( queries.map(([key, query]) => [key, query.matches]) ); (0, import_data2.dispatch)(store).setIsMatching(values); }, 0, { leading: true } ); const operatorEntries = Object.entries(operators); const queries = Object.entries(breakpoints).flatMap( ([name, width]) => { return operatorEntries.map(([operator, condition]) => { const list = window.matchMedia( `(${condition}: ${width}px)` ); list.addEventListener("change", setIsMatching2); return [`${operator} ${name}`, list]; }); } ); window.addEventListener("orientationchange", setIsMatching2); setIsMatching2(); setIsMatching2.flush(); }; var listener_default = addDimensionsEventListener; // packages/viewport/build-module/if-viewport-matches.mjs var import_compose3 = __toESM(require_compose(), 1); // packages/viewport/build-module/with-viewport-match.mjs var import_compose2 = __toESM(require_compose(), 1); var import_jsx_runtime = __toESM(require_jsx_runtime(), 1); var withViewportMatch = (queries) => { const queryEntries = Object.entries(queries); const useViewPortQueriesResult = () => Object.fromEntries( queryEntries.map(([key, query]) => { let [operator, breakpointName] = query.split(" "); if (breakpointName === void 0) { breakpointName = operator; operator = ">="; } return [key, (0, import_compose2.useViewportMatch)(breakpointName, operator)]; }) ); return (0, import_compose2.createHigherOrderComponent)((WrappedComponent) => { return (0, import_compose2.pure)((props) => { const queriesResult = useViewPortQueriesResult(); return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(WrappedComponent, { ...props, ...queriesResult }); }); }, "withViewportMatch"); }; var with_viewport_match_default = withViewportMatch; // packages/viewport/build-module/if-viewport-matches.mjs var ifViewportMatches = (query) => (0, import_compose3.createHigherOrderComponent)( (0, import_compose3.compose)([ with_viewport_match_default({ isViewportMatch: query }), (0, import_compose3.ifCondition)((props) => props.isViewportMatch) ]), "ifViewportMatches" ); var if_viewport_matches_default = ifViewportMatches; // packages/viewport/build-module/index.mjs var BREAKPOINTS = { huge: 1440, wide: 1280, large: 960, medium: 782, small: 600, mobile: 480 }; var OPERATORS = { "<": "max-width", ">=": "min-width" }; listener_default(BREAKPOINTS, OPERATORS); return __toCommonJS(index_exports); })();
[-] api-fetch.js
[edit]
[-] edit-post.min.js
[edit]
[-] list-reusable-blocks.min.js
[edit]
[-] block-editor.js
[edit]
[-] edit-site.js
[edit]
[-] rich-text.min.js
[edit]
[-] widgets.js
[edit]
[-] escape-html.min.js
[edit]
[-] commands.min.js
[edit]
[-] token-list.min.js
[edit]
[-] preferences-persistence.js
[edit]
[-] nux.min.js
[edit]
[-] preferences-persistence.min.js
[edit]
[-] block-serialization-spec-parser.min.js
[edit]
[-] block-serialization-spec-parser.js
[edit]
[-] i18n.min.js
[edit]
[-] private-apis.js
[edit]
[-] html-entities.min.js
[edit]
[-] components.min.js
[edit]
[-] base-styles.min.js
[edit]
[-] undo-manager.js
[edit]
[-] core-commands.js
[edit]
[-] style-engine.min.js
[edit]
[-] plugins.js
[edit]
[-] url.min.js
[edit]
[-] upload-media.js
[edit]
[-] autop.min.js
[edit]
[-] notices.js
[edit]
[-] keycodes.min.js
[edit]
[-] plugins.min.js
[edit]
[-] react-i18n.js
[edit]
[-] is-shallow-equal.js
[edit]
[-] primitives.js
[edit]
[-] annotations.min.js
[edit]
[-] editor.js
[edit]
[-] hooks.js
[edit]
[-] edit-widgets.js
[edit]
[-] blob.min.js
[edit]
[-] list-reusable-blocks.js
[edit]
[-] date.min.js
[edit]
[-] style-engine.js
[edit]
[-] annotations.js
[edit]
[-] media-utils.js
[edit]
[-] format-library.min.js
[edit]
[-] blocks.js
[edit]
[-] priority-queue.js
[edit]
[-] element.js
[edit]
[-] edit-site.min.js
[edit]
[-] router.js
[edit]
[-] keyboard-shortcuts.min.js
[edit]
[-] api-fetch.min.js
[edit]
[-] url.js
[edit]
[-] sync.min.js
[edit]
[-] wordcount.js
[edit]
[-] viewport.js
[edit]
[-] viewport.min.js
[edit]
[-] nux.js
[edit]
[-] preferences.js
[edit]
[-] deprecated.js
[edit]
[-] redux-routine.js
[edit]
[-] date.js
[edit]
[-] a11y.min.js
[edit]
[-] hooks.min.js
[edit]
[-] keyboard-shortcuts.js
[edit]
[-] wordcount.min.js
[edit]
[-] react-i18n.min.js
[edit]
[-] editor.min.js
[edit]
[-] core-commands.min.js
[edit]
[-] widgets.min.js
[edit]
[-] theme.min.js
[edit]
[-] escape-html.js
[edit]
[-] warning.min.js
[edit]
[-] dom-ready.min.js
[edit]
[-] edit-widgets.min.js
[edit]
[-] block-directory.min.js
[edit]
[-] data-controls.js
[edit]
[-] shortcode.min.js
[edit]
[-] compose.min.js
[edit]
[-] block-serialization-default-parser.min.js
[edit]
[-] sync.js
[edit]
[-] router.min.js
[edit]
[+]
development
[-] data.min.js
[edit]
[-] block-library.min.js
[edit]
[-] edit-post.js
[edit]
[-] rich-text.js
[edit]
[-] redux-routine.min.js
[edit]
[-] customize-widgets.js
[edit]
[-] blob.js
[edit]
[-] i18n.js
[edit]
[-] data.js
[edit]
[+]
..
[-] html-entities.js
[edit]
[-] reusable-blocks.min.js
[edit]
[-] customize-widgets.min.js
[edit]
[-] theme.js
[edit]
[-] commands.js
[edit]
[-] preferences.min.js
[edit]
[-] token-list.js
[edit]
[-] components.js
[edit]
[-] reusable-blocks.js
[edit]
[-] upload-media.min.js
[edit]
[-] core-data.min.js
[edit]
[-] priority-queue.min.js
[edit]
[-] private-apis.min.js
[edit]
[-] block-serialization-default-parser.js
[edit]
[-] block-directory.js
[edit]
[-] server-side-render.min.js
[edit]
[-] dom-ready.js
[edit]
[-] autop.js
[edit]
[-] block-editor.min.js
[edit]
[+]
script-modules
[-] notices.min.js
[edit]
[-] patterns.min.js
[edit]
[-] block-library.js
[edit]
[-] dom.js
[edit]
[-] is-shallow-equal.min.js
[edit]
[-] patterns.js
[edit]
[-] element.min.js
[edit]
[-] data-controls.min.js
[edit]
[-] a11y.js
[edit]
[-] primitives.min.js
[edit]
[-] shortcode.js
[edit]
[-] core-data.js
[edit]
[-] media-utils.min.js
[edit]
[-] keycodes.js
[edit]
[-] warning.js
[edit]
[-] format-library.js
[edit]
[+]
vendor
[-] deprecated.min.js
[edit]
[-] blocks.min.js
[edit]
[-] compose.js
[edit]
[-] base-styles.js
[edit]
[-] dom.min.js
[edit]
[-] server-side-render.js
[edit]
[-] undo-manager.min.js
[edit]