1import{_ as w}from"./CT0dWHZl.js";import{ay as N,az as R,aA as z,a5 as A,aB as O,aC as I,aD as T,aE as $,B as V,aF as h,aG as P,aH as W,aI as F,d as U,C,c as _,o as m,l as y,F as D,r as E,a as f,s as v,j as H,f as B,A as S,h as j,z as G,p as M}from"./CeJGm5AT.js";function Q(t,c="/"){const l=N(t),g=R(l.pathname),a=(s,i=[])=>{const b=z(s),u=s.pathname||"/";return i.push(b||"/"),u!==c&&u!=="/"&&(s.pathname=u.substring(0,u.lastIndexOf("/")),g&&(s.pathname=A(s.pathname.substring(0,s.pathname.lastIndexOf("/")))),a(s,i)),i};return a(l).reverse()}function q(t){return t.split("?")[0]}function J(t){return t.replaceAll("-"," ").replace(/\w\S*/g,c=>c.charAt(0).toUpperCase()+c.substr(1).toLowerCase())}function K(t={}){const c=O(),l=I();T({canonical:!0,absolute:!0});const g=$(),a=V(()=>{var L;let s="/";l&&(l.strategy==="prefix"||l.strategy!=="no_prefix"&&h(l.defaultLocale)!==h(l.locale))&&(s=`/${h(l.locale)}`);const i=q(P(h(t.path||((L=c.currentRoute.value)==null?void 0:L.path))||s)),b=h(t.overrides)||[],u=Q(i,s).map((e,r)=>{let n={to:e};if(typeof b[r]<"u"){if(b[r]===!1)return!1;n=W(b[r],n)}return n});return t.prepend&&u.unshift(...h(t.prepend)),t.append&&u.push(...h(t.append)),u.filter(Boolean).map(e=>{var o,p;let r=J(String((e.to||"").split("/").pop())),n="";const d=(p=(o=c.resolve(e.to))==null?void 0:o.matched)==null?void 0:p[0];if(d){const x=(d==null?void 0:d.meta)||{};x.breadcrumb&&(e={...e,...x.breadcrumb});const k=String(d.name).split("___")[0];k==="index"&&(r="Home"),r=x.breadcrumbLabel||x.breadcrumbTitle||x.title||r,r=l.t(`breadcrumb.items.${k}.label`,r,{missingWarn:!0}),n=l.t(`breadcrumb.items.${k}.ariaLabel`,n,{missingWarn:!1})}return e.label=e.label||r,e.ariaLabel=e.ariaLabel||n||e.label,e.current=e.current||e.to===i,h(t.hideCurrent)&&e.current?!1:e}).map(e=>e&&e.to&&(e.to=F(g.trailingSlash,e.to),e.to===s&&h(t.hideRoot))?!1:e).filter(Boolean)});return typeof t.schemaOrg>"u"||t.schemaOrg,a}const X={class:"3xl:container mx-auto px-6 sm:px-8 lg:px-12 xl:px-16 relative z-10"},Y={class:"mx-auto flex flex-col gap-y-8"},Z={"aria-label":"Breadcrumb"},ee={class:"list-none flex gap-x-[8px] m-0"},ae=["aria-label"],te={key:0,class:"inline sm:hidden"},re=U({__name:"BreadcrumbNavigation",props:{theme:{}},setup(t){const c=t,l=I(),g=K({schemaOrg:!1}),a=C([]),s=C(""),i=C(""),b=["de","fr"],u=e=>{var n;const r=(n=e.to)==null?void 0:n.replace(/\/$/,"");return l.t(`breadcrumb.items.${r.substr(r.lastIndexOf("/")+1)}`,e.label)};return(()=>{a.value=[...g.value];const e=g.value[1].label.toLowerCase();b.includes(e)?(l.setLocale(e),a.value[0].to=a.value[1].to,a.value.splice(1,1)):l.setLocale("en"),a.value[1].label!=="Why Blackline"&&a.value[1].label!=="Academy"&&a.value[1].label!=="Beyond The Black"&&!a.value[1].label.includes("Industries")&&a.value.splice(1,1),a.value[1].label==="Why Blackline"?(s.value=c.theme==="light"?"text-white lg:text-black":"text-white",i.value=c.theme==="light"?"text-gray-300 lg:text-gray-700":"text-gray-300"):s.value=c.theme==="light"?"text-black":"text-white",a.value[1].to=a.value[1].to.replace("resources/beyondtheblack","resources/beyondtheblack/sessions")})(),(e,r)=>{const n=w,d=M;return m(),_("section",X,[y("div",Y,[y("nav",Z,[y("ol",ee,[(m(!0),_(D,null,E(f(a),(o,p)=>(m(),_("li",{key:p,class:v(["flex items-center text-overline gap-x-[8px]",[f(s),p===f(a).length-1?"font-bold":""]])},[H(d,{as:"span","aria-current":p===f(a).length-1?"page":void 0,to:o.to,custom:o.current},{default:j(()=>[o.icon?(m(),B(n,{key:0,icon:o.icon,size:"16",type:"solid",class:v(["w-[16px] h-[16px]",[o.iconClass]])},null,8,["icon","class"])):(m(),_("span",{key:1,class:v([o.labelClass]),"aria-label":o.ariaLabel},[f(a).length>2&&p===1?(m(),_("span",te,"...")):S("",!0),y("span",{class:v([f(a).length>2&&p===1?"hidden sm:inline":""])},G(u(o)),3)],10,ae))]),_:2},1032,["aria-current","to","custom"]),[f(a).length-1].includes(p)?S("",!0):(m(),B(n,{key:0,icon:"ChevronRightIcon",size:"16",type:"solid",class:v(["w-[16px] h-[16px]",f(i)])},null,8,["class"]))],2))),128))])])])])}}});export{re as _};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.