import{s as d,t as v,w as u,K as o,f as c,a2 as p,y as _,z as m,D as y}from"./index-DT8qTvyx.js";var B=function(a){d(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e.prototype.render=function(){var t=this.props,f=t.items,b=t.source,l=t.data,i=t.env,h=v(t,["items","source","data","env"]),s=f||u(b,l,"| raw");return s&&(s=s.map(function(r){return r.label&&(r.label=o(r.label,l)),r.href&&(r.href=u(r.href,l,"| raw")),r.dropdown&&(r.dropdown=r.dropdown.map(function(n){return n.label&&(n.label=o(n.label,l)),n.href&&(n.href=u(n.href,l,"| raw")),n})),r})),c.createElement(p,_({items:s,tooltipContainer:i==null?void 0:i.getModalContainer},h))},e}(c.Component),g=function(a){d(e,a);function e(){return a!==null&&a.apply(this,arguments)||this}return e=m([y({type:"breadcrumb"})],e),e}(B);export{B as BreadcrumbField,g as BreadcrumbFieldRenderer};
