{"version":3,"file":"core-icons.min.js","sources":["core-icons.js"],"sourcesContent":["/* globals ICONS */\nexport default function coreIcons (id) {\n if (!id) return Object.keys(ICONS).map(coreIcons)\n if (!ICONS.hasOwnProperty(id)) return null\n\n const [body, width, height] = ICONS[id]\n const symbol = `${body}`\n const sprite = ``\n const svg = ``\n\n return {id, width, height, body, sprite, symbol, svg}\n}\n\nif (typeof document !== 'undefined') {\n const div = document.createElement('div') // Render in div before inject to workaround adblockers\n const all = coreIcons().map(({symbol}) => symbol).join('')\n\n div.innerHTML = ``\n document.documentElement.lastElementChild.appendChild(div.firstElementChild)\n}\n"],"names":["coreIcons","id","Object","keys","ICONS","map","hasOwnProperty","width","height","body","document","const","div","createElement","all","ref","join","innerHTML","documentElement","lastElementChild","appendChild","firstElementChild"],"mappings":";yw4HACe,SAASA,EAAWC,GACjC,IAAKA,EAAI,OAAOC,OAAOC,KAAKC,GAAOC,IAAIL,GACvC,IAAKI,EAAME,eAAeL,GAAK,OAAO,KAEtC,MAA8BG,EAAMH,wBAKpC,MAAO,IAACA,QAAIM,SAAOC,OAAQC,SAHZ,qBAAqBF,EAAQ,gBAAeC,EAAS,+CAA8CP,sBADnG,eAAeA,oBAAoBM,MAASC,OAAWC,kBAE1D,qBAAqBF,EAAQ,gBAAeC,EAAS,uBAAsBD,MAASC,0BAA8BC,YAKhI,GAAwB,oBAAbC,SAA0B,CACnCC,IAAMC,EAAMF,SAASG,cAAc,OAC7BC,EAAMd,IAAYK,aAAKU,qBAAqBC,KAAK,IAEvDJ,EAAIK,UAAY,gEAAgEH,WAChFJ,SAASQ,gBAAgBC,iBAAiBC,YAAYR,EAAIS"}