(()=>{"use strict";const e=window.React,t=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"plover-kit/breadcrumb","title":"Plover: Breadcrumb","category":"plover-blocks","description":"Let’s you easily display breadcrumb navigation on your WordPress site, easy customization.","keywords":["breadcrumb"],"textdomain":"plover-kit","version":"1.0.0","attributes":{"align":{"type":"string"},"justification":{"type":"string"}},"supports":{"anchor":true,"html":false,"align":["wide","full"],"color":{"text":true,"link":true,"background":false},"spacing":{"margin":true,"padding":true,"blockGap":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true,"__experimentalDefaultControls":{"radius":true,"color":true,"width":true,"style":true}}},"editorScript":"file:./index.js"}'),r=window.wp.blockEditor,n=window.wp.components,o=window.wp.i18n,l=window.wp.hooks,a=window.plover.utils,i=window.plover.components;function s(t){return(0,e.createElement)(n.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 146.446 61.275",...t},(0,e.createElement)("g",{transform:"translate(-1841 98)"},(0,e.createElement)("path",{d:"M27.1,44.725H66L86.641,72.363,66,100H27.1V44.725Z",transform:"translate(1816.903 -139.725)",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"8"}),(0,e.createElement)("g",{transform:"translate(1904.288 -95)"},(0,e.createElement)("path",{d:"M83.537,72.363,62.879,44.725H82.24L102.9,72.363,82.24,100H62.879Z",transform:"translate(-62.879 -44.725)",fill:"none",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"8"})),(0,e.createElement)("path",{d:"M105.53,72.363,84.872,44.725h19.361l20.658,27.638L104.233,100H84.872Z",transform:"translate(1859.555 -139.725)",fill:"none",stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"8"})))}const c=window.wp.blocks,{name:p}=t;!function(e){if(!e)return;const{metadata:t,settings:r,name:n}=e;(0,c.registerBlockType)({name:n,...t},r)}({name:p,metadata:t,settings:{icon:(0,e.createElement)(s,null),example:{},edit:function(t){let c=(0,l.applyFilters)("plover.breadcrumb.BlockEdit",null,t);if(!c){const t=(0,r.useBlockProps)();c=(0,e.createElement)("div",{...t},(0,e.createElement)(n.Placeholder,{icon:(0,e.createElement)(s,{width:20}),label:(0,e.createElement)("span",{style:{padding:"0 6px"}},(0,o.__)("Plover: Breadcrumb","plover-kit")),className:"plover-breadcrumb-block-placeholder"},(0,e.createElement)("p",null,(0,e.createElement)("span",{dangerouslySetInnerHTML:{__html:(0,o.sprintf)(/* translators: %s is the premium text and link. */ /* translators: %s is the premium text and link. */
(0,o.__)("Upgrade to %s to access this block.","plover-kit"),'<a href="'+(0,a.upsell_url)({utm_campaign:"breadcrumb_block"})+'" target="_blank">'+(0,o.__)("Premium","plover-kit")+"</a>")}}),(0,e.createElement)("a",{href:"https://wpplover.com/docs/plover-kit/modules/breadcrumb/",target:"_blank",style:{padding:"0 4px"}},(0,o.__)("Learn More ↗","plover-kit")))))}return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(r.InspectorControls,null,(0,e.createElement)(i.DocLink,{borderTop:!0,link:"https://wpplover.com/docs/plover-kit/modules/breadcrumb/",text:(0,o.__)("Read Documentation ↗","plover-kit")})),c)}}})})();