karin-plugin-kkk 2.35.0 → 2.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/lib/build-metadata.json +5 -5
- package/lib/core_chunk/main.js +139 -100
- package/lib/core_chunk/vendor.js +183 -260
- package/lib/karin-plugin-kkk.css +198 -236
- package/lib/web/assets/CronEditor-KiEwYMrF.js +1 -0
- package/lib/web/assets/DesktopLayout-Cdla4l6u.js +1 -0
- package/lib/web/assets/MobileLayout-DfXVuyA-.js +1 -0
- package/lib/web/assets/{ThemeSwitch-M2yTf191.js → ThemeSwitch-DcAlzu8R.js} +1 -1
- package/lib/web/assets/index-3mh4kVq1.css +2 -0
- package/lib/web/assets/index-zS6iiHmV.js +47 -0
- package/lib/web/index.html +2 -2
- package/package.json +2 -2
- package/lib/web/assets/CronEditor-Cg5OQ1zE.js +0 -1
- package/lib/web/assets/DesktopLayout-R64EJDVu.js +0 -1
- package/lib/web/assets/MobileLayout-D45Q2A-w.js +0 -2
- package/lib/web/assets/index-Bz9RVG7l.js +0 -28
- package/lib/web/assets/index-C9k3Jf0p.css +0 -2
package/lib/core_chunk/main.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { i as __toESM } from "./rolldown-runtime.js";
|
|
2
|
-
import { $ as SiGooglephotos, $n as
|
|
2
|
+
import { $ as SiGooglephotos, $n as require_jsx_runtime, $t as Puzzle, A as RiHashtag, An as Copy, At as Upload, B as RiThumbUpFill, Bn as CircleAlert, Bt as ShoppingBag, C as AiFillHeart, Cn as Eye, Ct as X, D as Markdown, Dn as Crown, Dt as UsersRound, E as AiOutlineVideoCamera, En as Download, Et as Users, F as RiMessage3Fill, Fn as CircleQuestionMark, Ft as Star, G as RiVideoLine, Gn as Box, Gt as Search, H as RiTrophyFill, Hn as ChartColumn, Ht as ShieldCheck, I as RiPieChart2Fill, In as CircleFadingArrowUp, It as Square, J as SiSamsung, Jn as BellRing, Jt as RotateCcw, K as SiXiaomi, Kn as Bot, Kt as ScanLine, L as RiShareForwardFill, Ln as CircleEllipsis, Lt as SquarePen, M as RiHeart3Line, Mn as Clock, Mt as Trash2, N as RiHeartLine, Nn as Clock3, Nt as Terminal, O as RiArrowRightFill, On as Cpu, Ot as User, P as RiLiveLine, Pn as Clapperboard, Pt as Sun, Q as SiHonor, Qn as clsx, Qt as QrCode, R as RiStarFill, Rn as CircleCheck, Rt as Sparkles, S as BiImage, Sn as FilePlay, St as Zap, T as AiFillStar, Tn as ExternalLink, Tt as Video, U as RiUserFollowLine, Un as Camera, Ut as Share2, V as RiTiktokFill, Vn as Check, Vt as Shield, W as RiVerifiedBadgeFill, Wn as Calendar, Wt as Settings2, X as SiOneplus, Xn as Chip, Xt as Radio, Y as SiOppo, Yn as ArrowDownToLine, Yt as RefreshCw, Z as SiHuawei, Zn as Button, Zt as Quote, _ as MdSchedule, _n as Hash, _t as fromUnixTime, a as VictoryScatter, an as Moon, ar as zod_default, at as r, b as FaTiktok, bn as Gamepad2, bt as differenceInSeconds, c as VictoryChart, cn as Menu, ct as m, d as VictoryTheme, dn as LoaderCircle, dt as e, en as Plus, er as require_server_node, et as SiGithub, f as rehypeHighlight, fn as Link, ft as a$1, g as MdLocationOn, gn as Heart, gt as parse, h as MdLightbulbOutline, hn as Image$1, ht as zhCN, i as require_heic_decode, in as Music, ir as Xhshow, it as o$2, j as RiHeart3Fill, jn as Code, jt as TriangleAlert, k as RiGroupLine, kn as CornerDownLeft, kt as UserPlus, l as VictoryAxis, ln as Maximize, lt as a, m as MdInfoOutline, mn as Info, mt as c, n as require_lib, nn as Pencil, nr as require_protobufjs, nt as SiApple, o as VictoryPie, on as Monitor, ot as o, p as MdFitScreen, pn as LayoutTemplate, pt as o$1, q as SiVivo, qn as Bookmark, qt as Save, r as require_jpeg_js, rn as Palette, rr as Chalk, rt as SiAnthropic, s as VictoryLine, sn as MessageCircle, st as o$3, t as createProxyMiddleware, tn as Play, tr as require_react, tt as SiBilibili, u as VictoryLabel, un as MapPin, ut as n, v as FaCommentDots, vn as GitBranch, vt as formatDistanceToNow, w as AiFillPushpin, wn as EyeOff, wt as WandSparkles, x as FaUserGroup, xn as FileText, xt as twMerge, y as FaMusic, yn as Gift, yt as format, z as RiStarLine, zn as CircleCheckBig, zt as Smartphone } from "./vendor.js";
|
|
3
3
|
import "node:module";
|
|
4
4
|
import fs from "node:fs";
|
|
5
5
|
import path, { resolve } from "node:path";
|
|
6
|
-
import URL$
|
|
6
|
+
import URL$1, { fileURLToPath } from "node:url";
|
|
7
7
|
import karin$1, { BOT_CONNECT, app, authMiddleware, checkPkgUpdate, checkPort, common, config, createBadRequestResponse, createNotFoundResponse, createServerErrorResponse, createSuccessResponse, db, defineConfig, ffmpeg, ffprobe, hooks, karin, karinPathHtml, karinPathTemp, logger, logger as logger$1, logs, mkdirSync, parseChangelog, range, render, restart, segment, updatePkg, watch } from "node-karin";
|
|
8
8
|
import { EventEmitter } from "node:events";
|
|
9
9
|
import crypto from "node:crypto";
|
|
@@ -3288,7 +3288,7 @@ var XBogus = class {
|
|
|
3288
3288
|
* @returns 包含完整URL、X-Bogus值和使用的User-Agent的元组
|
|
3289
3289
|
*/
|
|
3290
3290
|
getXBogus(url, ua) {
|
|
3291
|
-
const parsedUrl = new URL$
|
|
3291
|
+
const parsedUrl = new URL$1.URL(url);
|
|
3292
3292
|
const urlPath = parsedUrl.pathname + parsedUrl.search;
|
|
3293
3293
|
const currentUa = ua ?? this.defaultUa;
|
|
3294
3294
|
const rc4EncryptedUa = this.rc4Encrypt(this.uaKey, currentUa);
|
|
@@ -19032,6 +19032,69 @@ var BilibiliVideoInfo = import_react.memo((props) => {
|
|
|
19032
19032
|
});
|
|
19033
19033
|
BilibiliVideoInfo.displayName = "BilibiliVideoInfo";
|
|
19034
19034
|
//#endregion
|
|
19035
|
+
//#region ../template/src/components/platforms/douyin/Icons.tsx
|
|
19036
|
+
var svgProps = (size, { weight: _weight, ...props }) => ({
|
|
19037
|
+
width: size,
|
|
19038
|
+
height: size,
|
|
19039
|
+
fill: "none",
|
|
19040
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19041
|
+
...props
|
|
19042
|
+
});
|
|
19043
|
+
/** 抖音官方点赞图标,提取自 packages/template/icon.html。 */
|
|
19044
|
+
var DouyinLikeIcon = ({ size = 36, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
19045
|
+
viewBox: "0 0 891 816",
|
|
19046
|
+
...svgProps(size, props),
|
|
19047
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
19048
|
+
fill: "currentColor",
|
|
19049
|
+
d: "M453.036 88.712C493.774 30.664 560.66 0 634.251 0 774.403 0 890.972 121.59 890.972 266.137v.054c.01-.02.019-.04.028-.06 0 4.121-.07 7.241-.122 9.537-.072 3.151-.108 4.747.122 5.247-.531 30.403-5.778 55.522-15.101 88.712-5.289 5.96-10.204 17.184-15.1 29.572-7.724 11.998-10.647 17.81-15.101 29.57a546.67 546.67 0 0 1-14.452 22.974c-37.449 56.8-87.537 113.33-137.579 163.509-78.331 79.025-158.123 144.805-192.835 173.422-9.585 7.901-15.732 12.969-17.464 14.7-12.301 12.303-24.603 12.611-36.905 12.619-.324.004-.649.006-.977.006-25.236 0-37.854-12.619-50.472-25.237-.963-.963-3.413-2.984-7.156-5.979-38.233-28.184-124.273-96.997-205.116-180C121.066 542.02 61.622 470.007 29.092 399.588 16.474 374.351.731 314.264 0 280.922c.269-.267.227-1.873.144-5.078C.083 273.498 0 270.297 0 266.137 0 121.524 116.502 0 256.721 0c73.458 0 140.405 30.664 196.315 88.712Z"
|
|
19050
|
+
})
|
|
19051
|
+
});
|
|
19052
|
+
/** 抖音官方评论图标,提取自 packages/template/icon.html。 */
|
|
19053
|
+
var DouyinCommentIcon = ({ size = 36, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
19054
|
+
viewBox: "-24.75 -11.25 22.5 22.31",
|
|
19055
|
+
...svgProps(size, props),
|
|
19056
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
19057
|
+
fill: "currentColor",
|
|
19058
|
+
d: " M-4.644999980926514,4.482999801635742 C-7.25,7.818999767303467 -13.482000350952148,8.300000190734863 -13.482000350952148,8.300000190734863 C-13.482000350952148,8.300000190734863 -14.413999557495117,11.48799991607666 -12.135000228881836,10.821000099182129 C-9.855999946594238,10.154000282287598 -7.25,8.152000427246094 -4.644999980926514,4.482999801635742z M-17.36,-1.04 C-17.36,-0.16 -18.07,0.56 -18.96,0.56 C-18.96,0.56 -18.96,0.56 -18.96,0.56 C-19.85,0.56 -20.57,-0.16 -20.57,-1.04 C-20.57,-1.92 -19.85,-2.64 -18.96,-2.64 C-18.07,-2.64 -17.36,-1.92 -17.36,-1.04z M-11.89,-1.04 C-11.89,-0.16 -12.61,0.56 -13.5,0.56 C-13.5,0.56 -13.5,0.56 -13.5,0.56 C-14.39,0.56 -15.11,-0.16 -15.11,-1.04 C-15.11,-1.92 -14.39,-2.64 -13.5,-2.64 C-12.61,-2.64 -11.89,-1.92 -11.89,-1.04z M-6.43,-1.04 C-6.43,-0.16 -7.15,0.56 -8.04,0.56 C-8.04,0.56 -8.04,0.56 -8.04,0.56 C-8.92,0.56 -9.64,-0.16 -9.64,-1.04 C-9.64,-1.92 -8.92,-2.64 -8.04,-2.64 C-7.15,-2.64 -6.43,-1.92 -6.43,-1.04z M-5.79,5.98 C-3.56,3.75 -2.25,1.42 -2.25,-1.29 C-2.25,-6.79 -7.29,-11.25 -13.5,-11.25 C-19.71,-11.25 -24.75,-6.79 -24.75,-1.29 C-24.75,4.21 -19.55,7.99 -13.34,7.99 C-13.34,7.99 -13.34,11.06 -13.34,11.06 C-13.34,11.06 -8.51,8.72 -5.79,5.98z"
|
|
19059
|
+
})
|
|
19060
|
+
});
|
|
19061
|
+
/** 抖音官方收藏图标,提取自 packages/template/icon.html。 */
|
|
19062
|
+
var DouyinFavoriteIcon = ({ size = 36, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
19063
|
+
viewBox: "-2.285 -1.439 104.57 99.703",
|
|
19064
|
+
...svgProps(size, props),
|
|
19065
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
19066
|
+
fill: "currentColor",
|
|
19067
|
+
d: "M43.79199981689453,4.316999912261963 C45.93899917602539,-1.4390000104904175 54.06100082397461,-1.4390000104904175 56.20800018310547,4.316999912261963 C56.20800018310547,4.316999912261963 65.927001953125,30.375 65.927001953125,30.375 C65.927001953125,30.375 93.6510009765625,31.59000015258789 93.6510009765625,31.59000015258789 C99.7750015258789,31.857999801635742 102.28500366210938,39.60200119018555 97.48799896240234,43.428001403808594 C97.48799896240234,43.428001403808594 75.77100372314453,60.74700164794922 75.77100372314453,60.74700164794922 C75.77100372314453,60.74700164794922 83.18599700927734,87.55599975585938 83.18599700927734,87.55599975585938 C84.8239974975586,93.47799682617188 78.25299835205078,98.26399993896484 73.14099884033203,94.87200164794922 C73.14099884033203,94.87200164794922 50,79.51799774169922 50,79.51799774169922 C50,79.51799774169922 26.858999252319336,94.87200164794922 26.858999252319336,94.87200164794922 C21.746999740600586,98.26399993896484 15.175999641418457,93.47799682617188 16.81399917602539,87.55599975585938 C16.81399917602539,87.55599975585938 24.229000091552734,60.74700164794922 24.229000091552734,60.74700164794922 C24.229000091552734,60.74700164794922 2.51200008392334,43.428001403808594 2.51200008392334,43.428001403808594 C-2.2850000858306885,39.60200119018555 0.22499999403953552,31.857999801635742 6.348999977111816,31.59000015258789 C6.348999977111816,31.59000015258789 34.073001861572266,30.375 34.073001861572266,30.375 C34.073001861572266,30.375 43.79199981689453,4.316999912261963 43.79199981689453,4.316999912261963z"
|
|
19068
|
+
})
|
|
19069
|
+
});
|
|
19070
|
+
/** 抖音官方分享图标,提取自 packages/template/icon.html。 */
|
|
19071
|
+
var DouyinShareIcon = ({ size = 36, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
19072
|
+
viewBox: "-13.517 -10.558 25.734 22.375",
|
|
19073
|
+
...svgProps(size, props),
|
|
19074
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
19075
|
+
fill: "currentColor",
|
|
19076
|
+
d: "M.815 4.762V-4.93s-6.033-.564-10.06 3.755c-4.027 4.319-4.272 12.992-1.597 8.919C-8.062 3.511.815 4.762.815 4.762Zm9.699-1.767c1.655-1.461 1.703-3.887.107-5.413L3.706-9.032C2.11-10.558.815-10.264.815-8.375v3.421c.009 6.839 0 6.039 0 6.039 0 2.208 0 5.452 0 7.24 0 1.788 1.343 2.053 2.998.591l6.701-5.921Z"
|
|
19077
|
+
})
|
|
19078
|
+
});
|
|
19079
|
+
/** 抖音官方推荐图标。 */
|
|
19080
|
+
var DouyinRecommendIcon = ({ size = 36, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
19081
|
+
viewBox: "0 0 27 27",
|
|
19082
|
+
...svgProps(size, props),
|
|
19083
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
19084
|
+
fill: "currentColor",
|
|
19085
|
+
d: "M18.544 22.86H8.42V9.697l5.821-5.821a1.79 1.79 0 0 1 2.531 0c.118.118.215.278.291.48.076.203.114.397.114.583v.354l-1.114 4.404h5.518c.54 0 1.012.203 1.417.608.405.405.608.877.608 1.417v2.025a2.059 2.059 0 0 1-.152.759l-3.037 7.137c-.152.338-.405.625-.76.861a1.978 1.978 0 0 1-1.113.354ZM6.79 9.697V22.86H4.366a1.625 1.625 0 0 1-1.625-1.625v-9.91c0-.898.728-1.626 1.625-1.626H6.79Z"
|
|
19086
|
+
})
|
|
19087
|
+
});
|
|
19088
|
+
/** 抖音官方更多图标,提取自 packages/template/icon.html。 */
|
|
19089
|
+
var DouyinMoreIcon = ({ size = 36, ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
19090
|
+
viewBox: "0 0 36 36",
|
|
19091
|
+
...svgProps(size, props),
|
|
19092
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
19093
|
+
fill: "currentColor",
|
|
19094
|
+
d: "M13.556 17.778a1.778 1.778 0 1 1-3.556 0 1.778 1.778 0 0 1 3.556 0Zm6.222 0a1.778 1.778 0 1 1-3.556 0 1.778 1.778 0 0 1 3.556 0Zm4.444 1.778a1.778 1.778 0 1 0 0-3.556 1.778 1.778 0 0 0 0 3.556Z"
|
|
19095
|
+
})
|
|
19096
|
+
});
|
|
19097
|
+
//#endregion
|
|
19035
19098
|
//#region ../template/src/components/platforms/douyin/ArticleWork.tsx
|
|
19036
19099
|
/**
|
|
19037
19100
|
* 抖音Logo头部组件
|
|
@@ -19173,22 +19236,22 @@ var InfoSection$2 = (props) => {
|
|
|
19173
19236
|
children: [
|
|
19174
19237
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19175
19238
|
className: "flex gap-2 items-center",
|
|
19176
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19239
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [props.data.dianzan, "点赞"] })]
|
|
19177
19240
|
}),
|
|
19178
19241
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "·" }),
|
|
19179
19242
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19180
19243
|
className: "flex gap-2 items-center",
|
|
19181
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19244
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinCommentIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [props.data.pinglun, "评论"] })]
|
|
19182
19245
|
}),
|
|
19183
19246
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "·" }),
|
|
19184
19247
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19185
19248
|
className: "flex gap-2 items-center",
|
|
19186
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19249
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinFavoriteIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [props.data.shouchang, "收藏"] })]
|
|
19187
19250
|
}),
|
|
19188
19251
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "·" }),
|
|
19189
19252
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19190
19253
|
className: "flex gap-2 items-center",
|
|
19191
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19254
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinShareIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [props.data.share, "分享"] })]
|
|
19192
19255
|
})
|
|
19193
19256
|
]
|
|
19194
19257
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
@@ -19236,7 +19299,7 @@ var UserInfoSection$1 = (props) => {
|
|
|
19236
19299
|
children: [
|
|
19237
19300
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19238
19301
|
className: "flex gap-1 items-center",
|
|
19239
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19302
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 28 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19240
19303
|
className: "text-muted",
|
|
19241
19304
|
children: "获赞"
|
|
19242
19305
|
})]
|
|
@@ -19422,28 +19485,28 @@ var VideoInfoHeader = (props) => {
|
|
|
19422
19485
|
children: [
|
|
19423
19486
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19424
19487
|
className: "flex items-center gap-4 text-foreground/50",
|
|
19425
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19488
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 48 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19426
19489
|
className: "text-5xl font-medium text-foreground/90",
|
|
19427
19490
|
children: formatDouyinCommentDiggCount(props.Statistics.digg_count)
|
|
19428
19491
|
})]
|
|
19429
19492
|
}),
|
|
19430
19493
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19431
19494
|
className: "flex items-center gap-4 text-foreground/50",
|
|
19432
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19495
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinCommentIcon, { size: 48 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19433
19496
|
className: "text-5xl font-medium text-foreground/90",
|
|
19434
19497
|
children: formatDouyinCommentDiggCount(props.Statistics.comment_count)
|
|
19435
19498
|
})]
|
|
19436
19499
|
}),
|
|
19437
19500
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19438
19501
|
className: "flex items-center gap-4 text-foreground/50",
|
|
19439
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19502
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinShareIcon, { size: 48 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19440
19503
|
className: "text-5xl font-medium text-foreground/90",
|
|
19441
19504
|
children: formatDouyinCommentDiggCount(props.Statistics.share_count)
|
|
19442
19505
|
})]
|
|
19443
19506
|
}),
|
|
19444
19507
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19445
19508
|
className: "flex items-center gap-4 text-foreground/50",
|
|
19446
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19509
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinFavoriteIcon, { size: 48 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19447
19510
|
className: "text-5xl font-medium text-foreground/90",
|
|
19448
19511
|
children: formatDouyinCommentDiggCount(props.Statistics.collect_count)
|
|
19449
19512
|
})]
|
|
@@ -19583,7 +19646,7 @@ var ReplyItemComponent = ({ reply, depth = 0, isLast, maxDepth = 6 }) => {
|
|
|
19583
19646
|
className: "flex items-center h-12.5",
|
|
19584
19647
|
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19585
19648
|
className: "flex items-center text-muted",
|
|
19586
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19649
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinMoreIcon, {
|
|
19587
19650
|
size: 45,
|
|
19588
19651
|
className: "mr-5"
|
|
19589
19652
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
@@ -19689,10 +19752,7 @@ var ReplyItemComponent = ({ reply, depth = 0, isLast, maxDepth = 6 }) => {
|
|
|
19689
19752
|
}),
|
|
19690
19753
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19691
19754
|
className: "flex gap-2 items-center",
|
|
19692
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19693
|
-
size: 40,
|
|
19694
|
-
className: "text-muted"
|
|
19695
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19755
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 40 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19696
19756
|
className: "text-4xl select-text",
|
|
19697
19757
|
children: formatDouyinCommentDiggCount(reply.digg_count)
|
|
19698
19758
|
})]
|
|
@@ -19796,10 +19856,7 @@ var CommentItemComponent$1 = (props) => {
|
|
|
19796
19856
|
}),
|
|
19797
19857
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19798
19858
|
className: "flex gap-2 items-center transition-colors cursor-pointer",
|
|
19799
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
19800
|
-
size: 44,
|
|
19801
|
-
className: "text-muted"
|
|
19802
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19859
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
19803
19860
|
className: "text-4xl select-text",
|
|
19804
19861
|
children: formatDouyinCommentDiggCount(props.digg_count)
|
|
19805
19862
|
})]
|
|
@@ -19941,22 +19998,22 @@ var InfoSection$1 = (props) => {
|
|
|
19941
19998
|
children: [
|
|
19942
19999
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19943
20000
|
className: "flex gap-2 items-center",
|
|
19944
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
20001
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [props.data.dianzan, "点赞"] })]
|
|
19945
20002
|
}),
|
|
19946
20003
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "·" }),
|
|
19947
20004
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19948
20005
|
className: "flex gap-2 items-center",
|
|
19949
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
20006
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinCommentIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [props.data.pinglun, "评论"] })]
|
|
19950
20007
|
}),
|
|
19951
20008
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "·" }),
|
|
19952
20009
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19953
20010
|
className: "flex gap-2 items-center",
|
|
19954
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
20011
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinFavoriteIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [props.data.shouchang, "收藏"] })]
|
|
19955
20012
|
}),
|
|
19956
20013
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "·" }),
|
|
19957
20014
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
19958
20015
|
className: "flex gap-2 items-center",
|
|
19959
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
20016
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinShareIcon, { size: 44 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: [props.data.share, "分享"] })]
|
|
19960
20017
|
})
|
|
19961
20018
|
]
|
|
19962
20019
|
}),
|
|
@@ -20015,10 +20072,7 @@ var UserInfoSection = (props) => {
|
|
|
20015
20072
|
children: [
|
|
20016
20073
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
20017
20074
|
className: "flex gap-1 items-center",
|
|
20018
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
20019
|
-
size: 28,
|
|
20020
|
-
className: "text-like"
|
|
20021
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
20075
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 28 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
20022
20076
|
className: "text-muted",
|
|
20023
20077
|
children: "获赞"
|
|
20024
20078
|
})]
|
|
@@ -20287,10 +20341,7 @@ var DouyinFavoriteList = (props) => {
|
|
|
20287
20341
|
}),
|
|
20288
20342
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
20289
20343
|
className: "absolute -bottom-3 -right-3 bg-rose-500 text-white px-5 py-2 rounded-full border-[5px] border-white font-bold text-xl shadow-xl flex items-center gap-2",
|
|
20290
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
20291
|
-
size: 20,
|
|
20292
|
-
className: "fill-current"
|
|
20293
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "赞了" })]
|
|
20344
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 20 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "赞了" })]
|
|
20294
20345
|
})
|
|
20295
20346
|
]
|
|
20296
20347
|
}),
|
|
@@ -20314,10 +20365,7 @@ var DouyinFavoriteList = (props) => {
|
|
|
20314
20365
|
className: "mt-6 flex flex-col items-center gap-2 text-rose-500",
|
|
20315
20366
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
20316
20367
|
className: "flex items-center gap-3",
|
|
20317
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
20318
|
-
size: 40,
|
|
20319
|
-
className: "fill-current"
|
|
20320
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
20368
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 40 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
20321
20369
|
className: "text-4xl font-bold",
|
|
20322
20370
|
children: "刚刚赞了这个作品"
|
|
20323
20371
|
})]
|
|
@@ -20424,24 +20472,24 @@ var DouyinFavoriteList = (props) => {
|
|
|
20424
20472
|
className: "grid grid-cols-5 gap-6 z-10",
|
|
20425
20473
|
children: [
|
|
20426
20474
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$3, {
|
|
20427
|
-
icon:
|
|
20475
|
+
icon: DouyinLikeIcon,
|
|
20428
20476
|
value: props.data.dianzan,
|
|
20429
|
-
|
|
20477
|
+
iconColor: "#FE2C55"
|
|
20430
20478
|
}),
|
|
20431
20479
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$3, {
|
|
20432
|
-
icon:
|
|
20480
|
+
icon: DouyinRecommendIcon,
|
|
20433
20481
|
value: props.data.tuijian
|
|
20434
20482
|
}),
|
|
20435
20483
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$3, {
|
|
20436
|
-
icon:
|
|
20484
|
+
icon: DouyinCommentIcon,
|
|
20437
20485
|
value: props.data.pinglun
|
|
20438
20486
|
}),
|
|
20439
20487
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$3, {
|
|
20440
|
-
icon:
|
|
20488
|
+
icon: DouyinFavoriteIcon,
|
|
20441
20489
|
value: props.data.shouchang
|
|
20442
20490
|
}),
|
|
20443
20491
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$3, {
|
|
20444
|
-
icon:
|
|
20492
|
+
icon: DouyinShareIcon,
|
|
20445
20493
|
value: props.data.share
|
|
20446
20494
|
})
|
|
20447
20495
|
]
|
|
@@ -20454,11 +20502,12 @@ var DouyinFavoriteList = (props) => {
|
|
|
20454
20502
|
});
|
|
20455
20503
|
};
|
|
20456
20504
|
/** 统计项小组件 */
|
|
20457
|
-
var StatItem$3 = ({ icon: IconComponent, value,
|
|
20505
|
+
var StatItem$3 = ({ icon: IconComponent, value, iconColor }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
20458
20506
|
className: "flex flex-col items-center justify-center gap-2 py-6 rounded-3xl bg-surface",
|
|
20459
20507
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconComponent, {
|
|
20460
20508
|
size: 48,
|
|
20461
|
-
|
|
20509
|
+
color: iconColor,
|
|
20510
|
+
className: "opacity-90"
|
|
20462
20511
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
20463
20512
|
className: "text-2xl font-bold text-foreground/70 mt-1",
|
|
20464
20513
|
children: value
|
|
@@ -20727,22 +20776,22 @@ var DouyinDynamicStatus$1 = (props) => {
|
|
|
20727
20776
|
className: "flex gap-6 items-center text-5xl tracking-normal select-text text-foreground/70",
|
|
20728
20777
|
children: [
|
|
20729
20778
|
{
|
|
20730
|
-
icon:
|
|
20779
|
+
icon: DouyinLikeIcon,
|
|
20731
20780
|
value: dianzan,
|
|
20732
20781
|
label: "点赞"
|
|
20733
20782
|
},
|
|
20734
20783
|
{
|
|
20735
|
-
icon:
|
|
20784
|
+
icon: DouyinCommentIcon,
|
|
20736
20785
|
value: pinglun,
|
|
20737
20786
|
label: "评论"
|
|
20738
20787
|
},
|
|
20739
20788
|
{
|
|
20740
|
-
icon:
|
|
20789
|
+
icon: DouyinFavoriteIcon,
|
|
20741
20790
|
value: shouchang,
|
|
20742
20791
|
label: "收藏"
|
|
20743
20792
|
},
|
|
20744
20793
|
{
|
|
20745
|
-
icon:
|
|
20794
|
+
icon: DouyinShareIcon,
|
|
20746
20795
|
value: share,
|
|
20747
20796
|
label: "分享"
|
|
20748
20797
|
}
|
|
@@ -20911,19 +20960,19 @@ var DouyinDynamicFooter$1 = (props) => {
|
|
|
20911
20960
|
className: "text-3xl flex gap-6 items-center text-foreground/70",
|
|
20912
20961
|
children: [
|
|
20913
20962
|
{
|
|
20914
|
-
icon:
|
|
20963
|
+
icon: DouyinLikeIcon,
|
|
20915
20964
|
iconSize: 36,
|
|
20916
20965
|
label: "获赞",
|
|
20917
20966
|
value: 获赞
|
|
20918
20967
|
},
|
|
20919
20968
|
{
|
|
20920
|
-
icon: o$
|
|
20969
|
+
icon: o$3,
|
|
20921
20970
|
iconSize: 36,
|
|
20922
20971
|
label: "关注",
|
|
20923
20972
|
value: 关注
|
|
20924
20973
|
},
|
|
20925
20974
|
{
|
|
20926
|
-
icon: r
|
|
20975
|
+
icon: r,
|
|
20927
20976
|
iconSize: 36,
|
|
20928
20977
|
label: "粉丝",
|
|
20929
20978
|
value: 粉丝
|
|
@@ -21186,10 +21235,7 @@ var InfoSection = ({ data }) => {
|
|
|
21186
21235
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", {
|
|
21187
21236
|
className: "flex items-center gap-1.5",
|
|
21188
21237
|
children: [
|
|
21189
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
21190
|
-
size: 28,
|
|
21191
|
-
className: "text-foreground/20"
|
|
21192
|
-
}),
|
|
21238
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 28 }),
|
|
21193
21239
|
data.like_count,
|
|
21194
21240
|
"点赞"
|
|
21195
21241
|
]
|
|
@@ -21301,7 +21347,7 @@ var BottomSection = ({ data }) => {
|
|
|
21301
21347
|
className: "flex flex-col gap-2 px-6 py-3 rounded-2xl bg-default/45",
|
|
21302
21348
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
21303
21349
|
className: "flex items-center gap-2",
|
|
21304
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
21350
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 28 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
21305
21351
|
className: "text-foreground/40",
|
|
21306
21352
|
children: "获赞"
|
|
21307
21353
|
})]
|
|
@@ -21463,7 +21509,7 @@ var MusicAuthorInfoSection = ({ avatarUrl, username, userShortId, totalFavorited
|
|
|
21463
21509
|
}),
|
|
21464
21510
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
21465
21511
|
className: "flex gap-2 items-center",
|
|
21466
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
21512
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 32 }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("span", { children: ["获赞: ", totalFavorited] })]
|
|
21467
21513
|
}),
|
|
21468
21514
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
21469
21515
|
className: "flex gap-2 items-center",
|
|
@@ -21855,10 +21901,7 @@ var DouyinRecommendList = (props) => {
|
|
|
21855
21901
|
}),
|
|
21856
21902
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
21857
21903
|
className: "absolute -bottom-3 -right-3 bg-emerald-500 text-white px-5 py-2 rounded-full border-[5px] border-white font-bold text-xl shadow-xl flex items-center gap-2",
|
|
21858
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
21859
|
-
size: 20,
|
|
21860
|
-
className: "fill-current"
|
|
21861
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "推荐" })]
|
|
21904
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinRecommendIcon, { size: 20 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "推荐" })]
|
|
21862
21905
|
})
|
|
21863
21906
|
]
|
|
21864
21907
|
}),
|
|
@@ -21882,10 +21925,7 @@ var DouyinRecommendList = (props) => {
|
|
|
21882
21925
|
className: "mt-6 flex flex-col items-center gap-2 text-emerald-500",
|
|
21883
21926
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
21884
21927
|
className: "flex items-center gap-3",
|
|
21885
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
21886
|
-
size: 40,
|
|
21887
|
-
className: "fill-current"
|
|
21888
|
-
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
21928
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinRecommendIcon, { size: 40 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
21889
21929
|
className: "text-4xl font-bold",
|
|
21890
21930
|
children: "刚刚推荐了这个作品"
|
|
21891
21931
|
})]
|
|
@@ -21992,24 +22032,24 @@ var DouyinRecommendList = (props) => {
|
|
|
21992
22032
|
className: "grid grid-cols-5 gap-6 z-10",
|
|
21993
22033
|
children: [
|
|
21994
22034
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$2, {
|
|
21995
|
-
icon:
|
|
22035
|
+
icon: DouyinLikeIcon,
|
|
21996
22036
|
value: props.data.dianzan
|
|
21997
22037
|
}),
|
|
21998
22038
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$2, {
|
|
21999
|
-
icon:
|
|
22039
|
+
icon: DouyinRecommendIcon,
|
|
22000
22040
|
value: props.data.tuijian,
|
|
22001
|
-
|
|
22041
|
+
iconColor: "#13C15A"
|
|
22002
22042
|
}),
|
|
22003
22043
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$2, {
|
|
22004
|
-
icon:
|
|
22044
|
+
icon: DouyinCommentIcon,
|
|
22005
22045
|
value: props.data.pinglun
|
|
22006
22046
|
}),
|
|
22007
22047
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$2, {
|
|
22008
|
-
icon:
|
|
22048
|
+
icon: DouyinFavoriteIcon,
|
|
22009
22049
|
value: props.data.shouchang
|
|
22010
22050
|
}),
|
|
22011
22051
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$2, {
|
|
22012
|
-
icon:
|
|
22052
|
+
icon: DouyinShareIcon,
|
|
22013
22053
|
value: props.data.share
|
|
22014
22054
|
})
|
|
22015
22055
|
]
|
|
@@ -22022,11 +22062,12 @@ var DouyinRecommendList = (props) => {
|
|
|
22022
22062
|
});
|
|
22023
22063
|
};
|
|
22024
22064
|
/** 统计项小组件 */
|
|
22025
|
-
var StatItem$2 = ({ icon: IconComponent, value,
|
|
22065
|
+
var StatItem$2 = ({ icon: IconComponent, value, iconColor }) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
22026
22066
|
className: "flex flex-col items-center justify-center gap-2 py-6 rounded-3xl bg-surface",
|
|
22027
22067
|
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(IconComponent, {
|
|
22028
22068
|
size: 48,
|
|
22029
|
-
|
|
22069
|
+
color: iconColor,
|
|
22070
|
+
className: "opacity-90"
|
|
22030
22071
|
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
22031
22072
|
className: "text-2xl font-bold text-foreground/70 mt-1",
|
|
22032
22073
|
children: value
|
|
@@ -22043,12 +22084,12 @@ var pushTypeConfig = {
|
|
|
22043
22084
|
favorite: {
|
|
22044
22085
|
label: "喜欢列表",
|
|
22045
22086
|
color: "bg-[#d94f50]/5 text-[#b04546] border-[#d94f50]/12",
|
|
22046
|
-
icon:
|
|
22087
|
+
icon: DouyinLikeIcon
|
|
22047
22088
|
},
|
|
22048
22089
|
recommend: {
|
|
22049
22090
|
label: "推荐列表",
|
|
22050
22091
|
color: "bg-[#c9943a]/5 text-[#a07d30] border-[#c9943a]/12",
|
|
22051
|
-
icon:
|
|
22092
|
+
icon: DouyinRecommendIcon
|
|
22052
22093
|
},
|
|
22053
22094
|
live: {
|
|
22054
22095
|
label: "直播状态",
|
|
@@ -22182,7 +22223,7 @@ var DouyinUserItem = (props) => {
|
|
|
22182
22223
|
label: "粉丝"
|
|
22183
22224
|
},
|
|
22184
22225
|
{
|
|
22185
|
-
icon:
|
|
22226
|
+
icon: DouyinLikeIcon,
|
|
22186
22227
|
value: props.total_favorited,
|
|
22187
22228
|
label: "获赞"
|
|
22188
22229
|
},
|
|
@@ -22454,19 +22495,19 @@ var VideoCard = ({ video }) => {
|
|
|
22454
22495
|
children: [
|
|
22455
22496
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
22456
22497
|
className: "flex items-center gap-2 text-foreground/70",
|
|
22457
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22498
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 34 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: formatCount(video.statistics.like_count) })]
|
|
22458
22499
|
}),
|
|
22459
22500
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
22460
22501
|
className: "flex items-center gap-2 text-foreground/70",
|
|
22461
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22502
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinCommentIcon, { size: 34 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: formatCount(video.statistics.comment_count) })]
|
|
22462
22503
|
}),
|
|
22463
22504
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
22464
22505
|
className: "flex items-center gap-2 text-foreground/70",
|
|
22465
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22506
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinFavoriteIcon, { size: 34 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: formatCount(video.statistics.collect_count) })]
|
|
22466
22507
|
}),
|
|
22467
22508
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
22468
22509
|
className: "flex items-center gap-2 text-foreground/70",
|
|
22469
|
-
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22510
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinShareIcon, { size: 34 }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: formatCount(video.statistics.share_count) })]
|
|
22470
22511
|
})
|
|
22471
22512
|
]
|
|
22472
22513
|
})
|
|
@@ -22572,10 +22613,7 @@ var DouyinUserVideoList = (prpos) => {
|
|
|
22572
22613
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
22573
22614
|
className: "flex items-center gap-2",
|
|
22574
22615
|
children: [
|
|
22575
|
-
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22576
|
-
size: 28,
|
|
22577
|
-
className: "text-muted"
|
|
22578
|
-
}),
|
|
22616
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 28 }),
|
|
22579
22617
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
|
|
22580
22618
|
className: "text-muted",
|
|
22581
22619
|
children: "获赞"
|
|
@@ -22792,19 +22830,19 @@ var DouyinVideoInfo = import_react.memo((props) => {
|
|
|
22792
22830
|
className: "flex items-center gap-14 shrink-0",
|
|
22793
22831
|
children: [
|
|
22794
22832
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$1, {
|
|
22795
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22833
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinLikeIcon, { size: 48 }),
|
|
22796
22834
|
value: props.data.statistics.digg_count
|
|
22797
22835
|
}),
|
|
22798
22836
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$1, {
|
|
22799
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22837
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinCommentIcon, { size: 48 }),
|
|
22800
22838
|
value: props.data.statistics.comment_count
|
|
22801
22839
|
}),
|
|
22802
22840
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$1, {
|
|
22803
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22841
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinFavoriteIcon, { size: 48 }),
|
|
22804
22842
|
value: props.data.statistics.collect_count
|
|
22805
22843
|
}),
|
|
22806
22844
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StatItem$1, {
|
|
22807
|
-
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
22845
|
+
icon: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(DouyinShareIcon, { size: 48 }),
|
|
22808
22846
|
value: props.data.statistics.share_count
|
|
22809
22847
|
})
|
|
22810
22848
|
]
|
|
@@ -23060,22 +23098,22 @@ var DouyinDynamicStatus = (props) => {
|
|
|
23060
23098
|
className: "flex gap-6 items-center text-5xl tracking-normal select-text text-foreground/70",
|
|
23061
23099
|
children: [
|
|
23062
23100
|
{
|
|
23063
|
-
icon:
|
|
23101
|
+
icon: DouyinLikeIcon,
|
|
23064
23102
|
value: dianzan,
|
|
23065
23103
|
label: "点赞"
|
|
23066
23104
|
},
|
|
23067
23105
|
{
|
|
23068
|
-
icon:
|
|
23106
|
+
icon: DouyinCommentIcon,
|
|
23069
23107
|
value: pinglun,
|
|
23070
23108
|
label: "评论"
|
|
23071
23109
|
},
|
|
23072
23110
|
{
|
|
23073
|
-
icon:
|
|
23111
|
+
icon: DouyinFavoriteIcon,
|
|
23074
23112
|
value: shouchang,
|
|
23075
23113
|
label: "收藏"
|
|
23076
23114
|
},
|
|
23077
23115
|
{
|
|
23078
|
-
icon:
|
|
23116
|
+
icon: DouyinShareIcon,
|
|
23079
23117
|
value: share,
|
|
23080
23118
|
label: "分享"
|
|
23081
23119
|
}
|
|
@@ -23085,7 +23123,7 @@ var DouyinDynamicStatus = (props) => {
|
|
|
23085
23123
|
className: "flex gap-2 items-end",
|
|
23086
23124
|
children: [
|
|
23087
23125
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, {
|
|
23088
|
-
size:
|
|
23126
|
+
size: 46,
|
|
23089
23127
|
weight: "fill",
|
|
23090
23128
|
className: "mt-2"
|
|
23091
23129
|
}),
|
|
@@ -23245,19 +23283,19 @@ var DouyinDynamicFooter = (props) => {
|
|
|
23245
23283
|
className: "text-3xl flex gap-6 items-center text-foreground/70",
|
|
23246
23284
|
children: [
|
|
23247
23285
|
{
|
|
23248
|
-
icon:
|
|
23286
|
+
icon: DouyinLikeIcon,
|
|
23249
23287
|
iconSize: 36,
|
|
23250
23288
|
label: "获赞",
|
|
23251
23289
|
value: 获赞
|
|
23252
23290
|
},
|
|
23253
23291
|
{
|
|
23254
|
-
icon: o$
|
|
23292
|
+
icon: o$3,
|
|
23255
23293
|
iconSize: 36,
|
|
23256
23294
|
label: "关注",
|
|
23257
23295
|
value: 关注
|
|
23258
23296
|
},
|
|
23259
23297
|
{
|
|
23260
|
-
icon: r
|
|
23298
|
+
icon: r,
|
|
23261
23299
|
iconSize: 36,
|
|
23262
23300
|
label: "粉丝",
|
|
23263
23301
|
value: 粉丝
|
|
@@ -25266,10 +25304,11 @@ var convertAnsiToHtml = (text) => {
|
|
|
25266
25304
|
let currentStyles = { classes: [] };
|
|
25267
25305
|
let match;
|
|
25268
25306
|
const escapeHtml = (str) => str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
25307
|
+
const formatLogContent = (content) => escapeHtml(content).replace(/([\u3400-\u9fff\uf900-\ufaff\u3000-\u303f\uff00-\uffef]+)/g, "<span class=\"font-[HarmonyOSHans-Regular]\">$1</span>");
|
|
25269
25308
|
const makeSpan = (content) => {
|
|
25270
25309
|
const hasClass = currentStyles.classes.length > 0, hasInline = currentStyles.inlineColor;
|
|
25271
|
-
if (!hasClass && !hasInline) return
|
|
25272
|
-
return `<span${hasClass ? ` class="${currentStyles.classes.join(" ")}"` : ""}${hasInline ? ` style="color: ${currentStyles.inlineColor}"` : ""}>${
|
|
25310
|
+
if (!hasClass && !hasInline) return formatLogContent(content);
|
|
25311
|
+
return `<span${hasClass ? ` class="${currentStyles.classes.join(" ")}"` : ""}${hasInline ? ` style="color: ${currentStyles.inlineColor}"` : ""}>${formatLogContent(content)}</span>`;
|
|
25273
25312
|
};
|
|
25274
25313
|
while ((match = ansiRegex.exec(text)) !== null) {
|
|
25275
25314
|
if (match.index > lastIndex) result += makeSpan(text.substring(lastIndex, match.index));
|
|
@@ -32592,7 +32631,7 @@ var webConfig = defineConfig({
|
|
|
32592
32631
|
}]
|
|
32593
32632
|
},
|
|
32594
32633
|
page: {
|
|
32595
|
-
url: process.env.NODE_ENV === "development" ? "http://
|
|
32634
|
+
url: process.env.NODE_ENV === "development" ? "http://localhost:5176/kkk/assets/karin-config" : "/kkk/assets/karin-config",
|
|
32596
32635
|
title: "kkk插件配置管理",
|
|
32597
32636
|
description: "使用 kkk 插件自带的配置管理页面"
|
|
32598
32637
|
}
|