sirius-press/wordpress/wp-includes/js/dist/block-directory.min.js

30 lines
126 KiB
JavaScript
Raw Normal View History

/*! This file is auto-generated */
(function() {
var wp;(wp||={}).blockDirectory=(()=>{var Af=Object.create;var br=Object.defineProperty;var Nf=Object.getOwnPropertyDescriptor;var Df=Object.getOwnPropertyNames;var Mf=Object.getPrototypeOf,Lf=Object.prototype.hasOwnProperty;var se=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ke=(e,t)=>{for(var o in t)br(e,o,{get:t[o],enumerable:!0})},gi=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Df(t))!Lf.call(e,n)&&n!==o&&br(e,n,{get:()=>t[n],enumerable:!(r=Nf(t,n))||r.enumerable});return e};var g=(e,t,o)=>(o=e!=null?Af(Mf(e)):{},gi(t||!e||!e.__esModule?br(o,"default",{value:e,enumerable:!0}):o,e)),Bf=e=>gi(br({},"__esModule",{value:!0}),e);var yi=se((Bg,hi)=>{hi.exports=window.wp.plugins});var bi=se((Fg,xi)=>{xi.exports=window.wp.hooks});var kt=se((jg,wi)=>{wi.exports=window.wp.blocks});var Ge=se((Vg,vi)=>{vi.exports=window.wp.data});var Ue=se((Hg,Ri)=>{Ri.exports=window.wp.element});var In=se((Ug,Ei)=>{Ei.exports=window.wp.editor});var lo=se(($g,Ci)=>{Ci.exports=window.wp.blockEditor});var We=se((Yg,Pi)=>{Pi.exports=window.wp.i18n});var wr=se((zg,Oi)=>{Oi.exports=window.wp.apiFetch});var ki=se((qg,_i)=>{_i.exports=window.wp.notices});var Ai=se((Kg,Ii)=>{Ii.exports=window.wp.url});var qi=se((hh,zi)=>{zi.exports=window.wp.compose});var qt=se((yh,Ki)=>{Ki.exports=window.wp.components});var Fn=se((xh,Gi)=>{Gi.exports=window.wp.coreData});var Zi=se((wh,Ji)=>{Ji.exports=window.wp.htmlEntities});var V=se((vh,Qi)=>{Qi.exports=window.React});var X=se((Oh,ra)=>{ra.exports=window.ReactJSXRuntime});var Dt=se((Ey,Pa)=>{Pa.exports=window.ReactDOM});var Ll=se(Ml=>{"use strict";var To=V();function lm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var cm=typeof Object.is=="function"?Object.is:lm,um=To.useState,fm=To.useEffect,dm=To.useLayoutEffect,pm=To.useDebugValue;function mm(e,t){var o=t(),r=um({inst:{value:o,getSnapshot:t}}),n=r[0].inst,s=r[1];return dm(function(){n.value=o,n.getSnapshot=t,vs(n)&&s({inst:n})},[e,o,t]),fm(function(){return vs(n)&&s({inst:n}),e(function(){vs(n)&&s({inst:n})})},[e]),pm(o),o}function vs(e){var t=e.getSnapshot;e=e.value;try{var o=t();return!cm(e,o)}catch{return!0}}function gm(e,t){return t()}var hm=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?gm:mm;Ml.useSyncExternalStore=To.useSyncExternalStore!==void 0?To.useSyncExternalStore:hm});var Rs=se((fb,Bl)=>{"use strict";Bl.exports=Ll()});var jl=se(Fl=>{"use strict";var zr=V(),ym=Rs();function xm(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var bm=typeof Object.is=="function"?Object.is:xm,wm=ym.useSyncExternalStore,vm=zr.useRef,Rm=zr.useEffect,Em=zr.useMemo,Tm=zr.useDebugValue;Fl.useSyncExternalStoreWithSelector=function(e,t,o,r,n){var s=vm(null);if(s.current===null){var i={hasValue:!1,value:null};s.current=i}else i=s.current;s=Em(function(){function u(m){if(!c){if(c=!0,l=m,m=r(m),n!==void 0&&i.hasValue){var d=i.value;if(n(d,m))return f=d}return f=m}if(d=f,bm(l,m))return d;var h=r(m);return n!==void 0&&n(d,h)?(l=m,d):(l=m,f=h)}var c=!1,l,f,p=o===void 0?null:o;return[function(){return u(t())},p===null?void 0:function(){return u(p())}]},[t,o,r,n]);var a=wm(e,s[0],s[1]);return Rm(function(){i.hasValue=!0,i.value=a},[a]),Tm(a),a}});var Hl=se((pb,Vl)=>{"use strict";Vl.exports=jl()});var ru=se((vT,ou)=>{ou.exports=window.wp.a11y});var dn=se((RT,nu)=>{nu.exports=window.wp.primitives});var au=se((MT,iu)=>{iu.exports=window.wp.theme});var cu=se((LT,lu)=>{lu.exports=window.wp.privateApis});var Mg={};Ke(Mg,{store:()=>me});var Tf=g(yi(),1),Sf=g(bi(),1);var Ui=g(kt(),1),Uo=g(Ge(),1),Wi=g(Ue(),1),$i=g(In(),1);var Tr=g(Ge(),1);var Ti=g(Ge(),1),Ff=(e={},t)=>{switch(t.type){case"FETCH_DOWNLOADABLE_BLOCKS":return{...e,[t.filterValue]:{isRequesting:!0}};case"RECEIVE_DOWNLOADABLE_BLOCKS":return{...e,[t.filterValue]:{results:t.downloadableBlocks,isRequesting:!1}}}return e},jf=(e={installedBlockTypes:[],isInstalling:{}},t)=>{switch(t.type){case"ADD_INSTALLED_BLOCK_TYPE":return{...e,installedBlockTypes:[...e.installedBlockTypes,t.item]};case"REMOVE_INSTALLED_BLOCK_TYPE":return{...e,installedBlockTypes
/*! Bundled license information:
use-sync-external-store/cjs/use-sync-external-store-shim.production.js:
(**
* @license React
* use-sync-external-store-shim.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.js:
(**
* @license React
* use-sync-external-store-shim/with-selector.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*)
*/
(window.wp ||= {}).blockDirectory = wp.blockDirectory;
})();