@lobehub/icons
Version:
Popular AI / LLM Model Brand SVG Logo and Icon Collection
133 lines (132 loc) • 9.13 kB
JavaScript
'use client';
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
var _excluded = ["size", "style"];
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
function _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
import { memo } from 'react';
import { useFillIds } from "../../hooks/useFillId";
import { TITLE } from "../style";
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
var Icon = /*#__PURE__*/memo(function (_ref) {
var _ref$size = _ref.size,
size = _ref$size === void 0 ? '1em' : _ref$size,
style = _ref.style,
rest = _objectWithoutProperties(_ref, _excluded);
var _useFillIds = useFillIds(TITLE, 4),
_useFillIds2 = _slicedToArray(_useFillIds, 4),
a = _useFillIds2[0],
b = _useFillIds2[1],
c = _useFillIds2[2],
d = _useFillIds2[3];
return /*#__PURE__*/_jsxs("svg", _objectSpread(_objectSpread({
height: size,
style: _objectSpread({
flex: 'none',
lineHeight: 1
}, style),
viewBox: "0 0 24 24",
width: size,
xmlns: "http://www.w3.org/2000/svg"
}, rest), {}, {
children: [/*#__PURE__*/_jsx("title", {
children: TITLE
}), /*#__PURE__*/_jsx("path", {
d: "M8.162 7.758c2.093-2.738 3.831-5.445 4.498-7.63a.093.093 0 01.14-.051c2.324 1.539 6.558 2.552 10.301 2.576a.09.09 0 01.085.124c-1.243 3.158-2.765 8.817-2.823 15.28-.001.095-.135.13-.183.046-2.131-3.729-8.955-8.968-11.982-10.205a.09.09 0 01-.036-.14z",
fill: a.fill
}), /*#__PURE__*/_jsx("path", {
d: "M15.223 6.083A61.492 61.492 0 018.25 7.827c-.045.008-.055.071-.012.089 3.05 1.267 9.84 6.492 11.952 10.206a.017.017 0 00.022.007.018.018 0 00.01-.024l-4.999-12.02z",
fill: b.fill
}), /*#__PURE__*/_jsx("path", {
d: "M12.81.07c2.8 1.528 6.037 2.214 10.33 2.575.028.002.036.039.012.051-.55.282-3.695 1.883-6.03 2.74-.626.23-1.256.443-1.876.64a.028.028 0 01-.033-.016L12.746.128c-.017-.04.027-.078.065-.058z",
fill: c.fill
}), /*#__PURE__*/_jsx("path", {
d: "M12.725.075c.046-.019.1.003.119.05l7.514 17.923a.091.091 0 01-.148.1l-.02-.03L12.675.195a.091.091 0 01.049-.12z",
fill: "#513C9F"
}), /*#__PURE__*/_jsx("path", {
d: "M23.06 2.66c.044-.025.1-.01.125.034.025.044.009.1-.035.124v.001l-.008.004-.025.015-.1.054a41.384 41.384 0 01-1.811.92A47.05 47.05 0 0116.33 5.82c-1.954.674-3.97 1.197-5.497 1.552a66.27 66.27 0 01-2.38.507l-.138.026-.036.007h-.01l-.002.002a.091.091 0 11-.033-.18l.016.09-.015-.09h.002l.01-.002.035-.007.137-.025a66.16 66.16 0 002.373-.506c1.524-.354 3.533-.876 5.479-1.547a46.857 46.857 0 006.276-2.709c.166-.087.295-.156.381-.204l.099-.054.024-.014.008-.004z",
fill: "#513C9F"
}), /*#__PURE__*/_jsx("path", {
d: "M13.838 2.272a.16.16 0 01.107.2l-2.72 9.055h6.4l.061.013a.16.16 0 010 .295l-.061.013h-6.541L.679 24.099l-.05.04a.16.16 0 01-.194-.245l10.43-12.285 2.773-9.23a.16.16 0 01.2-.107z",
fill: "#ABABAB"
}), /*#__PURE__*/_jsx("path", {
d: "M7.809 21.461l-1.232.173c.638 1.69 1.949 2.427 3.514 2.427 3.831 0 2.661-4.334 4.883-4.334 1.61 0 .956 3.513 4.423 3.513 2.116 0 2.326-2.131 1.966-3.048l-.008-.016-.567-.868c-.037-.058-.127-.036-.133.032l-.106 1.053a1.01 1.01 0 00.003.219c.088.727.144 2.491-1.155 2.491-1.37 0-1.7-3.467-4.423-3.467-3.196 0-2.785 4.289-4.747 4.289-1.294 0-2.28-1.46-2.418-2.464z",
fill: d.fill
}), /*#__PURE__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: a.id,
x1: "17.852",
x2: "14.202",
y1: "1.467",
y2: "11.504",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#6430AB"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#AA89D8"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: b.id,
x1: "15.024",
x2: "10.324",
y1: "7.125",
y2: "16.204",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#005DBB"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#3D92E8"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: c.id,
x1: "17.122",
x2: "15.707",
y1: "1.467",
y2: "5.892",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#1B70C4"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#54A4F2"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: d.id,
x1: "6.577",
x2: "21.506",
y1: "21.758",
y2: "21.758",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#4497EA"
}), /*#__PURE__*/_jsx("stop", {
offset: ".255",
stopColor: "#1463B2"
}), /*#__PURE__*/_jsx("stop", {
offset: ".499",
stopColor: "#0A437D"
}), /*#__PURE__*/_jsx("stop", {
offset: ".667",
stopColor: "#2476C8"
}), /*#__PURE__*/_jsx("stop", {
offset: ".973",
stopColor: "#0C549A"
})]
})]
})]
}));
});
export default Icon;