import{c as B,e as C,a as L,p as f,b as _,d as D,f as g,l as E,h as s,m as p,s as F,r as l,t as R,n as S,i as h,j as q,k as A}from"../../custom-element.js";import{i as G}from"../../if.js";import{e as H,i as I}from"../../each.js";import{a as J,s as k}from"../../attributes.js";import{F as K}from"../../Condition20.js";import"../../branches.js";var M=g('<li class="mc-breadcrumb__item svelte-1ihiex7"><a><!> <span class="mc-link__label svelte-1ihiex7"> </span></a></li>'),N=g('<nav><ol class="mc-breadcrumb__container svelte-1ihiex7"></ol></nav>');const O={hash:"svelte-1ihiex7",code:`/**
 * Do not edit directly, this file was auto-generated.
 */.mc-breadcrumb.svelte-1ihiex7 {color:var(--breadcrumb-color-text-standard, #000000);}.mc-breadcrumb__container.svelte-1ihiex7 {list-style-type:none;padding-inline-start:0;margin-block:0;display:flex;flex-wrap:wrap;gap:0.25rem;}.mc-breadcrumb__item.svelte-1ihiex7 {background-position:left center;background-repeat:no-repeat;}
@media screen and (max-width: 679px) {.mc-breadcrumb__item.svelte-1ihiex7:nth-last-child(2) .mc-link__icon:where(.svelte-1ihiex7) {transform:rotate(180deg);}.mc-breadcrumb__item.svelte-1ihiex7:not(:nth-last-child(2)) {clip-path:inset(100%);clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute;white-space:nowrap;padding:0;width:1px;}
}.mc-breadcrumb__current.svelte-1ihiex7, .mc-breadcrumb__current.mc-link.svelte-1ihiex7 {cursor:default;text-decoration:none;}.mc-breadcrumb__current.svelte-1ihiex7, .mc-breadcrumb__current.svelte-1ihiex7:active, .mc-breadcrumb__current.svelte-1ihiex7:focus, .mc-breadcrumb__current.svelte-1ihiex7:hover, .mc-breadcrumb__current.svelte-1ihiex7:visited, .mc-breadcrumb__current.mc-link.svelte-1ihiex7, .mc-breadcrumb__current.mc-link.svelte-1ihiex7:active, .mc-breadcrumb__current.mc-link.svelte-1ihiex7:focus, .mc-breadcrumb__current.mc-link.svelte-1ihiex7:hover, .mc-breadcrumb__current.mc-link.svelte-1ihiex7:visited {color:currentcolor;}.mc-breadcrumb--inverse.svelte-1ihiex7 {color:var(--breadcrumb-color-text-inverse, #ffffff);}.mc-link.svelte-1ihiex7 {transition:box-shadow 200ms ease;display:inline-flex;align-items:center;justify-content:center;gap:0.25rem;min-height:1.5rem;text-decoration:none;color:var(--link-color-text-primary, #000000);font-size:0.875rem;}.mc-link__label.svelte-1ihiex7 {line-height:1.3;}.mc-link__icon.svelte-1ihiex7 {display:block;height:1.25rem;width:1.25rem;flex-shrink:0;fill:currentcolor;}.mc-link.svelte-1ihiex7:hover:not(.mc-link--stand-alone, .mc-link--inline) .mc-link__label:where(.svelte-1ihiex7) {text-decoration:underline;}.mc-link.svelte-1ihiex7:focus {box-shadow:0 0 0 0.125rem var(--focus-color-mid, var(--focus-color-outline-mid, #ffffff)), 0 0 0 0.25rem var(--focus-color-outer, var(--focus-color-outline-outer, #000000));outline:0.125rem solid transparent;outline-offset:0.125rem;}.mc-link--m.svelte-1ihiex7 {min-height:2rem;font-size:1rem;}.mc-link--secondary.svelte-1ihiex7 {color:var(--link-color-text-secondary, #666666);}.mc-link--accent.svelte-1ihiex7 {color:var(--link-color-text-accent, #117f03);}.mc-link--inverse.svelte-1ihiex7 {--focus-color-mid: var(--focus-color-outline-outer, #000000);--focus-color-outer: var(--focus-color-outline-mid, #ffffff);color:var(--link-color-text-inverse, #ffffff);}.mc-link--stand-alone.svelte-1ihiex7 {min-height:2rem;font-weight:var(--link-font-weight, 600);}.mc-link--stand-alone.svelte-1ihiex7 .mc-link__label:where(.svelte-1ihiex7) {border-bottom:var(--border-width-s, 0.0625rem) solid currentColor;}.mc-link--stand-alone.svelte-1ihiex7:hover .mc-link__label:where(.svelte-1ihiex7) {border-color:transparent;}.mc-link--inline.svelte-1ihiex7 {font-weight:inherit;text-decoration:underline;}.mc-link--inline.svelte-1ihiex7 .mc-link__label:where(.svelte-1ihiex7) {line-height:1;}.mc-link--inline.svelte-1ihiex7:hover {text-decoration:none;}`};function P(d,n){C(n,!0),L(d,O);let i=f(n,"appearance",7,"standard"),a=f(n,"links",7),w=E(n,["$$slots","$$events","$$legacy","$$host","appearance","links"]);const y=e=>e===a().length-1;var $={get appearance(){return i()},set appearance(e="standard"){i(e),p()},get links(){return a()},set links(e){a(e),p()}},c=N();J(c,()=>({class:`mc-breadcrumb mc-breadcrumb--${i()}`,"aria-label":"Breadcrumb",...w}),void 0,void 0,void 0,"svelte-1ihiex7");var v=s(c);return H(v,21,a,I,(e,o,u)=>{var m=M(),r=s(m),b=s(r);{var j=t=>{K(t,{class:"mc-link__icon"})};G(b,t=>{u!==0&&t(j)})}var x=F(b,2),z=s(x,!0);l(x),l(r),l(m),R(t=>{k(r,"href",h(o).href),k(r,"target",h(o).target),q(r,1,t,"svelte-1ihiex7"),A(z,h(o).label)},[()=>S(["mc-link","mc-link--m","mc-link--inline",i()&&`mc-link--${i()}`,y(u)&&"mc-breadcrumb__current"])]),_(e,m)}),l(v),l(c),_(d,c),D($)}customElements.define("m-breadcrumb",B(P,{appearance:{},links:{}},[],[],{mode:"open"}));
//# sourceMappingURL=Breadcrumb.js.map
