%PDF- %PDF-
Direktori : /home/dopla/www/wp-includes/js/dist/ |
Current File : /home/dopla/www/wp-includes/js/dist/notices.min.js |
this.wp=this.wp||{},this.wp.notices=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="Msv9")}({"/Af7":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNotice=u,t.createSuccessNotice=function(e,t){return u("success",e,t)},t.createInfoNotice=function(e,t){return u("info",e,t)},t.createErrorNotice=function(e,t){return u("error",e,t)},t.createWarningNotice=function(e,t){return u("warning",e,t)},t.removeNotice=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.DEFAULT_CONTEXT;return{type:"REMOVE_NOTICE",id:e,context:t}};var r=n("YLtl"),o=n("8CGg"),i=regeneratorRuntime.mark(u);function u(){var e,t,n,u,c,a,f,s,l,d,p,v,b,y,g=arguments;return regeneratorRuntime.wrap((function(i){for(;;)switch(i.prev=i.next){case 0:if(e=g.length>0&&void 0!==g[0]?g[0]:o.DEFAULT_STATUS,t=g.length>1?g[1]:void 0,n=g.length>2&&void 0!==g[2]?g[2]:{},u=n.speak,c=void 0===u||u,a=n.isDismissible,f=void 0===a||a,s=n.context,l=void 0===s?o.DEFAULT_CONTEXT:s,d=n.id,p=void 0===d?(0,r.uniqueId)(l):d,v=n.actions,b=void 0===v?[]:v,y=n.__unstableHTML,t=String(t),!c){i.next=8;break}return i.next=8,{type:"SPEAK",message:t};case 8:return i.next=10,{type:"CREATE_NOTICE",context:l,notice:{id:p,status:e,content:t,__unstableHTML:y,isDismissible:f,actions:b}};case 10:case"end":return i.stop()}}),i,this)}},"1ZqX":function(e,t){!function(){e.exports=this.wp.data}()},"284h":function(e,t){e.exports=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var r=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,n):{};r.get||r.set?Object.defineProperty(t,n,r):t[n]=e[n]}return t.default=e,t}},"3pnB":function(e,t,n){"use strict";var r=n("284h"),o=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n("1ZqX"),u=o(n("7VZY")),c=r(n("/Af7")),a=r(n("C0DU")),f=o(n("ikX/")),s=(0,i.registerStore)("core/notices",{reducer:u.default,actions:c,selectors:a,controls:f.default});t.default=s},"7VZY":function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=r(n("RIqP")),i=n("YLtl"),u=(0,r(n("pHKE")).default)("context")((function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0;switch(t.type){case"CREATE_NOTICE":return(0,o.default)((0,i.reject)(e,{id:t.notice.id})).concat([t.notice]);case"REMOVE_NOTICE":return(0,i.reject)(e,{id:t.id})}return e}));t.default=u},"8CGg":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_STATUS=t.DEFAULT_CONTEXT=void 0;t.DEFAULT_CONTEXT="global";t.DEFAULT_STATUS="info"},Bnag:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},C0DU:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getNotices=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.DEFAULT_CONTEXT;return e[t]||o};var r=n("8CGg"),o=[]},EbDI:function(e,t){e.exports=function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}},Ijbi:function(e,t){e.exports=function(e){if(Array.isArray(e)){for(var t=0,n=new Array(e.length);t<e.length;t++)n[t]=e[t];return n}}},MVZn:function(e,t,n){var r=n("lSNA");e.exports=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},o=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(o=o.concat(Object.getOwnPropertySymbols(n).filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable})))),o.forEach((function(t){r(e,t,n[t])}))}return e}},Msv9:function(e,t,n){"use strict";n("3pnB")},RIqP:function(e,t,n){var r=n("Ijbi"),o=n("EbDI"),i=n("Bnag");e.exports=function(e){return r(e)||o(e)||i()}},TqRt:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},YLtl:function(e,t){!function(){e.exports=this.lodash}()},gdqT:function(e,t){!function(){e.exports=this.wp.a11y}()},"ikX/":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n("gdqT"),o={SPEAK:function(e){(0,r.speak)(e.message,"assertive")}};t.default=o},lSNA:function(e,t){e.exports=function(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},pHKE:function(e,t,n){"use strict";var r=n("TqRt");Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.onSubKey=void 0;var o=r(n("lSNA")),i=r(n("MVZn")),u=function(e){return function(t){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0,u=r[e];if(void 0===u)return n;var c=t(n[u],r);return c===n[u]?n:(0,i.default)({},n,(0,o.default)({},u,c))}}};t.onSubKey=u;var c=u;t.default=c}});