wp-go/static/wp-includes/js/dist/redux-routine.min.js

2 lines
8.7 KiB
JavaScript
Raw Permalink Normal View History

2022-09-13 03:23:28 +00:00
/*! This file is auto-generated */
!function(){"use strict";var r={9025:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.race=t.join=t.fork=t.promise=void 0;var e=c(n(9681)),u=n(7783),o=c(n(2451));function c(r){return r&&r.__esModule?r:{default:r}}var f=t.promise=function(r,t,n,u,o){return!!e.default.promise(r)&&(r.then(t,o),!0)},a=new Map,i=t.fork=function(r,t,n){if(!e.default.fork(r))return!1;var c=Symbol("fork"),f=(0,o.default)();a.set(c,f),n(r.iterator.apply(null,r.args),(function(r){return f.dispatch(r)}),(function(r){return f.dispatch((0,u.error)(r))}));var i=f.subscribe((function(){i(),a.delete(c)}));return t(c),!0},l=t.join=function(r,t,n,u,o){if(!e.default.join(r))return!1;var c,f=a.get(r.task);return f?c=f.subscribe((function(r){c(),t(r)})):o("join error : task not found"),!0},s=t.race=function(r,t,n,u,o){if(!e.default.race(r))return!1;var c,f=!1,a=function(r,n,e){f||(f=!0,r[n]=e,t(r))},i=function(r){f||o(r)};return e.default.array(r.competitors)?(c=r.competitors.map((function(){return!1})),r.competitors.forEach((function(r,t){n(r,(function(r){return a(c,t,r)}),i)}))):function(){var t=Object.keys(r.competitors).reduce((function(r,t){return r[t]=!1,r}),{});Object.keys(r.competitors).forEach((function(e){n(r.competitors[e],(function(r){return a(t,e,r)}),i)}))}(),!0};t.default=[f,i,l,s,function(r,t){if(!e.default.subscribe(r))return!1;if(!e.default.channel(r.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var n=r.channel.subscribe((function(r){n&&n(),t(r)}));return!0}]},7961:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.iterator=t.array=t.object=t.error=t.any=void 0;var e,u=n(9681),o=(e=u)&&e.__esModule?e:{default:e};var c=t.any=function(r,t,n,e){return e(r),!0},f=t.error=function(r,t,n,e,u){return!!o.default.error(r)&&(u(r.error),!0)},a=t.object=function(r,t,n,e,u){if(!o.default.all(r)||!o.default.obj(r.value))return!1;var c={},f=Object.keys(r.value),a=0,i=!1;return f.map((function(t){n(r.value[t],(function(r){return function(r,t){i||(c[r]=t,++a===f.length&&e(c))}(t,r)}),(function(r){return function(r,t){i||(i=!0,u(t))}(0,r)}))})),!0},i=t.array=function(r,t,n,e,u){if(!o.default.all(r)||!o.default.array(r.value))return!1;var c=[],f=0,a=!1;return r.value.map((function(t,o){n(t,(function(t){return function(t,n){a||(c[t]=n,++f===r.value.length&&e(c))}(o,t)}),(function(r){return function(r,t){a||(a=!0,u(t))}(0,r)}))})),!0},l=t.iterator=function(r,t,n,e,u){return!!o.default.iterator(r)&&(n(r,t,u),!0)};t.default=[f,l,i,a,c]},2165:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.cps=t.call=void 0;var e,u=n(9681),o=(e=u)&&e.__esModule?e:{default:e};var c=t.call=function(r,t,n,e,u){if(!o.default.call(r))return!1;try{t(r.func.apply(r.context,r.args))}catch(r){u(r)}return!0},f=t.cps=function(r,t,n,e,u){var c;return!!o.default.cps(r)&&((c=r.func).call.apply(c,[null].concat(function(r){if(Array.isArray(r)){for(var t=0,n=Array(r.length);t<r.length;t++)n[t]=r[t];return n}return Array.from(r)}(r.args),[function(r,n){r?u(r):t(n)}])),!0)};t.default=[c,f]},6288:function(r,t,n){Object.defineProperty(t,"__esModule",{value:!0});var e=o(n(7961)),u=o(n(9681));function o(r){return r&&r.__esModule?r:{default:r}}function c(r){if(Array.isArray(r)){for(var t=0,n=Array(r.length);t<r.length;t++)n[t]=r[t];return n}return Array.from(r)}t.default=function(){var r=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=[].concat(c(r),c(e.default)),n=function r(n){var e=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],o=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],c=function(n){var u=function(r){return function(t){try{var u=r?n.throw(t):n.next(t),f=u.value;if(u.done)return e(f);c(f)}catch(r){return o(r)}}},c=function n(e){t.some((function(t){return t(e,n,r,u(!1),u(!0))}))};u(!1)()},f=u.default.iterator(n)?n:regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){for(;;)switch(r.prev=r.next){case 0:return r.next=2,n;case 2:return r.abrupt("return",r.sent);case 3:case"end":return r.stop()}}),r,this)}))();c(f,e,o)};ret