import{I as R}from"./index-CgFz5N04.js";import{d as A,x as c,s as L,n as i,u as r,e as t,b as l}from"./CookieHelper-DsoBasaQ.js";import{_ as m}from"./_plugin-vue_export-helper-DlAUqK2U.js";var a=(o=>(o.BLACK="black",o.GRAY="gray",o.GREEN="green",o.ORANGE="orange",o.RED="red",o.WHITE="white",o.YELLOW="yellow",o))(a||{}),s=(o=>(o.EXTRA_SMALL="extra-small",o.SMALL="small",o.MEDIUM="medium",o.LARGE="large",o.EXTRA_EXTRA_LARGE="extra-extra-large",o.EXTRA_LARGE="extra-large",o.CUSTOM="custom",o))(s||{});const g=["alt","src"],u=A({__name:"RinIcon",props:{alt:{default:""},color:{default:a.BLACK},hoverEffect:{type:Boolean,default:!1},icon:{},size:{default:s.MEDIUM}},setup(o){const n=o,E=c(()=>n.icon.endsWith(".svg"));return(e,z)=>E.value?(l(),L(r(R),{key:0,class:i([{"icon-size-extra-small":e.size===r(s).EXTRA_SMALL},{"icon-size-small":e.size===r(s).SMALL},{"icon-size-medium":e.size===r(s).MEDIUM},{"icon-size-large":e.size===r(s).LARGE},{"icon-size-extra-extra-large":e.size===r(s).EXTRA_EXTRA_LARGE},{"icon-size-extra-large":e.size===r(s).EXTRA_LARGE},{"icon-white":e.color===r(a).WHITE},{"icon-red":e.color===r(a).RED},{"icon-orange":e.color===r(a).ORANGE},{"icon-gray":e.color===r(a).GRAY},{"icon-green":e.color===r(a).GREEN},{"icon-yellow":e.color===r(a).YELLOW},{"icon-hover":e.hoverEffect}]),src:e.icon,title:e.alt},null,8,["class","src","title"])):(l(),t("img",{key:1,alt:e.alt,class:i([{"icon-size-extra-small":e.size===r(s).EXTRA_SMALL},{"icon-size-small":e.size===r(s).SMALL},{"icon-size-medium":e.size===r(s).MEDIUM},{"icon-size-large":e.size===r(s).LARGE},{"icon-size-extra-extra-large":e.size===r(s).EXTRA_EXTRA_LARGE},{"icon-size-extra-large":e.size===r(s).EXTRA_LARGE},{"icon-white":e.color===r(a).WHITE},{"icon-red":e.color===r(a).RED},{"icon-orange":e.color===r(a).ORANGE},{"icon-gray":e.color===r(a).GRAY},{"icon-green":e.color===r(a).GREEN},{"icon-yellow":e.color===r(a).YELLOW},{"icon-hover":e.hoverEffect}]),src:e.icon},null,10,g))}}),T=m(u,[["__scopeId","data-v-9a14b95d"]]);export{a as E,T as R};
