56 __webpack_require__.r(selectors_namespaceObject); |
56 __webpack_require__.r(selectors_namespaceObject); |
57 __webpack_require__.d(selectors_namespaceObject, { |
57 __webpack_require__.d(selectors_namespaceObject, { |
58 isViewportMatch: () => (isViewportMatch) |
58 isViewportMatch: () => (isViewportMatch) |
59 }); |
59 }); |
60 |
60 |
61 ;// CONCATENATED MODULE: external ["wp","compose"] |
61 ;// external ["wp","compose"] |
62 const external_wp_compose_namespaceObject = window["wp"]["compose"]; |
62 const external_wp_compose_namespaceObject = window["wp"]["compose"]; |
63 ;// CONCATENATED MODULE: external ["wp","data"] |
63 ;// external ["wp","data"] |
64 const external_wp_data_namespaceObject = window["wp"]["data"]; |
64 const external_wp_data_namespaceObject = window["wp"]["data"]; |
65 ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/reducer.js |
65 ;// ./node_modules/@wordpress/viewport/build-module/store/reducer.js |
66 /** |
66 /** |
67 * Reducer returning the viewport state, as keys of breakpoint queries with |
67 * Reducer returning the viewport state, as keys of breakpoint queries with |
68 * boolean value representing whether query is matched. |
68 * boolean value representing whether query is matched. |
69 * |
69 * |
70 * @param {Object} state Current state. |
70 * @param {Object} state Current state. |
79 } |
79 } |
80 return state; |
80 return state; |
81 } |
81 } |
82 /* harmony default export */ const store_reducer = (reducer); |
82 /* harmony default export */ const store_reducer = (reducer); |
83 |
83 |
84 ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/actions.js |
84 ;// ./node_modules/@wordpress/viewport/build-module/store/actions.js |
85 /** |
85 /** |
86 * Returns an action object used in signalling that viewport queries have been |
86 * Returns an action object used in signalling that viewport queries have been |
87 * updated. Values are specified as an object of breakpoint query keys where |
87 * updated. Values are specified as an object of breakpoint query keys where |
88 * value represents whether query matches. |
88 * value represents whether query matches. |
89 * Ignored from documentation as it is for internal use only. |
89 * Ignored from documentation as it is for internal use only. |
99 type: 'SET_IS_MATCHING', |
99 type: 'SET_IS_MATCHING', |
100 values |
100 values |
101 }; |
101 }; |
102 } |
102 } |
103 |
103 |
104 ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/store/selectors.js |
104 ;// ./node_modules/@wordpress/viewport/build-module/store/selectors.js |
105 /** |
105 /** |
106 * Returns true if the viewport matches the given query, or false otherwise. |
106 * Returns true if the viewport matches the given query, or false otherwise. |
107 * |
107 * |
108 * @param {Object} state Viewport state object. |
108 * @param {Object} state Viewport state object. |
109 * @param {string} query Query string. Includes operator and breakpoint name, |
109 * @param {string} query Query string. Includes operator and breakpoint name, |
165 actions: actions_namespaceObject, |
165 actions: actions_namespaceObject, |
166 selectors: selectors_namespaceObject |
166 selectors: selectors_namespaceObject |
167 }); |
167 }); |
168 (0,external_wp_data_namespaceObject.register)(store); |
168 (0,external_wp_data_namespaceObject.register)(store); |
169 |
169 |
170 ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/listener.js |
170 ;// ./node_modules/@wordpress/viewport/build-module/listener.js |
171 /** |
171 /** |
172 * WordPress dependencies |
172 * WordPress dependencies |
173 */ |
173 */ |
174 |
174 |
175 |
175 |
213 setIsMatching(); |
213 setIsMatching(); |
214 setIsMatching.flush(); |
214 setIsMatching.flush(); |
215 }; |
215 }; |
216 /* harmony default export */ const listener = (addDimensionsEventListener); |
216 /* harmony default export */ const listener = (addDimensionsEventListener); |
217 |
217 |
218 ;// CONCATENATED MODULE: external "ReactJSXRuntime" |
218 ;// external "ReactJSXRuntime" |
219 const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"]; |
219 const external_ReactJSXRuntime_namespaceObject = window["ReactJSXRuntime"]; |
220 ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/with-viewport-match.js |
220 ;// ./node_modules/@wordpress/viewport/build-module/with-viewport-match.js |
221 /** |
221 /** |
222 * WordPress dependencies |
222 * WordPress dependencies |
223 */ |
223 */ |
224 |
224 |
225 |
225 |
307 const ifViewportMatches = query => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)((0,external_wp_compose_namespaceObject.compose)([with_viewport_match({ |
307 const ifViewportMatches = query => (0,external_wp_compose_namespaceObject.createHigherOrderComponent)((0,external_wp_compose_namespaceObject.compose)([with_viewport_match({ |
308 isViewportMatch: query |
308 isViewportMatch: query |
309 }), (0,external_wp_compose_namespaceObject.ifCondition)(props => props.isViewportMatch)]), 'ifViewportMatches'); |
309 }), (0,external_wp_compose_namespaceObject.ifCondition)(props => props.isViewportMatch)]), 'ifViewportMatches'); |
310 /* harmony default export */ const if_viewport_matches = (ifViewportMatches); |
310 /* harmony default export */ const if_viewport_matches = (ifViewportMatches); |
311 |
311 |
312 ;// CONCATENATED MODULE: ./node_modules/@wordpress/viewport/build-module/index.js |
312 ;// ./node_modules/@wordpress/viewport/build-module/index.js |
313 /** |
313 /** |
314 * Internal dependencies |
314 * Internal dependencies |
315 */ |
315 */ |
316 |
316 |
317 |
317 |