21 /******/ })(); |
21 /******/ })(); |
22 /******/ |
22 /******/ |
23 /************************************************************************/ |
23 /************************************************************************/ |
24 var __webpack_exports__ = {}; |
24 var __webpack_exports__ = {}; |
25 |
25 |
26 ;// CONCATENATED MODULE: external "@wordpress/interactivity" |
26 ;// external "@wordpress/interactivity" |
27 var x = (y) => { |
27 var x = (y) => { |
28 var x = {}; __webpack_require__.d(x, y); return x |
28 var x = {}; __webpack_require__.d(x, y); return x |
29 } |
29 } |
30 var y = (x) => (() => (x)) |
30 var y = (x) => (() => (x)) |
31 const interactivity_namespaceObject = x({ ["getContext"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getContext), ["getElement"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getElement), ["store"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.store) }); |
31 const interactivity_namespaceObject = x({ ["getContext"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getContext), ["getElement"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.getElement), ["store"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.store), ["withSyncEvent"]: () => (__WEBPACK_EXTERNAL_MODULE__wordpress_interactivity_8e89b257__.withSyncEvent) }); |
32 ;// CONCATENATED MODULE: ./node_modules/@wordpress/block-library/build-module/navigation/view.js |
32 ;// ./node_modules/@wordpress/block-library/build-module/navigation/view.js |
33 /** |
33 /** |
34 * WordPress dependencies |
34 * WordPress dependencies |
35 */ |
35 */ |
36 |
36 |
37 const focusableSelectors = ['a[href]', 'input:not([disabled]):not([type="hidden"]):not([aria-hidden])', 'select:not([disabled]):not([aria-hidden])', 'textarea:not([disabled]):not([aria-hidden])', 'button:not([disabled]):not([aria-hidden])', '[contenteditable]', '[tabindex]:not([tabindex^="-"])']; |
37 const focusableSelectors = ['a[href]', 'input:not([disabled]):not([type="hidden"]):not([aria-hidden])', 'select:not([disabled]):not([aria-hidden])', 'textarea:not([disabled]):not([aria-hidden])', 'button:not([disabled]):not([aria-hidden])', '[contenteditable]', '[tabindex]:not([tabindex^="-"])']; |
122 } else { |
122 } else { |
123 ctx.previousFocus = ref; |
123 ctx.previousFocus = ref; |
124 actions.openMenu('click'); |
124 actions.openMenu('click'); |
125 } |
125 } |
126 }, |
126 }, |
127 handleMenuKeydown(event) { |
127 handleMenuKeydown: (0,interactivity_namespaceObject.withSyncEvent)(event => { |
128 const { |
128 const { |
129 type, |
129 type, |
130 firstFocusableElement, |
130 firstFocusableElement, |
131 lastFocusableElement |
131 lastFocusableElement |
132 } = (0,interactivity_namespaceObject.getContext)(); |
132 } = (0,interactivity_namespaceObject.getContext)(); |