!function(){vare={9756:function(e){e.exports=function(e,n){varr,t,i=0;functiono(){varo,u,s=r,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(u=0;u<l;u++)if(s.args[u]!==arguments[u]){s=s.next;continuee}returns!==r&&(s===t&&(t=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=r,s.prev=null,r.prev=s,r=s),s.val}s=s.next}for(o=newArray(l),u=0;u<l;u++)o[u]=arguments[u];returns={args:o,val:e.apply(null,o)},r?(r.prev=s,s.next=r):t=s,i===n.maxSize?(t=t.prev).next=null:i++,r=s,s.val}returnn=n||{},o.clear=function(){r=null,t=null,i=0},o}}},n={};functionr(t){vari=n[t];if(void0!==i)returni.exports;varo=n[t]={exports:{}};returne[t](o,o.exports,r),o.exports}r.n=function(e){varn=e&&e.__esModule?function(){returne.default}:function(){returne};returnr.d(n,{a:n}),n},r.d=function(e,n){for(vartinn)r.o(n,t)&&!r.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:n[t]})},r.o=function(e,n){returnObject.prototype.hasOwnProperty.call(e,n)},r.r=function(e){"undefined"!=typeofSymbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};vart={};!function(){"use strict";r.r(t),r.d(t,{PluginArea:function(){returny},getPlugin:function(){returnw},getPlugins:function(){returnP},registerPlugin:function(){returnv},unregisterPlugin:function(){returnh},withPluginContext:function(){returnp}});vare=window.wp.element,n=window.lodash,i=r(9756),o=r.n(i),u=window.wp.hooks;functions(){returns=Object.assign||function(e){for(varn=1;n<arguments.length;n++){varr=arguments[n];for(vartinr)Object.prototype.hasOwnProperty.call(r,t)&&(e[t]=r[t])}returne},s.apply(this,arguments)}varl=window.wp.compose;const{Consumer:a,Provider:c}=(0,e.createContext)({name:null,icon:null}),p=n=>(0,l.createHigherOrderComponent)((r=>t=>(0,e.createElement)(a,null,(i=>(0,e.createElement)(r,s({},t,n(i,t)))))),"withPluginContext");classgextendse.Component{constructor(e){super(e),this.state={hasError:!1}}staticgetDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e){const{name:n,onError:r}=this.props;r&&r(n,e)}render(){returnthis.state.hasError?null:this.props.children}}vard=window.wp.primitives;varm=(0,e.createElement)(d.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)(d.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"}));constf={};functionv(e,r){if("object"!=typeofr)returnconsole.error("No settings object provided!"),null;if("string"!=typeofe)returnconsole.error("Plugin name must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(e))returnconsole.error('Plugin name must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-plugin".'),null;f[e]&&console.error(`Plugin "${e}" is already registered.`),r=(0,u.applyFilters)("plugins.registerPlugin",r,e);const{render:t,scope:i}=r;if(!(0,n.isFunction)(t))returnconsole.error('The "render" property must be specified and must be a valid function.'),null;if(i){if("string"!=typeofi)returnconsole.error("Plugin scope must be string."),null;if(!/^[a-z][a-z0-9-]*$/.test(i))returnconsole.error('Plugin scope must include only lowercase alphanumeric characters or dashes, and start with a letter. Example: "my-page".'),null}returnf[e]={name:e,icon:m,...r},(0,u.doAction)("plugins.pluginRegistered",r,e),r}functionh(e){if(!f[e])returnvoidconsole.error('Plugin "'+e+'" is not registered.');constn=f[e];returndeletef[e],(0,u.doAction)("plugins.pluginUnregistered",n,e),n}functionw(e){returnf[e]}functionP(e){returnObject.values(f).filter((n=>n.scope===e))}classxextendse.Component{constructor(){super(...arguments),this.setPlugins=this.setPlugins.bind(this),this.memoizedContext=o()(((e,n)=>({name:e,icon:n}))),this.state=this.getCurrentPluginsState()}getCurrentPluginsState(){return{plugins:(0,n.map)(P(this.props.scope),(e=>{let{icon:n,name:r,render:t}=e;return{Plugin:t,context:this.memoizedContext(r,n)}}))}}componentDidMo