1import{g as f,c as p,r as d,k as _,q as a,m as i,Z as l,p as C,B as r,a0 as k,a7 as h,C as y,ag as B}from"#entry";import{_ as T}from"./CBBITua3.js";import"./D4U6knPx.js";function v(t,n){const o=d(),{t:e}=f(),s=p(()=>t.toast.content);return{closeButtonRef:o,decoratedToast:s,handleClose:()=>{t.toast.onClose?.(),n("close")},t:e}}const P={class:"toast__body"},I={class:"toast__header"},R=["innerHTML"],$={key:1,class:"toast__content"},b=_({__name:"Toast",props:{toast:{},topIndicatorPosition:{}},emits:["close"],setup(t,{emit:n}){const o=t,e=n,{closeButtonRef:s,decoratedToast:c,handleClose:m,t:u}=v(o,e);return(g,x)=>(a(),i("div",{class:h(["toast",{toast__indicator:t.topIndicatorPosition,[`toast__indicator--${t.topIndicatorPosition}`]:t.topIndicatorPosition}])},[l("div",P,[l("div",I,[C(T,{ref_key:"closeButtonRef",ref:s,"button-style":"tertiary","has-icon":"","aria-label":r(u)("toastStack.close",{title:t.toast.content}),class:"toast__close",icon:"close",onClick:r(m)},null,8,["aria-label","onClick"])]),t.toast.isRichText?(a(),i("div",{key:0,class:"toast__content",innerHTML:r(c)},null,8,R)):(a(),i("div",$,k(t.toast.content),1))])],2))}}),N=_({__name:"ToastProvider",props:{toast:{},topIndicatorPosition:{}},emits:["close"],setup(t,{expose:n}){const o=d();return n({tenantComponentRef:o}),(e,s)=>(a(),y(b,B({ref_key:"tenantComponentRef",ref:o},e.$props,{onClose:s[0]||(s[0]=c=>e.$emit("close"))}),null,16))}});export{N as default};
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.