(()=>{var e={16:()=>{var e=wp.serverSideRender,t=wp.blocks.registerBlockType,__=wp.i18n.__,l=wp.element.createElement,o=wp.components.TextControl,a=wp.blockEditor.InspectorControls,r=wp.components.PanelBody,n=wp.components.SelectControl;t("w4os/grid-status",{title:__("OpenSimulator Grid Status","w4os"),icon:"visibility",category:"widgets",supports:{html:!1},attributes:{title:{type:"string",default:""},level:{type:"string",default:"h3"}},edit:function(t){var s=t.attributes.title,i=t.attributes.level,u=t.setAttributes;return l("div",{className:t.className},l(a,null,l(r,{title:__("Block Settings","w4os"),initialOpen:!0},l(o,{label:__("Title","w4os"),value:s,onChange:function(e){u({title:e||void 0})}}),l(n,{label:__("Title Level","w4os"),value:i,options:[{label:"H1",value:"h1"},{label:"H2",value:"h2"},{label:"H3",value:"h3"},{label:"H4",value:"h4"},{label:"H5",value:"h5"},{label:"H6",value:"h6"},{label:"P",value:"p"}],onChange:function(e){u({level:e})}}))),l("div",{className:"block-content"},l(e,{block:"w4os/grid-status",attributes:t.attributes})))},save:function(){return null}})}},t={};function l(o){var a=t[o];if(void 0!==a)return a.exports;var r=t[o]={exports:{}};return e[o](r,r.exports,l),r.exports}l.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return l.d(t,{a:t}),t},l.d=(e,t)=>{for(var o in t)l.o(t,o)&&!l.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},l.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";l(16)})()})();