this.nisje=this.nisje||{},this.nisje.viewport=function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=604)}({18:function(t,e){!function(){t.exports=this.wp.data}()},2:function(t,e){!function(){t.exports=this.lodash}()},33:function(t,e){!function(){t.exports=this.wp.compose}()},604:function(t,e,n){"use strict";n.r(e),n.d(e,"ifViewportMatches",(function(){return p})),n.d(e,"withViewportMatch",(function(){return d}));var r={};n.r(r),n.d(r,"setIsMatching",(function(){return a}));var i={};n.r(i),n.d(i,"isViewportMatch",(function(){return s}));var o=n(2),c=n(18);var u=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;default:return t}};function a(t){return{type:"SET_IS_MATCHING",values:t}}function s(t,e){return e.includes(" ")||(e=">= ".concat(e)),!!t[e]}Object(c.registerStore)("nisje/viewport",{reducer:u,actions:r,selectors:i});var f=n(33),d=function(t){return Object(f.createHigherOrderComponent)(Object(c.withSelect)((function(e){return Object(o.mapValues)(t,(function(t){return e("nisje/viewport").isViewportMatch(t)}))})),"withViewportMatch")},p=function(t){return Object(f.createHigherOrderComponent)(Object(f.compose)([d({isViewportMatch:t}),Object(f.ifCondition)((function(t){return t.isViewportMatch}))]),"ifViewportMatches")},l={"<":"max-width",">=":"min-width"},h=Object(o.debounce)((function(){var t=Object(o.mapValues)(b,"matches");Object(c.dispatch)("nisje/viewport").setIsMatching(t)}),0,{leading:!0}),b=Object(o.reduce)({huge:1440,wide:1200,large:960,medium:782,small:600,mobile:480},(function(t,e,n){return Object(o.forEach)(l,(function(r,i){var o=window.matchMedia("(".concat(r,": ").concat(e,"px)"));o.addListener(h);var c=[i,n].join(" ");t[c]=o})),t}),{});window.addEventListener("orientationchange",h),h(),h.flush()}});