mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 20:30:43 +01:00
c2d0fb2040
Update packages to include these bug fixes from Gutenberg: - Navigation: Fix click-button size, submenu directions, scrollbars. - Group - Fix overzealous regex when restoring inner containers - Babel Preset: Update Babel packages to 7.16 version - theme.json: adds a setting property that enables some other ones - Polish metabox container. - Fix submenu justification and spacer orientation. - Fix Gutenberg 11.8.2 in WordPress trunk - Strip meta tags from pasted links in Chromium - Hide visilibility and status for navigation posts - Navigation: Refactor and simplify setup state. - Nav block menu switcher - decode HTML entities and utilise accessible markup pattern - Rename fse_navigation_area to wp_navigation_area - theme.json: adds a setting property that enables some other ones - Revert "theme.json: adds a setting property that enables some other ones" - Skip flaky image block test - WordPress/gutenberg@3c935c4 - React to any errors coming up in gutenberg_migrate_menu_to_navigation_post - Return wp error from wp_insert_post - Fix not transforming logical assignments for packages See #54337. Built from https://develop.svn.wordpress.org/trunk@52161 git-svn-id: http://core.svn.wordpress.org/trunk@51753 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2 lines
9.6 KiB
JavaScript
2 lines
9.6 KiB
JavaScript
/*! This file is auto-generated */
|
|
this.wp=this.wp||{},this.wp.reduxRoutine=function(t){var e={};function r(n){if(e[n])return e[n].exports;var u=e[n]={i:n,l:!1,exports:{}};return t[n].call(u.exports,u,u.exports,r),u.l=!0,u.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 u in t)r.d(n,u,function(e){return t[e]}.bind(null,u));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="+ekt")}({"+ekt":function(t,e,r){"use strict";function n(t){return!!t&&"function"==typeof t[Symbol.iterator]&&"function"==typeof t.next}r.r(e),r.d(e,"default",(function(){return s}));var u=r("hnoU"),o=r("YLtl"),c=r("JlUD"),f=r.n(c);function i(t){return Object(o.isPlainObject)(t)&&Object(o.isString)(t.type)}function a(t,e){return i(t)&&t.type===e}function l(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;const r=Object(o.map)(t,(t,e)=>(r,n,u,o,c)=>{if(!a(r,e))return!1;const i=t(r);return f()(i)?i.then(o,c):o(i),!0}),n=(t,r)=>!!i(t)&&(e(t),r(),!0);r.push(n);const c=Object(u.create)(r);return t=>new Promise((r,n)=>c(t,t=>{i(t)&&e(t),r(t)},n))}function s(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e=>{const r=l(t,e.dispatch);return t=>e=>n(e)?r(e):t(e)}}},Hkfj:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=[];return{subscribe:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},dispatch:function(e){t.slice().forEach((function(t){return t(e)}))}}}},JlUD:function(t,e){function r(t){return!!t&&("object"==typeof t||"function"==typeof t)&&"function"==typeof t.then}t.exports=r,t.exports.default=r},PERq:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.cps=e.call=void 0;var n,u=r("qmpp"),o=(n=u)&&n.__esModule?n:{default:n};var c=e.call=function(t,e,r,n,u){if(!o.default.call(t))return!1;try{e(t.func.apply(t.context,t.args))}catch(t){u(t)}return!0},f=e.cps=function(t,e,r,n,u){var c;return!!o.default.cps(t)&&((c=t.func).call.apply(c,[null].concat(function(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}(t.args),[function(t,r){t?u(t):e(r)}])),!0)};e.default=[c,f]},YLtl:function(t,e){t.exports=window.lodash},e6BM:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.createChannel=e.subscribe=e.cps=e.apply=e.call=e.invoke=e.delay=e.race=e.join=e.fork=e.error=e.all=void 0;var n,u=r("tGEh"),o=(n=u)&&n.__esModule?n:{default:n};e.all=function(t){return{type:o.default.all,value:t}},e.error=function(t){return{type:o.default.error,error:t}},e.fork=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.fork,iterator:t,args:r}},e.join=function(t){return{type:o.default.join,task:t}},e.race=function(t){return{type:o.default.race,competitors:t}},e.delay=function(t){return new Promise((function(e){setTimeout((function(){return e(!0)}),t)}))},e.invoke=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.call,func:t,context:null,args:r}},e.call=function(t,e){for(var r=arguments.length,n=Array(r>2?r-2:0),u=2;u<r;u++)n[u-2]=arguments[u];return{type:o.default.call,func:t,context:e,args:n}},e.apply=function(t,e,r){return{type:o.default.call,func:t,context:e,args:r}},e.cps=function(t){for(var e=arguments.length,r=Array(e>1?e-1:0),n=1;n<e;n++)r[n-1]=arguments[n];return{type:o.default.cps,func:t,args:r}},e.subscribe=function(t){return{type:o.default.subscribe,channel:t}},e.createChannel=function(t){var e=[];return t((function(t){return e.forEach((function(e){return e(t)}))})),{subscribe:function(t){return e.push(t),function(){return e.splice(e.indexOf(t),1)}}}}},hecb:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.race=e.join=e.fork=e.promise=void 0;var n=c(r("qmpp")),u=r("e6BM"),o=c(r("Hkfj"));function c(t){return t&&t.__esModule?t:{default:t}}var f=e.promise=function(t,e,r,u,o){return!!n.default.promise(t)&&(t.then(e,o),!0)},i=new Map,a=e.fork=function(t,e,r){if(!n.default.fork(t))return!1;var c=Symbol("fork"),f=(0,o.default)();i.set(c,f),r(t.iterator.apply(null,t.args),(function(t){return f.dispatch(t)}),(function(t){return f.dispatch((0,u.error)(t))}));var a=f.subscribe((function(){a(),i.delete(c)}));return e(c),!0},l=e.join=function(t,e,r,u,o){if(!n.default.join(t))return!1;var c,f=i.get(t.task);return f?c=f.subscribe((function(t){c(),e(t)})):o("join error : task not found"),!0},s=e.race=function(t,e,r,u,o){if(!n.default.race(t))return!1;var c,f=!1,i=function(t,r,n){f||(f=!0,t[r]=n,e(t))},a=function(t){f||o(t)};return n.default.array(t.competitors)?(c=t.competitors.map((function(){return!1})),t.competitors.forEach((function(t,e){r(t,(function(t){return i(c,e,t)}),a)}))):function(){var e=Object.keys(t.competitors).reduce((function(t,e){return t[e]=!1,t}),{});Object.keys(t.competitors).forEach((function(n){r(t.competitors[n],(function(t){return i(e,n,t)}),a)}))}(),!0};e.default=[f,a,l,s,function(t,e){if(!n.default.subscribe(t))return!1;if(!n.default.channel(t.channel))throw new Error('the first argument of "subscribe" must be a valid channel');var r=t.channel.subscribe((function(t){r&&r(),e(t)}));return!0}]},hnoU:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.wrapControls=e.asyncControls=e.create=void 0;var n=r("e6BM");Object.keys(n).forEach((function(t){"default"!==t&&Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})}));var u=f(r("vsQm")),o=f(r("hecb")),c=f(r("PERq"));function f(t){return t&&t.__esModule?t:{default:t}}e.create=u.default,e.asyncControls=o.default,e.wrapControls=c.default},k4FQ:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.iterator=e.array=e.object=e.error=e.any=void 0;var n,u=r("qmpp"),o=(n=u)&&n.__esModule?n:{default:n};var c=e.any=function(t,e,r,n){return n(t),!0},f=e.error=function(t,e,r,n,u){return!!o.default.error(t)&&(u(t.error),!0)},i=e.object=function(t,e,r,n,u){if(!o.default.all(t)||!o.default.obj(t.value))return!1;var c={},f=Object.keys(t.value),i=0,a=!1;return f.map((function(e){r(t.value[e],(function(t){return function(t,e){a||(c[t]=e,++i===f.length&&n(c))}(e,t)}),(function(t){return function(t,e){a||(a=!0,u(e))}(0,t)}))})),!0},a=e.array=function(t,e,r,n,u){if(!o.default.all(t)||!o.default.array(t.value))return!1;var c=[],f=0,i=!1;return t.value.map((function(e,o){r(e,(function(e){return function(e,r){i||(c[e]=r,++f===t.value.length&&n(c))}(o,e)}),(function(t){return function(t,e){i||(i=!0,u(e))}(0,t)}))})),!0},l=e.iterator=function(t,e,r,n,u){return!!o.default.iterator(t)&&(r(t,e,u),!0)};e.default=[f,l,a,i,c]},qmpp:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n,u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},o=r("tGEh"),c=(n=o)&&n.__esModule?n:{default:n};var f={obj:function(t){return"object"===(void 0===t?"undefined":u(t))&&!!t},all:function(t){return f.obj(t)&&t.type===c.default.all},error:function(t){return f.obj(t)&&t.type===c.default.error},array:Array.isArray,func:function(t){return"function"==typeof t},promise:function(t){return t&&f.func(t.then)},iterator:function(t){return t&&f.func(t.next)&&f.func(t.throw)},fork:function(t){return f.obj(t)&&t.type===c.default.fork},join:function(t){return f.obj(t)&&t.type===c.default.join},race:function(t){return f.obj(t)&&t.type===c.default.race},call:function(t){return f.obj(t)&&t.type===c.default.call},cps:function(t){return f.obj(t)&&t.type===c.default.cps},subscribe:function(t){return f.obj(t)&&t.type===c.default.subscribe},channel:function(t){return f.obj(t)&&f.func(t.subscribe)}};e.default=f},tGEh:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n={all:Symbol("all"),error:Symbol("error"),fork:Symbol("fork"),join:Symbol("join"),race:Symbol("race"),call:Symbol("call"),cps:Symbol("cps"),subscribe:Symbol("subscribe")};e.default=n},vsQm:function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=o(r("k4FQ")),u=o(r("qmpp"));function o(t){return t&&t.__esModule?t:{default:t}}function c(t){if(Array.isArray(t)){for(var e=0,r=Array(t.length);e<t.length;e++)r[e]=t[e];return r}return Array.from(t)}e.default=function(){var t=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],e=[].concat(c(t),c(n.default)),r=function t(r){var n=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],o=arguments.length<=2||void 0===arguments[2]?function(){}:arguments[2],c=function(r){var u=function(t){return function(e){try{var u=t?r.throw(e):r.next(e),f=u.value;if(u.done)return n(f);c(f)}catch(t){return o(t)}}},c=function r(n){e.some((function(e){return e(n,r,t,u(!1),u(!0))}))};u(!1)()},f=u.default.iterator(r)?r:regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,r;case 2:return t.abrupt("return",t.sent);case 3:case"end":return t.stop()}}),t,this)}))();c(f,n,o)};return r}}}).default; |