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

1 line
24 KiB
JavaScript
Raw Normal View History

this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=307)}({122:function(e,t){e.exports=function(e){if(!e.webpackPolyfill){var t=Object.create(e);t.children||(t.children=[]),Object.defineProperty(t,"loaded",{enumerable:!0,get:function(){return t.l}}),Object.defineProperty(t,"id",{enumerable:!0,get:function(){return t.i}}),Object.defineProperty(t,"exports",{enumerable:!0}),t.webpackPolyfill=1}return t}},15:function(e,t,r){"use strict";function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,"a",function(){return n})},19:function(e,t,r){"use strict";var n=r(32);function i(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||Object(n.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}r.d(t,"a",function(){return i})},2:function(e,t){!function(){e.exports=this.lodash}()},24:function(e,t,r){"use strict";var n=r(35);var i=r(36);function o(e,t){return Object(n.a)(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var u,a=e[Symbol.iterator]();!(n=(u=a.next()).done)&&(r.push(u.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==a.return||a.return()}finally{if(i)throw o}}return r}(e,t)||Object(i.a)()}r.d(t,"a",function(){return o})},29:function(e,t){!function(){e.exports=this.wp.url}()},30:function(e,t){!function(){e.exports=this.wp.apiFetch}()},307:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,"receiveUserQuery",function(){return _}),r.d(n,"addEntities",function(){return S}),r.d(n,"receiveEntityRecords",function(){return I}),r.d(n,"receiveThemeSupports",function(){return T}),r.d(n,"receiveEmbedPreview",function(){return P});var i={};r.r(i),r.d(i,"isRequestingEmbedPreview",function(){return z}),r.d(i,"getAuthors",function(){return G}),r.d(i,"getUserQueryResults",function(){return X}),r.d(i,"getEntitiesByKind",function(){return J}),r.d(i,"getEntity",function(){return Z}),r.d(i,"getEntityRecord",function(){return $}),r.d(i,"getEntityRecords",function(){return ee}),r.d(i,"getThemeSupports",function(){return te}),r.d(i,"getEmbedPreview",function(){return re}),r.d(i,"isPreviewEmbedFallback",function(){return ne});var o={};r.r(o),r.d(o,"getAuthors",function(){return se}),r.d(o,"getEntityRecord",function(){return fe}),r.d(o,"getEntityRecords",function(){return de}),r.d(o,"getThemeSupports",function(){return le}),r.d(o,"getEmbedPreview",function(){return pe});var u=r(8),a=r(5),c=r(24),s=r(19),f=r(15),d=r(2),l=function(e){return function(t){return function(r,n){return void 0===r||e(n)?t(r,n):r}}},p=function(e){return function(t){return function(){var r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,i=n[e];if(void 0===i)return r;var o=t(r[i],n);return o===r[i]?r:Object(u.a)({},r,Object(f.a)({},i,o))}}},h=function(e){return function(t){return function(r,n){return t(r,e(n))}}};var v=function(e){var t=new WeakMap;return function(r){var n;return t.has(r)?n=t.get(r):(n=e(r),Object(d.isObjectLike)(r)&&t.set(r,n)),n}};function b(e){return{type:"RECEIVE_ITEMS",items:Object(d.castArray)(e)}}var y=r(33),g=r(76),m=r.