this.nisje=this.nisje||{},this.nisje.notices=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.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 o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));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=521)}({20:function(t,e){!function(){t.exports=this.wp.data}()},22:function(t,e,n){"use strict";function r(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(e,"a",(function(){return r}))},295:function(t,e){!function(){t.exports=this.wp.a11y}()},3:function(t,e){!function(){t.exports=this.lodash}()},30:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var r=n(49);function o(t,e){if(null==t)return{};var n,o,i=Object(r.a)(t,e);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);for(o=0;o<c.length;o++)n=c[o],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}},33:function(t,e){!function(){t.exports=this.regeneratorRuntime}()},49:function(t,e,n){"use strict";function r(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o}n.d(e,"a",(function(){return r}))},5:function(t,e,n){"use strict";function r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,"a",(function(){return r}))},521:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,"createNotice",(function(){return j})),n.d(r,"createInfoNotice",(function(){return v})),n.d(r,"createErrorNotice",(function(){return g})),n.d(r,"removeNotice",(function(){return h}));var o={};n.r(o),n.d(o,"getNotices",(function(){return x}));var i=n(20),c=n(22),u=n(3),s=n(56),a=Object(s.onSubKey)("context")((function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],e=arguments.length>1?arguments[1]:void 0;switch(e.type){case"CREATE_NOTICE":return[].concat(Object(c.a)(Object(u.reject)(t,{id:e.notice.id})),[e.notice]);case"REMOVE_NOTICE":return Object(u.reject)(t,{id:e.id});default:return t}})),f=n(33),l=n.n(f),b=n(5),d=n(30),p=l.a.mark(j);function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function y(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){Object(b.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function j(){var t,e,n,r,o,i,c,s,a,f,b,O,j,v,g,h=arguments;return l.a.wrap((function(l){for(;;)switch(l.prev=l.next){case 0:if(t=h.length>0&&void 0!==h[0]?h[0]:"info",e=h.length>1?h[1]:void 0,n=h.length>2&&void 0!==h[2]?h[2]:{},r=n.autoDismiss,o=void 0===r?5e3:r,i=n.context,c=void 0===i?"global":i,s=n.id,a=void 0===s?Object(u.uniqueId)(c):s,f=n.isDismissible,b=void 0===f||f,O=n.speak,j=void 0===O||O,v=Object(d.a)(n,["autoDismiss","context","id","isDismissible","speak"]),e=String(e),!j){l.next=8;break}return l.next=8,{type:"SPEAK",message:e};case 8:return g=y({autoDismiss:o,content:e,id:a,isDismissible:b,status:t},v),l.next=11,{type:"CREATE_NOTICE",context:c,notice:g};case 11:case"end":return l.stop()}}),p)}function v(t,e){return j("info-dark",t,e)}function g(t,e){return j("error",t,e)}function h(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return{type:"REMOVE_NOTICE",id:t,context:e}}var m=[];function x(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"global";return t[e]||m}var E=n(295),w={SPEAK:function(t){Object(E.speak)(t.message,"assertive")}};Object(i.registerStore)("nisje/notices",{reducer:a,actions:r,selectors:o,controls:w})},56:function(t,e){!function(){t.exports=this.nisje.data}()}});