(()=>{"use strict";const e=window.wp.blocks,s=window.wp.i18n,t=window.wp.blockEditor,i=window.wp.components,o=window.ReactJSXRuntime,n=JSON.parse('{"UU":"suredash/title"}');(0,e.registerBlockType)(n.UU,{icon:(0,o.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"lucide lucide-heading",style:{fill:"none",width:"16px"},children:[(0,o.jsx)("path",{d:"M6 12h12"}),(0,o.jsx)("path",{d:"M6 20V4"}),(0,o.jsx)("path",{d:"M18 20V4"})]}),edit:({attributes:{responsivesidenavigation:e},setAttributes:n})=>{const r=(0,t.useBlockProps)({style:{fontFamily:"var(--portal-font-family)"},className:"suredash-portal__editor-title portal-content"});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(t.InspectorControls,{children:(0,o.jsxs)(i.PanelBody,{children:[(0,o.jsx)(i.ToggleControl,{label:(0,s.__)("Responsive: Aside Navigation Trigger","suredash"),checked:e,onChange:e=>n({responsivesidenavigation:e})}),(0,o.jsxs)(i.Notice,{status:"warning",className:"spectra-sidebar-settings-notice",isDismissible:!1,children:[(0,s.__)("In responsive mode, the side navigation trigger appears aside to Title block.","suredash"),(0,o.jsx)("br",{}),(0,o.jsx)("br",{}),(0,s.__)("You also have other option to keep is aside of Identity block.","suredash")]})]})}),(0,o.jsx)("h1",{...r,children:(0,s.__)("Welcome User!","suredash")})]})},save:function(){return(0,o.jsx)(t.InnerBlocks.Content,{})}})})();