!function(){"use strict";var e=window.wp.i18n,s=window.wp.blocks,r=window.wp.element,t=window.wp.components,o=window.wp.blockEditor,i=window.wp.data,p=JSON.parse('{"u2":"wpseopress/breadcrumbs"}');(0,s.registerBlockType)(p.u2,{title:(0,e.__)("Breadcrumbs","wp-seopress-pro"),description:(0,e.__)("Display an HTML breadcrumbs.","wp-seopress-pro"),keywords:[(0,e.__)("ariane","wp-seopress-pro"),(0,e.__)("breadcrumbs","wp-seopress-pro"),(0,e.__)("crumbs","wp-seopress-pro"),(0,e.__)("navigation","wp-seopress-pro")],edit:function(s){let{attributes:p}=s;const{inlineStyles:a,homeOption:n}=p,l=[n,(0,i.select)("core/editor").getEditedPostAttribute("title")||(0,e.__)("Example title","wp-seopress-pro")];return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(t.Notice,{status:"warning",isDismissible:!1},(0,e.__)("This is an example of breadcrumbs. View your site as a simple visitor to get the final rendering.","wp-seopress-pro")),(0,r.createElement)("div",(0,o.useBlockProps)(),(0,r.createElement)(r.RawHTML,null,a),l&&(0,r.createElement)("ol",{className:"wpseopress-breadcrumb breadcrumb"},l.map(((e,s)=>(0,r.createElement)("li",{key:s,className:"wpseopress-breadcrumb-item breadcrumb-item",dangerouslySetInnerHTML:{__html:e}}))))))},save:()=>null})}();