1import{_ as s}from"./qsU6f4zr.js";import{_ as c,o as e,a as i,b as u,e as d,c as a,Z as r,i as o,f as y,h as f,a4 as b,u as m,W as p}from"./CUgxdK8p.js";const B={class:"icon-button__inner"},v={key:0,class:"icon-button__slot"},T={key:1,class:"icon-button__icon"},_={__name:"IconButton",props:{type:{type:String,default:"button"},iconType:{type:String,default:null},label:{type:String,default:null},typeClass:{type:String,default:"t-cta"},isActive:{type:Boolean,default:!1},isInverted:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},isTransparent:{type:Boolean,default:!1},to:{type:String,default:null}},setup(t){return(n,h)=>{const l=s;return e(),i(b(t.to?m(p):"button"),{type:t.to?null:t.type,class:f(["icon-button",[t.typeClass,t.iconType?`icon-button--${t.iconType}`:null,{"is-active":t.isActive,"icon-button--inverted":t.isInverted,"icon-button--transparent":t.isTransparent,"icon-button--link":!!t.to?.length}]]),"aria-label":t.label||t.iconType,disabled:t.disabled,to:t.to},{default:u(()=>[d("span",B,[n.$slots.default?(e(),a("span",v,[r(n.$slots,"default",{},void 0,!0)])):o("",!0),t.iconType?(e(),a("span",T,[y(l,{type:t.iconType},null,8,["type"])])):o("",!0)])]),_:3},8,["type","class","aria-label","disabled","to"])}}},C=c(_,[["__scopeId","data-v-a177024f"]]);export{C 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.