@lobehub/icons
Version:
Popular AI / LLM Model Brand SVG Logo and Icon Collection
182 lines (181 loc) • 9.93 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({
fill: "none",
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("g", {
clipPath: a.fill,
children: /*#__PURE__*/_jsxs("g", {
transform: "matrix(-0.009271 -0.017448 0.0215011 -0.0134883 13.0472 18.2292)",
children: [/*#__PURE__*/_jsx("rect", {
fill: b.fill,
height: "666.506",
opacity: "1",
shapeRendering: "crispEdges",
width: "1077.71",
x: "0",
y: "0"
}), /*#__PURE__*/_jsx("rect", {
fill: b.fill,
height: "666.506",
opacity: "1",
shapeRendering: "crispEdges",
transform: "scale(1 -1)",
width: "1077.71",
x: "0",
y: "0"
}), /*#__PURE__*/_jsx("rect", {
fill: b.fill,
height: "666.506",
opacity: "1",
shapeRendering: "crispEdges",
transform: "scale(-1 1)",
width: "1077.71",
x: "0",
y: "0"
}), /*#__PURE__*/_jsx("rect", {
fill: b.fill,
height: "666.506",
opacity: "1",
shapeRendering: "crispEdges",
transform: "scale(-1)",
width: "1077.71",
x: "0",
y: "0"
})]
})
}), /*#__PURE__*/_jsx("g", {
clipPath: c.fill,
children: /*#__PURE__*/_jsxs("g", {
transform: "matrix(-0.00282575 -0.00489434 0.00971874 -0.00561112 16.5909 23.2227)",
children: [/*#__PURE__*/_jsx("rect", {
fill: d.fill,
height: "1485.61",
opacity: "1",
shapeRendering: "crispEdges",
width: "4828.03",
x: "0",
y: "0"
}), /*#__PURE__*/_jsx("rect", {
fill: d.fill,
height: "1485.61",
opacity: "1",
shapeRendering: "crispEdges",
transform: "scale(1 -1)",
width: "4828.03",
x: "0",
y: "0"
}), /*#__PURE__*/_jsx("rect", {
fill: d.fill,
height: "1485.61",
opacity: "1",
shapeRendering: "crispEdges",
transform: "scale(-1 1)",
width: "4828.03",
x: "0",
y: "0"
}), /*#__PURE__*/_jsx("rect", {
fill: d.fill,
height: "1485.61",
opacity: "1",
shapeRendering: "crispEdges",
transform: "scale(-1)",
width: "4828.03",
x: "0",
y: "0"
})]
})
}), /*#__PURE__*/_jsxs("defs", {
children: [/*#__PURE__*/_jsx("clipPath", {
id: a.id,
children: /*#__PURE__*/_jsx("path", {
d: "M5.25711 1.80765C8.76812 6.74075 14.4314 9.45056 20.0636 8.40323C20.4619 8.32917 20.8947 8.19661 21.3451 8.02311C22.2001 7.69374 23.3197 9.03389 22.6709 9.68084C22.2415 10.1091 21.8312 10.5013 21.4634 10.8278C18.9269 13.0793 16.1264 15.1096 13.0744 16.8717C10.003 18.6449 6.8237 20.0618 3.58429 21.1352C3.13145 21.2853 2.60446 21.4391 2.038 21.5917C1.15348 21.8301 0.554197 20.1919 1.2674 19.617C1.6464 19.3114 1.98071 19.0005 2.246 18.6902C5.96908 14.3363 6.29888 8.17371 3.71732 2.69665C3.6056 2.45961 3.48162 2.17153 3.35287 1.85684C2.99465 0.981289 4.04156 0.335123 4.65576 1.05462C4.89891 1.33945 5.10904 1.5996 5.25711 1.80765Z"
})
}), /*#__PURE__*/_jsx("clipPath", {
id: c.id,
children: /*#__PURE__*/_jsx("path", {
d: "M19.529 13.6948C17.2056 16.5579 16.7138 19.6388 17.1514 22.2781C17.1594 22.3264 17.1678 22.3799 17.1763 22.4375C17.2926 23.2284 16.3596 23.7154 15.7279 23.2254C15.6957 23.2004 15.6645 23.1765 15.6347 23.1538C13.5149 21.5401 11.0142 20.326 7.68635 20.7079C9.70085 20.1175 11.7605 19.243 13.7728 18.0812C15.9822 16.8056 17.9201 15.3074 19.529 13.6948Z"
})
}), /*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: b.id,
x1: "0",
x2: "500",
y1: "0",
y2: "500",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#27B2F0"
}), /*#__PURE__*/_jsx("stop", {
offset: "0.203234",
stopColor: "#26DFFB"
}), /*#__PURE__*/_jsx("stop", {
offset: "0.406468",
stopColor: "#30F5FE"
}), /*#__PURE__*/_jsx("stop", {
offset: "0.652506",
stopColor: "#F0FEFC"
}), /*#__PURE__*/_jsx("stop", {
offset: "0.863327",
stopColor: "#FBC610"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#FD9C22"
})]
}), /*#__PURE__*/_jsxs("linearGradient", {
gradientUnits: "userSpaceOnUse",
id: d.id,
x1: "0",
x2: "500",
y1: "0",
y2: "500",
children: [/*#__PURE__*/_jsx("stop", {
stopColor: "#1C6FFF"
}), /*#__PURE__*/_jsx("stop", {
offset: "1",
stopColor: "#24B5EF"
})]
})]
})]
}));
});
export default Icon;