您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
A UMD build of clsx
当前为
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.cn-greasyfork.org/scripts/510659/1456034/clsx-umd.js
- (function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
- typeof define === 'function' && define.amd ? define(factory) :
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.clsx = factory());
- })(this, (() => {
- function r(e) {
- var t, f, n = "";
- if ("string" == typeof e || "number" == typeof e)
- n += e;
- else if ("object" == typeof e)
- if (Array.isArray(e)) {
- var o = e.length;
- for (t = 0; t < o; t++)
- e[t] && (f = r(e[t])) && (n && (n += " "), n += f);
- } else
- for (f in e)
- e[f] && (n && (n += " "), n += f);
- return n;
- }
- function clsx() {
- for (var e, t, f = 0, n = "", o = arguments.length; f < o; f++)
- (e = arguments[f]) && (t = r(e)) && (n && (n += " "), n += t);
- return n;
- }
- return clsx;
- }));