WordPress/wp-includes/js/dist/core-data.min.js

1 line
38 KiB
JavaScript
Raw Normal View History

Block Editor: Update WordPress packages to include the latest bug fixes. Updated packages: @wordpress/annotations@1.7.1 @wordpress/api-fetch@3.6.1 @wordpress/babel-plugin-makepot@3.2.1 @wordpress/babel-preset-default@4.6.1 @wordpress/block-directory@1.0.1 @wordpress/block-editor@3.2.1 @wordpress/block-library@2.9.1 @wordpress/blocks@6.7.1 @wordpress/components@8.3.1 @wordpress/compose@3.7.1 @wordpress/core-data@2.7.1 @wordpress/data-controls@1.3.1 @wordpress/data@4.9.1 @wordpress/docgen@1.4.1 @wordpress/dom@2.5.1 @wordpress/e2e-test-utils@2.4.1 @wordpress/e2e-tests@1.7.1 @wordpress/edit-post@3.8.1 @wordpress/editor@9.7.1 @wordpress/element@2.8.1 @wordpress/format-library@1.9.1 @wordpress/i18n@3.6.1 @wordpress/jest-console@3.3.1 @wordpress/jest-preset-default@5.1.1 @wordpress/keycodes@2.6.1 @wordpress/library-export-default-webpack-plugin@1.4.1 @wordpress/list-reusable-blocks@1.8.1 @wordpress/media-utils@1.2.1 @wordpress/notices@1.8.1 @wordpress/nux@3.7.1 @wordpress/plugins@2.7.1 @wordpress/redux-routine@3.6.1 @wordpress/rich-text@3.7.1 @wordpress/scripts@5.0.1 @wordpress/server-side-render@1.3.1 @wordpress/shortcode@2.4.1 @wordpress/token-list@1.6.1 @wordpress/viewport@2.8.1 @wordpress/wordcount@2.6.1 Props epiqueras, youknowriad, donmhico, jorgefilipecosta, soean, mcsf, noisysocks, andraganescu, gziolo, talldanwp, iseulde, nrqsnchz, mapk, karmatosed, joen, afercia, kjellr, desrosj. Fixes #48186. Built from https://develop.svn.wordpress.org/trunk@46364 git-svn-id: http://core.svn.wordpress.org/trunk@46163 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-09-30 22:07:06 +02:00
this.wp=this.wp||{},this.wp.coreData=function(t){var e={};function r(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,r),a.l=!0,a.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 a in t)r.d(n,a,function(e){return t[e]}.bind(null,a));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=387)}({10:function(t,e,r){"use strict";function n(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}r.d(e,"a",function(){return n})},17:function(t,e,r){"use strict";var n=r(30);function a(t){return function(t){if(Array.isArray(t)){for(var e=0,r=new Array(t.length);e<t.length;e++)r[e]=t[e];return r}}(t)||Object(n.a)(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(e,"a",function(){return a})},2:function(t,e){!function(){t.exports=this.lodash}()},20:function(t,e,r){t.exports=r(48)},23:function(t,e,r){"use strict";var n=r(38);var a=r(39);function i(t,e){return Object(n.a)(t)||function(t,e){var r=[],n=!0,a=!1,i=void 0;try{for(var o,u=t[Symbol.iterator]();!(n=(o=u.next()).done)&&(r.push(o.value),!e||r.length!==e);n=!0);}catch(t){a=!0,i=t}finally{try{n||null==u.return||u.return()}finally{if(a)throw i}}return r}(t,e)||Object(a.a)()}r.d(e,"a",function(){return i})},26:function(t,e){!function(){t.exports=this.wp.url}()},30:function(t,e,r){"use strict";function n(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}r.d(e,"a",function(){return n})},32:function(t,e){!function(){t.exports=this.wp.apiFetch}()},36:function(t,e,r){"use strict";var n,a;function i(t){return[t]}function o(){var t={clear:function(){t.head=null}};return t}function u(t,e,r){var n;if(t.length!==e.length)return!1;for(n=r;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}n={},a="undefined"!=typeof WeakMap,e.a=function(t,e){var r,c;function s(){r=a?new WeakMap:o()}function f(){var r,n,a,i,o,s=arguments.length;for(i=new Array(s),a=0;a<s;a++)i[a]=arguments[a];for(o=e.apply(null,i),(r=c(o)).isUniqueByDependants||(r.lastDependants&&!u(o,r.lastDependants,0)&&r.clear(),r.lastDependants=o),n=r.head;n;){if(u(n.args,i,1))return n!==r.head&&(n.prev.next=n.next,n.next&&(n.next.prev=n.prev),n.next=r.head,n.prev=null,r.head.prev=n,r.head=n),n.val;n=n.next}return n={val:t.apply(null,i)},i[0]=null,n.args=i,r.head&&(r.head.prev=n,n.next=r.head),r.head=n,n.val}return e||(e=i),c=a?function(t){var e,a,i,u,c,s=r,f=!0;for(e=0;e<t.length;e++){if(a=t[e],!(c=a)||"object"!=typeof c){f=!1;break}s.has(a)?s=s.get(a):(i=new WeakMap,s.set(a,i),s=i)}return s.has(n)||((u=o()).isUniqueByDependants=f,s.set(n,u)),s.get(n)}:function(){return r},f.getDependants=e,f.clear=s,s(),f}},37:function(t,e){!function(){t.exports=this.wp.deprecated}()},38:function(t,e,r){"use strict";function n(t){if(Array.isArray(t))return t}r.d(e,"a",function(){return n})},387:function(t,e,r){"use strict";r.r(e);var n={};r.r(n),r.d(n,"receiveUserQuery",function(){return V}),r.d(n,"receiveCurrentUser",function(){return q}),r.d(n,"addEntities",function(){return F}),r.d(n,"receiveEntityRecords",function(){return Y}),r.d(n,"receiveThemeSupports",function(){return B}),r.d(n,"receiveEmbedPreview",function(){return G}),r.d(n,"editEntityRecord",function(){return K}),r.d(n,"undo",function(){return Q}),r.d(n,"redo",function(){return W}),r.d(n,"__unstableCreateUndoLevel",function(){return H}),r.d(n,"saveEntityRecord",function(){return z}),r.d(n