import{h as a,r as p}from"../js/utils.671ae102.js";import"../js/translations.e71e2202.js";import{_ as u}from"../js/default-i18n.65d58dd6.js";import"../js/index.4b887428.js";import"../js/runtime-core.esm-bundler.ce5add0b.js";import"../js/helpers.633a054c.js";const d="https://schemas.wp.org/wp/5.8/block.json",m="aioseo/key-points",k="1.0.0",f="AIOSEO - Key Points",w="Easily add an Too Long, Didn't Read (TLDR) to your content.",y="aioseo",g=["list","tldr","key points"],b="all-in-one-seo-pack",H={},V={html:!1},v={$schema:d,name:m,version:k,title:f,description:w,category:y,keywords:g,textdomain:b,attributes:H,supports:V},{InnerBlocks:_}=window.wp.blockEditor,{useEffect:h}=window.wp.element,{select:E,dispatch:r,subscribe:B}=window.wp.data;function I(n){const{className:i,clientId:o}=n;return h(()=>{const s=B(()=>{const t=E("core/block-editor").getBlocks(o).find(e=>e.name==="core/list");if(t){r("core/block-editor").selectBlock(t.clientId);const e=t.attributes.values;if(e){const c=e.indexOf("<li>")+4,l={clientId:t.clientId,start:c,end:c};r("core/block-editor").selectBlock(t.clientId,l)}s()}});return()=>s()},[o]),React.createElement("div",{className:i},React.createElement("div",{id:`aioseo-${o}`},React.createElement(_,{template:[["core/list"]],templateLock:"all"})))}const{InnerBlocks:R}=window.wp.blockEditor;function $({className:n}){return React.createElement("div",{className:n},React.createElement("div",{className:"aioseo-key-points-block-content"},React.createElement(R.Content,null)))}const x=a`
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 25 25"><path fillRule="evenodd" clipRule="evenodd" d="M4.125 4.5H20.125V20.5H4.125V4.5ZM9.71875 6.89062H17.7188V8.49062H9.71875V6.89062ZM17.7188 10.0781H9.71875V11.6781H17.7188V10.0781ZM9.71875 13.2661H17.7188V14.8661H9.71875V13.2661ZM17.7188 16.5H9.71875V18.1H17.7188V16.5ZM6.51562 6.89062H8.11562V8.49062H6.51562V6.89062ZM8.11562 10.0781H6.51562V11.6781H8.11562V10.0781ZM6.51562 13.2661H8.11562V14.8661H6.51562V13.2661ZM8.11562 16.5H6.51562V18.1H8.11562V16.5Z"/></svg>
`,M="all-in-one-seo-pack",{name:Z,title:O,description:A,category:L,supports:S,attributes:P}=v,D={title:O,description:A,category:L,attributes:P,icon:x,example:{innerBlocks:[{name:"core/paragraph",attributes:{content:u("All in One SEO is perfect for business owners, bloggers, designers, developers, photographers, and basically everyone else. If you want to optimize your WordPress SEO, then you need to use All in One SEO Pack.",M)}}]},supports:S,edit:I,save:$};p({name:Z,settings:D});
