(()=>{"use strict";const e=window.wp.i18n,i=window.wp.blocks,t=window.wp.blockEditor,o=window.wp.data,s=window.ReactJSXRuntime,n=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"billy-blocks/invoice-actions","title":"Invoice: Actions","icon":"menu-alt","category":"billy-blocks","textdomain":"billy","supports":{"inserter":false,"reusable":false,"html":false},"editorScript":"file:./index.js"}'),{name:l}=n;(0,i.registerBlockType)({name:l,...n},{getEditWrapperProps:()=>({"data-align":"wide"}),edit:function(){const i=(0,o.useSelect)(e=>e("core/editor").getEditedPostAttribute("modified")),n=(0,t.useBlockProps)({className:"components-placeholder",style:{minHeight:"auto"}});return(0,s.jsx)("div",{...n,children:(0,s.jsx)("small",{children:(0,e.sprintf)((0,e.__)("%1$s: %2$s","billy"),(0,e.__)("Last modified","billy"),new Date(i).toLocaleString())})})},save:function(){return null}})})();