this.wp=this.wp||{},this.wp.viewport=function(t){var e={};function r(n){if(e[n])return e[n].exports;var o=e[n]={i:n,l:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)r.d(n,o,function(e){return t[e]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=424)}({0:function(t,e){!function(){t.exports=this.wp.element}()},2:function(t,e){!function(){t.exports=this.lodash}()},4:function(t,e){!function(){t.exports=this.wp.data}()},424:function(t,e,r){"use strict";r.r(e),r.d(e,"ifViewportMatches",(function(){return y})),r.d(e,"withViewportMatch",(function(){return v}));var n={};r.r(n),r.d(n,"setIsMatching",(function(){return u}));var o={};r.r(o),r.d(o,"isViewportMatch",(function(){return a}));var i=r(4);var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"SET_IS_MATCHING":return e.values}return t};function u(t){return{type:"SET_IS_MATCHING",values:t}}function a(t,e){return-1===e.indexOf(" ")&&(e=">= "+e),!!t[e]}Object(i.registerStore)("core/viewport",{reducer:c,actions:n,selectors:o});var f=r(2),s=function(t,e){var r=Object(f.debounce)((function(){var t=Object(f.mapValues)(n,(function(t){return t.matches}));Object(i.dispatch)("core/viewport").setIsMatching(t)}),{leading:!0}),n=Object(f.reduce)(t,(function(t,n,o){return Object(f.forEach)(e,(function(e,i){var c=window.matchMedia("(".concat(e,": ").concat(n,"px)"));c.addListener(r);var u=[i,o].join(" ");t[u]=c})),t}),{});window.addEventListener("orientationchange",r),r(),r.flush()},l=r(9);function p(){return(p=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function d(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function h(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,o=!1,i=void 0;try{for(var c,u=t[Symbol.iterator]();!(n=(c=u.next()).done)&&(r.push(c.value),!e||r.length!==e);n=!0);}catch(t){o=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(o)throw i}}return r}}(t,e)||function(t,e){if(t){if("string"==typeof t)return d(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var b=r(0),v=function(t){return Object(l.createHigherOrderComponent)((function(e){return Object(l.pure)((function(r){var n=Object(f.mapValues)(t,(function(t){var e=h(t.split(" "),2),r=e[0],n=e[1];return void 0===n&&(n=r,r=">="),Object(l.useViewportMatch)(n,r)}));return Object(b.createElement)(e,p({},r,n))}))}),"withViewportMatch")},y=function(t){return Object(l.createHigherOrderComponent)(Object(l.compose)([v({isViewportMatch:t}),Object(l.ifCondition)((function(t){return t.isViewportMatch}))]),"ifViewportMatches")};s({huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},{"<":"max-width",">=":"min-width"})},9:function(t,e){!function(){t.exports=this.wp.compose}()}});