Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import { defaultIconCustomisations } from "../customisations/defaults.js";2import { getIconData } from "../icon-set/get-icon.js";3import { iconToSVG } from "../svg/build.js";4import { loaderDefaultHeightProp, loaderDefaultWidthProp, mergeIconProps } from "./utils.js";5async function searchForIcon(iconSet, collection, ids, options) {6 let iconData;7 const { customize } = options?.customizations ?? {};8 for (const id of ids) {9 iconData = getIconData(iconSet, id);10 if (iconData) {11 let defaultCustomizations = { ...defaultIconCustomisations };12 if (typeof customize === "function") {13 iconData = Object.assign({}, iconData);14 defaultCustomizations = customize(defaultCustomizations, iconData, `${collection}:${id}`) ?? defaultCustomizations;15 }16 const { attributes: { width, height, ...restAttributes }, body } = iconToSVG(iconData, defaultCustomizations);17 return await mergeIconProps(`<svg >${body}</svg>`, collection, id, options, () => {18 return {19 ...restAttributes,20 ...width ? { [loaderDefaultWidthProp]: width } : {},21 ...height ? { [loaderDefaultHeightProp]: height } : {}22 };23 });24 }25 }26}27export { searchForIcon };28 