this.wp=this.wp||{},this.wp.customizeWidgets=function(e){vart={};functionn(r){if(t[r])returnt[r].exports;varc=t[r]={i:r,l:!1,exports:{}};returne[r].call(c.exports,c,c.exports,n),c.l=!0,c.exports}returnn.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"!=typeofSymbol&&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)returne;if(4&t&&"object"==typeofe&&e&&e.__esModule)returne;varr=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeofe)for(varcine)n.d(r,c,function(t){returne[t]}.bind(null,c));returnr},n.n=function(e){vart=e&&e.__esModule?function(){returne.default}:function(){returne};returnn.d(t,"a",t),t},n.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s="9pbN")}({"1CF3":function(e,t){e.exports=window.wp.dom},"1ZqX":function(e,t){e.exports=window.wp.data},"6aBm":function(e,t){e.exports=window.wp.mediaUtils},"9pbN":function(e,t,n){"use strict";n.r(t),n.d(t,"initialize",(function(){returnke}));varr={};n.r(r),n.d(r,"isInserterOpened",(function(){returnz})),n.d(r,"__experimentalGetInsertionPoint",(function(){returnT}));varc={};n.r(c),n.d(c,"setIsInserterOpened",(function(){returnB}));vari=n("GRId"),s=n("QyPg"),o=n("GLVC"),a=n("HSyU"),l=n("1ZqX"),d=n("U60i"),u=n("tI+e"),b=n("hF7m"),m=n("l3Sj"),p=n("axFQ"),h=n("K9lf");functiong(e){let{text:t,children:n}=e;constr=Object(h.useCopyToClipboard)(t);returnObject(i.createElement)(u.Button,{variant:"secondary",ref:r},n)}classfextendsi.Component{constructor(){super(...arguments),this.state={error:null}}componentDidCatch(e){this.setState({error:e})}render(){const{error:e}=this.state;returne?Object(i.createElement)(p.Warning,{className:"customize-widgets-error-boundary",actions:[Object(i.createElement)(g,{key:"copy-error",text:e.stack},Object(m.__)("Copy Error"))]},Object(m.__)("The editor has encountered an unexpected error.")):this.props.children}}varO=n("YLtl"),j=n("jZUy"),_=n("6aBm"),w=n("wx14");varE=function(e){let{inspector:t,closeMenu:n,...r}=e;constc=Object(l.useSelect)(e=>e(p.store).getSelectedBlockClientId(),[]),s=Object(i.useMemo)(()=>document.getElementById("block-"+c),[c]);returnObject(i.createElement)(u.MenuItem,Object(w.a)({onClick:()=>{t.open({returnFocusWhenClose:s}),n()}},r),Object(m.__)("Show more settings"))},v=n("TSYQ"),y=n.n(v),k=n("RxS6"),C=n("Ntru"),S=n("K2cm"),x=n("Q4Sy"),I=n("bWcr");functionz(e){return!!e.blockInserterPanel}functionT(e){const{rootClientId:t,insertionIndex:n}=e.blockInserterPanel;return{rootClientId:t,insertionIndex:n}}functionB(e){return{type:"SET_IS_INSERTER_OPENED",value:e}}constN={reducer:Object(l.combineReducers)({blockInserterPanel:function(){lete=arguments.length>0&&void0!==arguments[0]&&arguments[0],t=arguments.length>1?arguments[1]:void0;switch(t.type){case"SET_IS_INSERTER_OPENED":returnt.value}returne}}),selectors:r,actions:c},W=Object(l.createReduxStore)("core/customize-widgets",N);Object(l.registerStore)("core/customize-widgets",N);varA=functione(t){let{setIsOpened:n}=t;constr=Object(h.useInstanceId)(e,"customize-widget-layout__inserter-panel-title"),c=Object(l.useSelect)(e=>e(W).__experimentalGetInsertionPoint(),[]);returnObject(i.createElement)("div",{className:"customize-widgets-layout__inserter-panel","aria-labelledby":r},Object(i.createElement)("div",{className:"customize-widgets-layout__inserter-panel-header"},Object(i.createElement)("h2",{id:r,className:"customize-widgets-layout__inserter-panel-header-title"},Object(m.__)("Add a block")),Object(i.createElement)(u.Button,{className:"customize-widgets-layout__inserter-panel-header-close-button",icon:I.a,onClick:()=>n(!1),"aria-label":Object(m.__)("Close inserter")})),Object(i.createElement)("div",{className:"customize-widgets-layout__inserter-panel-content"},Object(i.createElement)(p.__experimentalLibrary,{rootClientId:c.rootClientId,__experimentalInsertionIn