hooks.45ae69bb.js 475 B

1
  1. import{q as f,ah as r,aN as s,aO as a,aP as I}from"./index.3ad9ddce.js";function u(e,o){const t=/^IF-/;if(t.test(e)){const n=e.split(t)[1],c=n.slice(0,n.indexOf(" ")==-1?n.length:n.indexOf(" ")),i=n.slice(n.indexOf(" ")+1,n.length);return f({name:"FontIcon",render(){return r(s,{icon:c,iconType:i,...o})}})}else return typeof e=="function"||typeof(e==null?void 0:e.render)=="function"?e:f({name:"Icon",render(){const n=o&&o.online?a:I;return r(n,{icon:e,...o})}})}export{u};