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

1 line
26 KiB
JavaScript
Raw Normal View History

this.wp=this.wp||{},this.wp.coreData=function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.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 i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));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=310)}({120: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,n){"use strict";function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,"a",function(){return r})},19:function(e,t,n){"use strict";var r=n(33);function i(e){return 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}}(e)||Object(r.a)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}n.d(t,"a",function(){return i})},2:function(e,t){!function(){e.exports=this.lodash}()},24:function(e,t){!function(){e.exports=this.wp.url}()},25:function(e,t,n){"use strict";var r=n(35);var i=n(36);function o(e,t){return Object(r.a)(e)||function(e,t){var n=[],r=!0,i=!1,o=void 0;try{for(var u,a=e[Symbol.iterator]();!(r=(u=a.next()).done)&&(n.push(u.value),!t||n.length!==t);r=!0);}catch(e){i=!0,o=e}finally{try{r||null==a.return||a.return()}finally{if(i)throw o}}return n}(e,t)||Object(i.a)()}n.d(t,"a",function(){return o})},30:function(e,t){!function(){e.exports=this.wp.apiFetch}()},31:function(e,t,n){"use strict";var r,i;function o(e){return[e]}function u(){var e={clear:function(){e.head=null}};return e}function a(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}r={},i="undefined"!=typeof WeakMap,t.a=function(e,t){var n,c;function s(){n=i?new WeakMap:u()}function f(){var n,r,i,o,u,s=arguments.length;for(o=new Array(s),i=0;i<s;i++)o[i]=arguments[i];for(u=t.apply(null,o),(n=c(u)).isUniqueByDependants||(n.lastDependants&&!a(u,n.lastDependants,0)&&n.clear(),n.lastDependants=u),r=n.head;r;){if(a(r.args,o,1))return r!==n.head&&(r.prev.next=r.next,r.next&&(r.next.prev=r.prev),r.next=n.head,r.prev=null,n.head.prev=r,n.head=r),r.val;r=r.next}return r={val:e.apply(null,o)},o[0]=null,r.args=o,n.head&&(n.head.prev=r,r.next=n.head),n.head=r,r.val}return t||(t=o),c=i?function(e){var t,i,o,a,c,s=n,f=!0;for(t=0;t<e.length;t++){if(i=e[t],!(c=i)||"object"!=typeof c){f=!1;break}s.has(i)?s=s.get(i):(o=new WeakMap,s.set(i,o),s=o)}return s.has(r)||((a=u()).isUniqueByDependants=f,s.set(r,a)),s.get(r)}:function(){return n},f.getDependants=t,f.clear=s,s(),f}},310:function(e,t,n){"use strict";n.r(t);var r={};n.r(r),n.d(r,"receiveUserQuery",function(){return T}),n.d(r,"addEntities",function(){return A}),n.d(r,"receiveEntityRecords",function(){return M}),n.d(r,"receiveThemeSupports",function(){return U}),n.d(r,"receiveEmbedPreview",function(){return C}),n.d(r,"saveEntityRecord",function(){return N}),n.d(r,"receiveUploadPermissions",function(){return D});var i={};n.r(i),n.d(i,"isRequestingEmbedPreview",function(){return Z}),n.d(i,"getAuthors",function(){return $}),n.d(i,"getUserQueryResults",function(){return ee}),n.d(i,"getEntitiesByKind",function(){return te}),n.d(i,"get